It is a G4 tiff compression not JPEG... On Tuesday, 2 July 2019 15:36:19 UTC-4, zdenop wrote: > > I guess you have tiff with jpeg compression > <https://github.com/tesseract-ocr/tesseract/blame/0ac59df5f66670da3647109e9daedd43b8418fac/src/api/baseapi.cpp#L1154>... > > You need to use the latest tesseract code and leptonica >1.77 > > Zdenko > > > ut 2. 7. 2019 o 21:22 Laurent Sabourin <[email protected] > <javascript:>> napĂsal(a): > >> I am using tesseract to extract text from a multi page tiff image, but I >> only want to process the second page. I am using the following command: >> >> tesseract.exe FILE.TIF OUT --tessdata-dir ."\tessdata" -l eng --psm 1 >> --oem 1 -c tessedit_page_number=1 >> >> For some reason it always processes the first page no matter what page >> number I put in the option. If I remove that option, it processes all the >> pages. >> >> Is it a known issue? Am I doing it wrong? >> >> Thank you. >> >> See below for details on my environment: >> >> Operating system: >> Windows 10 Enterprise 1903 10.0.18362.175 Client >> >> Here is my version output: >> tesseract --version >> tesseract 4.0.0 >> leptonica-1.76.0 (May 30 2019, 11:18:56) [MSC v.1916 LIB Release x86] >> libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 2.0.1) : libpng 1.6.37 : >> libtiff 4.0.10 : zlib 1.2.11 >> Found AVX >> Found SSE >> >> -- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/tesseract-ocr. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/3aa29162-5364-4cc2-9d37-44fe96248433%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/3aa29162-5364-4cc2-9d37-44fe96248433%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >
-- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/b827010b-6012-4e21-8847-cbb275d88a36%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

