Libraryless. Click here for Pure Java version (4444L/30K/101K).
1 | !752 |
2 | |
3 | sS images = "#1005902 #1005903 #1005904 #1005905"; |
4 | |
5 | static new Set<S> visible; |
6 | |
7 | p { |
8 | new ShootLoop { |
9 | void recognize { |
10 | selections.clear(); |
11 | |
12 | for (S imageID : splitAtSpace(images)) { |
13 | L<Rect> l = findImageAll(imageID); |
14 | selections.addAll(l); |
15 | addOrRemove(visible, imageID, nempty(l)); |
16 | } |
17 | |
18 | showThumbnail(); |
19 | printStruct("visible", asList(visible)); |
20 | } |
21 | }.run(); |
22 | } |
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: | #1005925 |
Snippet name: | Look for some images on screen, reason about them |
Eternal ID of this version: | #1005925/1 |
Text MD5: | 0fdcc983ade5bfe16afa5c48a7788934 |
Transpilation MD5: | 821d7aec400ef95a5bcba488c55f807e |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-12 21:16:27 |
Source code size: | 458 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 573 / 709 |
Referenced in: | [show references] |