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

25
LINES

< > BotCompany Repo | #1006333 // ocr_recognizeMultiLine

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7635L/51K).

sbool ocr_recognizeMultiLine_showImage;

static L<S> ocr_recognizeMultiLine(RGBImage img) {
  BWImage bw = new BWImage(img);
  img = null;
  ret ocr_recognizeMultiLine(bw);
}

static L<S> ocr_recognizeMultiLine(BWImage bw) {
  ret mapMethod('text, ocr_recognizeMultiLine_scored(bw));
}

static L<S> ocr_recognizeMultiLine(BWImage bw, L<Rect> rects) {
  ret mapMethod('text, ocr_recognizeMultiLine_scored(bw, simpleRecognizer(), rects));
}

static L<S> ocr_recognizeMultiLine(BufferedImage img, L<Rect> rects) {
  ret ocr_recognizeMultiLine(new BWImage(img), rects);
}

static L<S> ocr_recognizeMultiLine(BufferedImage img) {
  BWImage bw = new BWImage(img);
  img = null;
  ret ocr_recognizeMultiLine(bw);
}

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: 624 / 694
Version history: 11 change(s)
Referenced in: #1006339 - ocr_recognizeTextClips
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015273 - ocr_recognizeMultiLine_scored