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

8
LINES

< > BotCompany Repo | #1015120 // segmentScreenToCacheFile

JavaX fragment (include)

static L<RectAndMD5> segmentScreenToCacheFile() {
  new L<RectAndMD5> out;
  BWImage bwScreenShot = shootScreenBW();
  for (Rect r : autoSegment(bwScreenShot))
    out.add(RectAndMD5(r, rgbMD5(bwScreenShot.clip(r).toRGB())));
  saveTextFile(segmentedScreenCacheFile(), struct(out));
  ret out;
} 

Author comment

Began life as a copy of #1015118

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015120
Snippet name: segmentScreenToCacheFile
Eternal ID of this version: #1015120/5
Text MD5: 2172226592440f025fdf3a03ad18d793
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-08 14:57:14
Source code size: 303 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 409 / 453
Version history: 4 change(s)
Referenced in: [show references]