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).

svoid test_OneColorChecker() {
  //var img = shootScreen2();
  //var img = whiteImage(100, 100);
  var img = bwImageFromFunction(32, () -> random());
  //var img = new CheckerBoard;
  //img.cols = img.rows = 2;
  showImage(img);
  
  new OneColorTheoryChecker ot;
  var root = uRoot(img);
  var theory = ot.makeTheory(root);
  stepWithStats(64, ot.scheduler);
  print(theory.toStringWithEvidence());
}

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: 80 / 121
Version history: 1 change(s)
Referenced in: [show references]