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

33
LINES

< > BotCompany Repo | #1006359 // OCR Pouet [dev.]

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

Libraryless. Click here for Pure Java version (9020L/63K/207K).

1  
!7
2  
3  
static RGBImage img;
4  
static L<Rect> clips;
5  
6  
CFile > Report {
7  
  Map vars;
8  
  
9  
  *() {}
10  
  *(Map vars) {
11  
    makeDefaultName("txt");
12  
    saveGZStructureToFile(file(), vars);
13  
  }
14  
}
15  
16  
p {
17  
  img = rgbShootScreenHidingConsole();
18  
  clips = concatLists(
19  
    areasColored(img, 0x446688),
20  
    areasColored(img, 0x557799));
21  
  showImageWithSelections(img, clips);
22  
  
23  
  report(
24  
    programID := programID(),
25  
    Screenshot := img,
26  
    "Clips found" := clips);
27  
}
28  
29  
svoid report(O... params) {
30  
  conceptsAndBot();
31  
  Report report = new Report(litorderedmap(params));
32  
  print("Report saved! " + report.file());
33  
}

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: #1006359
Snippet name: OCR Pouet [dev.]
Eternal ID of this version: #1006359/1
Text MD5: 589adcc5400aec2b9a73025ebb27f925
Transpilation MD5: 11d7b7fa872c0e7409b389eeaff89eb9
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-29 17:46:25
Source code size: 628 bytes / 33 lines
Pitched / IR pitched: No / No
Views / Downloads: 548 / 585
Referenced in: [show references]