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

18
LINES

< > BotCompany Repo | #1005395 // Search for all known images on screen with similarity 0.999 [works]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (5793L/38K/125K).

1  
!752
2  
3  
concepts.
4  
5  
!include #1005393 // Marked Screenshot Classes
6  
7  
p {
8  
  BWImage screen = shootScreenBW();
9  
  loadConceptsFrom("#1005389");
10  
  float similarity = 0.999f;
11  
  long start = now();
12  
  for (MarkedClip clip) time {
13  
    print("Searching: " + clip.description + "...");
14  
    bwRawImageSearch_verbose = true;
15  
    bwRawImageSearch(screen, clip.img, similarity);
16  
  }
17  
  done(start, "Total");
18  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005395
Snippet name: Search for all known images on screen with similarity 0.999 [works]
Eternal ID of this version: #1005395/1
Text MD5: e80661b1e261dcc57038d6b344b6d75f
Transpilation MD5: 936940303dc8cd0c0c3e101cd8d51c16
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-18 18:27:04
Source code size: 407 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 623 / 714
Referenced in: [show references]