Libraryless. Click here for Pure Java version (5090L/35K/119K).
1 | !7 |
2 | |
3 | p {
|
4 | final BWImage img = shootScreenBW(); |
5 | L<Rect> l = autoSegment(img, 3); |
6 | |
7 | // Look for the "TinyBrain" link on page. |
8 | |
9 | for (Rect r : rectsSized(l, 106, 21)) {
|
10 | S md5 = md5OfBWImage(img.clip(r)); |
11 | if (eq(md5, "00a0e5c8018efaf6f196b6f3f82f3a28")) {
|
12 | Rect r2 = ocr_stepToTheRight(r, l); |
13 | Rect r3 = ocr_stepToTheRight(r2, l); |
14 | if (r3 == null) print("No ID found");
|
15 | else showBWImage("Possible ID", img.clip(r3));
|
16 | } |
17 | } |
18 | } |
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: | 737 / 851 |
| Referenced in: | [show references] |