Uses 108K of libraries. Click here for Pure Java version (15904L/119K).
1 | !7 |
2 | |
3 | module OCR { |
4 | transient ImageSurface is; |
5 | |
6 | start { |
7 | setMainDesktopPane(null); // separate frames is less confusing |
8 | } |
9 | |
10 | visual |
11 | withCenteredButtons( |
12 | jscroll(is = imageSurfaceWithStandardOperations()), |
13 | "Invert", rThread { invertImageSurface(is) }, |
14 | "Recognize", rThread recognize); |
15 | |
16 | void recognize { |
17 | new OCRRecognizeAndTeach(is.getImage()); |
18 | } |
19 | |
20 | // API |
21 | |
22 | SimpleRecognizer recognizer() enter { |
23 | ret filledSimpleRecognizer_cached(); |
24 | } |
25 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016909 |
Snippet name: | Recognize Text On Image [Dyn Module] |
Eternal ID of this version: | #1016909/13 |
Text MD5: | 6a10648fcbcdafe0e040e82c8f8b4c71 |
Transpilation MD5: | 269aa842fc115a6fef9ebb2567d820f2 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-19 20:20:11 |
Source code size: | 510 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 566 / 4305 |
Version history: | 12 change(s) |
Referenced in: | [show references] |