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

11
LINES

< > BotCompany Repo | #1006212 // Grab snippet text area from screen

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

Libraryless. Click here for Pure Java version (4775L/33K/111K).

!752

p {
  RGBImage img = shootScreen();
  Rect r = biggestAreaColored(img, new Color(0xEEEEEE));
  if (r == null)
    print("Not found");
  else
    showZoomedImage(img.clip(r), 0.5);
  showRunMainAgainButton();
}

Author comment

Began life as a copy of #1006203

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: #1006212
Snippet name: Grab snippet text area from screen
Eternal ID of this version: #1006212/1
Text MD5: 77967d73509a4d20e0f8181e74e6a766
Transpilation MD5: c852d6e8a635260e444acc63989ac3a1
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-23 14:50:10
Source code size: 225 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 449 / 561
Referenced in: