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

15
LINES

< > BotCompany Repo | #1006334 // Find snippet source on screen, recognize, step 1

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

Download Jar. Libraryless. Click here for Pure Java version (9886L/69K).

!7

p {
  RGBImage img = rgbShootScreenHidingConsole();
  Rect r = ocr_findSnippetSource(img);
  
  if (r == null) {
    print("No snippet source found.");
  }
  print("Scanning: " + r);

  img = img.clip(r);  
  L<S> lines = ocr_recognizeMultiLine(img);
  printNumbered(lines);
}

Author comment

Began life as a copy of #1006166

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006334
Snippet name: Find snippet source on screen, recognize, step 1
Eternal ID of this version: #1006334/2
Text MD5: 054882b47d4693e390c64d4a2e81b994
Transpilation MD5: eed8fd714fc35cd0e4033f1008265302
Author: stefan
Category: javax / ocr
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 23:48:46
Source code size: 294 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 560 / 1040
Version history: 1 change(s)
Referenced in: [show references]