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

13
LINES

< > BotCompany Repo | #1015485 // Find blue terminal $ on screen using simple scan [dev. 2]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9401L/64K).

1  
!7
2  
3  
static float contrast = 2.1f, brightness = -130f;
4  
5  
p-experiment {
6  
  S clipID = #1101260;
7  
  RGBImage clip = rgbContrastAndBrightness(contrast, brightness, loadRGBImage(clipID));
8  
  RGBImage img = rgbContrastAndBrightness(contrast, brightness, loadRGBImage(/*#1101257*/#1101261);
9  
  L<FoundImg> l = rgbRawImageSearch_quick(img, clip, 0.93f, 10000);
10  
  pnl(l);
11  
  L<Rect> rects = collect('r, l);
12  
  showImageWithSelections(img, rects);
13  
}

Author comment

Began life as a copy of #1015481

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: #1015485
Snippet name: Find blue terminal $ on screen using simple scan [dev. 2]
Eternal ID of this version: #1015485/15
Text MD5: 9d8537bc4158569cd291402dd72b8138
Transpilation MD5: 46893872713f83623275b5eb6aa3a257
Author: stefan
Category: javax / ocr
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-15 02:08:34
Source code size: 445 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 1036
Version history: 14 change(s)
Referenced in: [show references]