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

10
LINES

< > BotCompany Repo | #1015495 // Find terminal (OK)

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

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

!7

p {
  BufferedImage img = shootScreen2();
  Rect r = ocr_findTerminalBackground(new RGBImage(img));
  if (r != null)
    showImage(rgb332(clipBufferedImage(img, r)));
  else
    print("no terminal");
}

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: #1015495
Snippet name: Find terminal (OK)
Eternal ID of this version: #1015495/4
Text MD5: f126be53cc228b38a29db628e2dce834
Transpilation MD5: 123409b5d0f3654f485b748b763b3628
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 02:59:22
Source code size: 214 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 733
Version history: 3 change(s)
Referenced in: [show references]