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

17
LINES

< > BotCompany Repo | #1005393 // Marked Screenshot Classes

JavaX fragment (include)

concept Screenshot {
  *() {} // for persistance
  *(BufferedImage img) {
    savePNG(pngFile(), img);
  }
  
  File pngFile() {
    ret prepareProgramFile("screenshot" + id + ".png");
  }
}

concept MarkedClip {
  Screenshot screenshot; // hmm...
  Rect positionInScreenshot;
  BWImage img;
  S description;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005393
Snippet name: Marked Screenshot Classes
Eternal ID of this version: #1005393/1
Text MD5: 2764171eef19542c4dab81a108a4c6b6
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-02 20:36:47
Source code size: 328 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 598 / 1246
Referenced in: #1005389 - Mark Screenshot Sections [works]
#1005395 - Search for all known images on screen with similarity 0.999 [works]
#1005442 - Test alternative image comparator
#1005679 - Marked Screenshot Classes v2