Libraryless. Click here for Pure Java version (4363L/29K/98K).
!752 p { BWImage img = shootScreenBW(); int g = 3; L<Rect> clips = autoSegment(img, g); new L<Rect> chars; for (Rect r : clips) for (Rect c : horizontalAutoSplit2(img.clip(r))) chars.add(translateRect(c, r.x, r.y)); setFrameTitle("g = " + g, showImageWithSelections(img.getBufferedImage(), chars)); }
Began life as a copy of #1005841
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005845 |
Snippet name: | Try auto-finding characters |
Eternal ID of this version: | #1005845/1 |
Text MD5: | 223926a9fc2cbf6e65d01b2114be98bf |
Transpilation MD5: | b5277b80d5f275fc963d6608df0b7ff8 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-11 18:03:00 |
Source code size: | 342 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 480 / 642 |
Referenced in: | [show references] |