Libraryless. Click here for Pure Java version (4272L/29K/99K).
1 | !7 |
2 | |
3 | p { |
4 | blackHigh_maxBrightness = wideBlack_maxBrightness = 0.12f; |
5 | |
6 | RGBImage rgb = loadImage(#1006358); |
7 | L<Rect> clips = ocr_wideBlack_vsplit(rgb); |
8 | |
9 | new L<RGBImage> images; |
10 | for (Rect r : clips) { |
11 | RGBImage line = rgb.clip(r); |
12 | L<Rect> lineClips = ocr_highBlack_hsplit(line); |
13 | |
14 | new L<RGBImage> lineImages; |
15 | for (Rect r2 : lineClips) { |
16 | RGBImage cell = line.clip(r2); |
17 | if (rgbTall(cell, 2)) { |
18 | L<Rect> cellClips = ocr_wideBlack_vsplit(cell); |
19 | lineImages.add(mergeImagePartsVertically(cell, cellClips)); |
20 | } else |
21 | lineImages.add(cell); |
22 | } |
23 | |
24 | images.add(mergeImagesHorizontally(lineImages)); |
25 | //images.add(mergeImagePartsHorizontally(line, lineClips)); |
26 | } |
27 | |
28 | showImage(mergeImagesVertically(images; |
29 | } |
Began life as a copy of #1006383
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006389 |
Snippet name: | Find Scroll Bar 3 - find positions too |
Eternal ID of this version: | #1006389/1 |
Text MD5: | 5b4524a9afe0966318bc94e6d4ccacd8 |
Transpilation MD5: | 07c5ce5bdf9e18145c92f5eefe7c1269 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-30 00:27:59 |
Source code size: | 797 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 515 / 607 |
Referenced in: | [show references] |