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

1  
!7
2  
3  
cmodule OptimizeMLR > DynPrintLog {
4  
  transient MultiLevelRecognizer2 rec;
5  
  transient Rect expected = rect(240, 8, 60, 52);
6  
  
7  
  start-thread {
8  
    rec = new MultiLevelRecognizer2(loadImageAsFile(#1102888));
9  
    rec.addPrototype(loadImageAsFile(#1102886));
10  
    rec.widths.add(256);
11  
    Scored<Rect> result = print(rec.go());
12  
    //showImageWithSelection(rec.baseImage, result!);
13  
    assertEqualsVerbose(expected, result!);
14  
    result = print(rec.go());
15  
    assertEqualsVerbose(expected, result!);
16  
  }
17  
}

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: 226 / 1143
Version history: 5 change(s)
Referenced in: [show references]