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

!7

static RGBImage img;
static L<Rect> clips;

CFile > Report {
  Map vars;
  
  *() {}
  *(Map vars) {
    makeDefaultName("txt");
    saveGZStructureToFile(file(), vars);
  }
}

p {
  img = rgbShootScreenHidingConsole();
  clips = concatLists(
    areasColored(img, 0x446688),
    areasColored(img, 0x557799));
  showImageWithSelections(img, clips);
  
  report(
    programID := programID(),
    Screenshot := img,
    "Clips found" := clips);
}

svoid report(O... params) {
  conceptsAndBot();
  Report report = new Report(litorderedmap(params));
  print("Report saved! " + report.file());
}

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: 561 / 600
Referenced in: [show references]