Download Jar. Libraryless. Click here for Pure Java version (6474L/46K).
1 | !7 |
2 | |
3 | p { |
4 | final RGBImage img = shootScreen(); |
5 | final L<Rect> rects = autoSegment(img); |
6 | final ImageSurface is = showImageWithSelections(img, rects); |
7 | final Var<Rect> highlighted = showImageWithSelections_highlighted; |
8 | is.specialPurposed = true; |
9 | |
10 | ImageSurface isH = null; |
11 | Rect last = null; |
12 | repeat with sleep 1 { |
13 | Rect r = highlighted!; |
14 | if (neq(last, r)) { |
15 | last = r; |
16 | isH = show332Histogram(img.clip(r), isH); |
17 | } |
18 | } |
19 | } |
Began life as a copy of #1010714
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: | #1010901 |
Snippet name: | Auto-segment current screen, show 332 histogram |
Eternal ID of this version: | #1010901/2 |
Text MD5: | da5f669ccff510fb946f87c2dc7123de |
Transpilation MD5: | 2ce7c7798e67ec01f6559e6587764fe1 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-06 03:22:42 |
Source code size: | 467 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 594 / 2281 |
Version history: | 1 change(s) |
Referenced in: | [show references] |