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

16
LINES

< > BotCompany Repo | #1004063 // Test Line Finder (Eye) - WORKS

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

Uses 5262K of libraries. Click here for Pure Java version (1506L/11K/37K).

!752

lib 1003956 // TinyBrain sources from 2015-2-16

import eyedev._14.LineFinder;
import eyedev._09.Segment;
import prophecy.common.image.BWImage;

p {
  BWImage img = new BWImage(loadImg("#1004061"));
  L<Segment> segments = new LineFinder().segment(img);
  
  final L<Rectangle> rects = collect(segments, "boundingBox");
  psl(rects);
  tbShowImageAndRects(img, rects);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004063
Snippet name: Test Line Finder (Eye) - WORKS
Eternal ID of this version: #1004063/1
Text MD5: 57859fe04eb0f11ac1274cdf77527949
Transpilation MD5: e77e1e9e0748329836ce076f4671ae65
Author: stefan
Category: javax / ocr
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-05 13:44:54
Source code size: 391 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 528 / 601
Referenced in: [show references]