1 | static L<RectAndMD5> segmentScreenToCacheFile() { |
2 | new L<RectAndMD5> out; |
3 | BWImage bwScreenShot = shootScreenBW(); |
4 | for (Rect r : autoSegment(bwScreenShot)) |
5 | out.add(RectAndMD5(r, rgbMD5(bwScreenShot.clip(r).toRGB()))); |
6 | saveTextFile(segmentedScreenCacheFile(), struct(out)); |
7 | ret out; |
8 | } |
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: | 410 / 454 |
Version history: | 4 change(s) |
Referenced in: | [show references] |