Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1006413 // Find closest thing to XP close icon on screen

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (5682L/39K/131K).

!7

p {
  new ShootLoop {
    void recognize {
      FoundImg fi = bwImageSearch_best(screen, loadBWImage_cached(#1005902), 0f);
      setSelection(fi);
      if (fi != null)
        quickShowZoomedImage(clipBufferedImage(originalScreen, fi.r));
    }
  }.run/*WithThumbnails*/();
}

Author comment

Began life as a copy of #1005885

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006413
Snippet name: Find closest thing to XP close icon on screen
Eternal ID of this version: #1006413/1
Text MD5: 5e029f3914a060ae0e67523b12c757b0
Transpilation MD5: dce66eb0734dd42b089991d5f85d9589
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-01 19:19:19
Source code size: 293 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 571 / 691
Referenced in: #1006417 - ocr_findClosestThingTo - look for something similar to an image on screen