Download Jar. Uses 3874K of libraries. Click here for Pure Java version (9673L/66K).
!7 p-experiment { S clipID = #1101260; RGBImage clip = loadRGBImage(clipID); RGBImage img = loadRGBImage(/*#1101257*/#1101258); L<FoundImg> l = findImageAll2(new BWImage(img), clipID, 0.85f); pnl(l); L<Rect> rects = collect('r, l); new L<Rect> rects2; for (Rect r : rects) { float sim = 1-rgbDistance(img.clip(r), clip); print(r + " => " + toIntPercent(sim) + "%"); if (sim >= 0.85) rects2.add(r); } showImageWithSelections(img, rects); }
Began life as a copy of #1015466
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: | #1015481 |
Snippet name: | Find blue terminal $ on screen using simple scan |
Eternal ID of this version: | #1015481/11 |
Text MD5: | b34c94f7bf26437b8ed09c03568bbacc |
Transpilation MD5: | f69adb13c3b6b515b95ec3beccdee5a6 |
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 01:40:29 |
Source code size: | 487 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 475 / 1149 |
Version history: | 10 change(s) |
Referenced in: | #1015485 - Find blue terminal $ on screen using simple scan [dev. 2] #1015493 - Find blue terminal $ on screen using grid [dev. 3] |