Libraryless. Click here for Pure Java version (5496L/35K/119K).
1 | !752 |
2 | |
3 | concepts. |
4 | |
5 | !include #1005686 // PIF Classes v2 |
6 | |
7 | p { |
8 | loadConceptsFrom("#1005676"); |
9 | |
10 | //new ImageFinder(list(Screenshot), list(Clip)).run(); |
11 | print("#found = " + countConcepts(Found)); |
12 | |
13 | while licensed { |
14 | TransientScreenshot t = unlisted(TransientScreenshot, shootScreen2()); |
15 | time { |
16 | setConsoleIcon("#1005541"); |
17 | ImageFinder finder = new ImageFinder(ll(t/Screenshot), list(Clip)); |
18 | finder.maxTotal = 1; // one clip found is enough |
19 | finder.run(); |
20 | setConsoleIcon(null); |
21 | } |
22 | t.disposeImage(); |
23 | print("#found = " + countConcepts(Found)); |
24 | setConsoleTitle((hasBackRef(Found, t) ? "FOUND" : "NOT FOUND") + " - " + getProgramTitle()); |
25 | sleepSeconds(5); |
26 | } |
27 | } |
Began life as a copy of #1005676
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005685 |
Snippet name: | Test ImageFinder on Start Button [dev.] |
Eternal ID of this version: | #1005685/1 |
Text MD5: | fb65599f472c7da908e5b2f0d5af0577 |
Transpilation MD5: | d830c476b07d2a8a1fd2af93f08bf395 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-03 21:48:27 |
Source code size: | 738 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 552 / 783 |
Referenced in: | [show references] |