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

17
LINES

< > BotCompany Repo | #1027259 // Optimize MultiLevelRecognizer2 [dev.]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (6527L/35K).

!7

cmodule OptimizeMLR > DynPrintLog {
  transient MultiLevelRecognizer2 rec;
  transient Rect expected = rect(240, 8, 60, 52);
  
  start-thread {
    rec = new MultiLevelRecognizer2(loadImageAsFile(#1102888));
    rec.addPrototype(loadImageAsFile(#1102886));
    rec.widths.add(256);
    Scored<Rect> result = print(rec.go());
    //showImageWithSelection(rec.baseImage, result!);
    assertEqualsVerbose(expected, result!);
    result = print(rec.go());
    assertEqualsVerbose(expected, result!);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027259
Snippet name: Optimize MultiLevelRecognizer2 [dev.]
Eternal ID of this version: #1027259/6
Text MD5: 3ebd7dfdb1b5f9bb79d6746ea9d6834a
Transpilation MD5: cf49b2f55d52294ef719e62082be657c
Author: stefan
Category: javax / image recognition
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-27 19:10:46
Source code size: 523 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 224 / 1139
Version history: 5 change(s)
Referenced in: [show references]