Libraryless. Click here for Pure Java version (5090L/35K/119K).
!7 p { final BWImage img = shootScreenBW(); L<Rect> l = autoSegment(img, 3); // Look for the "TinyBrain" link on page. for (Rect r : rectsSized(l, 106, 21)) { S md5 = md5OfBWImage(img.clip(r)); if (eq(md5, "00a0e5c8018efaf6f196b6f3f82f3a28")) { Rect r2 = ocr_stepToTheRight(r, l); Rect r3 = ocr_stepToTheRight(r2, l); if (r3 == null) print("No ID found"); else showBWImage("Possible ID", img.clip(r3)); } } }
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: | #1006446 |
| Snippet name: | Find (undecoded) ID of snippet in browser [works but is VERY picky] |
| Eternal ID of this version: | #1006446/1 |
| Text MD5: | 7dd2ccb088d26c87f223415b814ca5dc |
| Transpilation MD5: | 9c5bff5281f90b9a3e2d913372c62254 |
| 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 12:43:43 |
| Source code size: | 478 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 739 / 855 |
| Referenced in: | -