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

10
LINES

< > BotCompany Repo | #1015505 // Find terminal, show inverted

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

Download Jar. Libraryless. Click here for Pure Java version (8638L/61K).

!7

p {
  BufferedImage img = shootScreen2();
  Rect r = ocr_findTerminalBackground(new RGBImage(img));
  if (r == null) ret with print("no terminal");
  final BufferedImage terminal = clipBufferedImage(img, r);
  ocr_terminalInvert1(terminal);
  showImage(terminal);
}

Author comment

Began life as a copy of #1015503

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015505
Snippet name: Find terminal, show inverted
Eternal ID of this version: #1015505/3
Text MD5: 5ec01d874ac6671f6da7d511cf82b49d
Transpilation MD5: bc5c68dd46ffee832e2cb7a08c096542
Author: stefan
Category: javax / imaging
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-15 03:43:18
Source code size: 278 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 781
Version history: 2 change(s)
Referenced in: [show references]