1 | svoid ocr_findClosestThingTo(final S imageID) { |
2 | new ShootLoop { |
3 | void recognize { |
4 | FoundImg fi = bwImageSearch_best(screen, loadBWImage_cached(imageID), 0f); |
5 | setSelection(fi); |
6 | if (fi != null) |
7 | quickShowZoomedImage(clipBufferedImage(originalScreen, fi.r)); |
8 | } |
9 | }.run/*WithThumbnails*/(); |
10 | } |
Began life as a copy of #1006413
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: | #1006417 |
Snippet name: | ocr_findClosestThingTo - look for something similar to an image on screen |
Eternal ID of this version: | #1006417/1 |
Text MD5: | e0aca805c0256ee313428f454dfa00be |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-01 19:42:25 |
Source code size: | 330 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 498 / 514 |
Referenced in: | [show references] |