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

9
LINES

< > BotCompany Repo | #1006161 // screenQuickSelect, auto-segment

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

Libraryless. Click here for Pure Java version (5535L/38K/128K).

!752

p {
  screenQuickSelect(voidfunc(BufferedImage screen, Rect r) {
    r = intersectRects(new Rect(0, 0, screen.getWidth(), screen.getHeight()), growRect(r, 20));
    BufferedImage img = clipBufferedImage(screen, r);
    showImageWithSelections(img, autoSegment(img));
  });
}

Author comment

Began life as a copy of #1006160

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: #1006161
Snippet name: screenQuickSelect, auto-segment
Eternal ID of this version: #1006161/1
Text MD5: 77a77d2cd0cb1e49cf40edb5f85e53f0
Transpilation MD5: c5f2d3a8893f7c46e0f0de9fee601f7d
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-22 00:00:15
Source code size: 288 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 523
Referenced in: [show references]