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

!752

lib 1003956 // TinyBrain

import eye.eye05.RecognizableImage;
import eyedev._14.LineFinder;
import eyedev._09.Segment;
import eyedev._09.FlexibleSegmenter;
import eyedev._21.Corrections;
import eyedev._21.Correction;
import prophecy.common.image.BWImage;
import prophecy.common.image.RGBImage;

p {
  RGBImage img = new RGBImage(loadImg("#1004061"));
  
  RecognizableImage ri = new RecognizableImage(img);
  
  new Corrections corrections;
  corrections.add(new Correction(new Rectangle(10, 10, 30, 30), "bla"));
  ri.setCorrections(corrections);
  ri.repaintImageSurface();

  showFrame(ri);
}

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