From 3a7438131837c051a772581176951dc5c0c1cf79 Mon Sep 17 00:00:00 2001 From: Abhinav Shukla Date: Thu, 21 Jul 2016 16:13:59 -0700 Subject: [PATCH] Modifying API call not present in tesseract 3.03 --- src/lib_ccx/ocr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_ccx/ocr.c b/src/lib_ccx/ocr.c index aafd1ada..9f152f3a 100644 --- a/src/lib_ccx/ocr.c +++ b/src/lib_ccx/ocr.c @@ -418,7 +418,7 @@ char* ocr_bitmap(void* arg, png_color *palette,png_byte *alpha, unsigned char* i h0=h; - } while (TessResultIteratorNext(ri,level)); + } while (TessPageIteratorNext((TessPageIterator *)ri,level)); // char *substr = ""; // char *text_out_copy = strdup(text_out);