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

25
LINES

< > BotCompany Repo | #1004066 // Test RecognizableImage (Eye)

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

Uses 5262K of libraries. Click here for Pure Java version (1055L/8K/26K).

1  
!752
2  
3  
lib 1003956 // TinyBrain
4  
5  
import eye.eye05.RecognizableImage;
6  
import eyedev._14.LineFinder;
7  
import eyedev._09.Segment;
8  
import eyedev._09.FlexibleSegmenter;
9  
import eyedev._21.Corrections;
10  
import eyedev._21.Correction;
11  
import prophecy.common.image.BWImage;
12  
import prophecy.common.image.RGBImage;
13  
14  
p {
15  
  RGBImage img = new RGBImage(loadImg("#1004061"));
16  
  
17  
  RecognizableImage ri = new RecognizableImage(img);
18  
  
19  
  new Corrections corrections;
20  
  corrections.add(new Correction(new Rectangle(10, 10, 30, 30), "bla"));
21  
  ri.setCorrections(corrections);
22  
  ri.repaintImageSurface();
23  
24  
  showFrame(ri);
25  
}

Author comment

Began life as a copy of #1004065

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: #1004066
Snippet name: Test RecognizableImage (Eye)
Eternal ID of this version: #1004066/1
Text MD5: fd9ef3deb137d23fd94cf76810975b9b
Transpilation MD5: b1328fe34dea7d7493cd7b9f3610a57a
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 14:11:44
Source code size: 625 bytes / 25 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 557
Referenced in: [show references]