// g = grid size - typical values are 3 or 4 static L<Rect> autoSegment_blackBG(BWImage img, int g) { new AutoSegmenter as; as.blackBG = true; as.g = g; as.go(img); ret as.clips; } static L<Rect> autoSegment_blackBG(BWImage img) { ret autoSegment_blackBG(img, 3); } static L<Rect> autoSegment_blackBG(BufferedImage img) { ret autoSegment_blackBG(new BWImage(img)); }
Began life as a copy of #1005842
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: | #1006556 |
Snippet name: | autoSegment_blackBG - autoSegment optimized for black backgrounds |
Eternal ID of this version: | #1006556/1 |
Text MD5: | 9140afb19c3079ef389bed4ce7f75087 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-16 12:33:15 |
Source code size: | 397 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 536 / 530 |
Referenced in: | [show references] |