Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1032081 // test_OneColorChecker

JavaX fragment (include) [tags: use-pretranspiled]

Uses 108K of libraries. Click here for Pure Java version (15596L/97K).

1  
svoid test_OneColorChecker() {
2  
  //var img = shootScreen2();
3  
  //var img = whiteImage(100, 100);
4  
  var img = bwImageFromFunction(32, () -> random());
5  
  //var img = new CheckerBoard;
6  
  //img.cols = img.rows = 2;
7  
  showImage(img);
8  
  
9  
  new OneColorTheoryChecker ot;
10  
  var root = uRoot(img);
11  
  var theory = ot.makeTheory(root);
12  
  stepWithStats(64, ot.scheduler);
13  
  print(theory.toStringWithEvidence());
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032081
Snippet name: test_OneColorChecker
Eternal ID of this version: #1032081/2
Text MD5: 94a37861072b1d71b21149cb5e0fe51f
Transpilation MD5: c6e385a93c9b065278b3c8bf08582c32
Author: stefan
Category: javax / ultra-fast recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 12:50:06
Source code size: 414 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 216
Version history: 1 change(s)
Referenced in: [show references]