static L<Rect> horizontalAutoSplitThenAutoCrop(BWImage img) { ret horizontalAutoSplitThenAutoCrop(img, horizontalAutoSplit_threshold); } static L<Rect> horizontalAutoSplitThenAutoCrop(BWImage img, float threshold) { new L<Rect> l; for (Rect r : horizontalAutoSplit(img, threshold)) l.add(translateRect(autoCropOfBWImage(img.clip(r)), r.x, r.y)); ret l; }
Began life as a copy of #1005949
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018880 |
Snippet name: | horizontalAutoSplitThenAutoCrop |
Eternal ID of this version: | #1018880/3 |
Text MD5: | 5cb258c2f1ef87b244b223dcd69ba635 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-14 23:58:19 |
Source code size: | 376 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 329 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |