Libraryless. Click here for Pure Java version (7635L/51K).
1 | sbool ocr_recognizeMultiLine_showImage; |
2 | |
3 | static L<S> ocr_recognizeMultiLine(RGBImage img) { |
4 | BWImage bw = new BWImage(img); |
5 | img = null; |
6 | ret ocr_recognizeMultiLine(bw); |
7 | } |
8 | |
9 | static L<S> ocr_recognizeMultiLine(BWImage bw) { |
10 | ret mapMethod('text, ocr_recognizeMultiLine_scored(bw)); |
11 | } |
12 | |
13 | static L<S> ocr_recognizeMultiLine(BWImage bw, L<Rect> rects) { |
14 | ret mapMethod('text, ocr_recognizeMultiLine_scored(bw, simpleRecognizer(), rects)); |
15 | } |
16 | |
17 | static L<S> ocr_recognizeMultiLine(BufferedImage img, L<Rect> rects) { |
18 | ret ocr_recognizeMultiLine(new BWImage(img), rects); |
19 | } |
20 | |
21 | static L<S> ocr_recognizeMultiLine(BufferedImage img) { |
22 | BWImage bw = new BWImage(img); |
23 | img = null; |
24 | ret ocr_recognizeMultiLine(bw); |
25 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006333 |
Snippet name: | ocr_recognizeMultiLine |
Eternal ID of this version: | #1006333/12 |
Text MD5: | 3a85436c1e60d540aaf6a923d2c7a395 |
Transpilation MD5: | 034957aa47147a1968c5c7675b092153 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-05 22:55:18 |
Source code size: | 731 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 623 / 694 |
Version history: | 11 change(s) |
Referenced in: | [show references] |