Libraryless. Click here for Pure Java version (5152L/35K/122K).
!752 static ImageSurface is; p { final BWImage img = shootScreenBW(); int g = 3; setFrameTitle("g = " + g, is = showImageWithSelections(img.getBufferedImage(), autoSegment(img, g))); installTimer(is, 100, new Runnable { Rect lastRect; public void run() { Rect r = showImageWithSelections_highlighted.get(); if (neq(r, lastRect) && r != null) { lastRect = r; S md5 = md5OfBWImage(img.clip(r)); print(r + ", bw md5: " + md5); } } }); }
Began life as a copy of #1005836
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: | #1005841 |
Snippet name: | Test autoSegment with g = 3 [grid size: 3*3 pixels] |
Eternal ID of this version: | #1005841/1 |
Text MD5: | 40971d329f6e22f8327581af21fcd1e7 |
Transpilation MD5: | 72e8c7cd8a3eb0f66741f7811d2e8f1d |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-05 10:57:26 |
Source code size: | 528 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 532 / 679 |
Referenced in: | #1005845 - Try auto-finding characters |