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

9
LINES

< > BotCompany Repo | #1006203 // OCR: Find EEEEEE-colored areas on screen [snippet source code], mark all (see: areasColored)

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

Libraryless. Click here for Pure Java version (5223L/37K/122K).

!752

p {
  Color color = new Color(0xEEEEEE);
  RGBImage img = shootScreen();
  L<Rect> clips = areasColored(img, color);
  print(n(clips, "areas") + " found for color " + new RGB(color) + ": " + struct(clips));
  showScaledImageWithSelections(img, clips);
}

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: #1006203
Snippet name: OCR: Find EEEEEE-colored areas on screen [snippet source code], mark all (see: areasColored)
Eternal ID of this version: #1006203/1
Text MD5: 4d8ff3d1cc417a56b60cb5bbe2b26f68
Transpilation MD5: 03860977d3244b94eb9cc721c4805ec6
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-28 21:51:37
Source code size: 267 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 483 / 573
Referenced in: [show references]