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).

1  
!752
2  
3  
lib 1003956 // TinyBrain sources from 2015-2-16
4  
5  
import eyedev._14.LineFinder;
6  
import eyedev._09.Segment;
7  
import prophecy.common.image.BWImage;
8  
9  
p {
10  
  BWImage img = new BWImage(loadImg("#1004061"));
11  
  L<Segment> segments = new LineFinder().segment(img);
12  
  
13  
  final L<Rectangle> rects = collect(segments, "boundingBox");
14  
  psl(rects);
15  
  tbShowImageAndRects(img, rects);
16  
}

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: 530 / 605
Referenced in: [show references]