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

22
LINES

< > BotCompany Repo | #1005925 // Look for some images on screen, reason about them

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

Libraryless. Click here for Pure Java version (4444L/30K/101K).

!752

sS images = "#1005902 #1005903 #1005904 #1005905";

static new Set<S> visible;

p {
  new ShootLoop {
    void recognize {
      selections.clear();
      
      for (S imageID : splitAtSpace(images)) {
        L<Rect> l = findImageAll(imageID);
        selections.addAll(l);
        addOrRemove(visible, imageID, nempty(l));
      }
        
      showThumbnail();
      printStruct("visible", asList(visible));
    }
  }.run();
}

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: 572 / 706
Referenced in: [show references]