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

13
LINES

< > BotCompany Repo | #1006557 // Screen Lens with auto-segment

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

Uses 3874K of libraries. Click here for Pure Java version (8303L/59K/197K).

!7

static ScreenLens lens;

p-substance {
  lens = new ScreenLens;
  lens.postProcess = func(BufferedImage img) {
    BWImage bw = new BWImage(img);
    drawBoxes(img, rectsToRectangles(autoSegment(bw)), Color.red, 0.8f);
    ret img;
  };
  lens.start();
}

Author comment

Began life as a copy of #1006550

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006557
Snippet name: Screen Lens with auto-segment
Eternal ID of this version: #1006557/1
Text MD5: 7e10994ea7ff838652691c81cfc44613
Transpilation MD5: fd0c0c94e71ab87361a071fa72879ebc
Author: stefan
Category: javax / gui / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-24 13:11:58
Source code size: 270 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 465 / 557
Referenced in: [show references]