As you see: you build leptonica without any external image library (like png, jpg, tiff), so tesseract can read only simple image format like bmp, pgm and ppm
Zdenko ut 3. 11. 2020 o 9:41 吳明恩 <smart5...@gmail.com> napísal(a): > Environment > Tesseract Version: > 1.tesseract 4.1.1 > 2.leptonica-1.76.0 (Nov 3 2020, 10:24:30) [MSC v.1927 LIB Release x64] > 3.libtiff 4.1.0 > Found AVX2 > Found AVX > Found FMA > Found SSE > Platform: Windows 10 64-bit > > I use tesseract.exe to OCR jpg to show something error, so i wnat do > sothing? > > Error message & command: > .\tesseract.exe .\Google.jpg eng > Tesseract Open Source OCR Engine v4.1.1 with Leptonica > Error in pixReadStreamPng: function not present > Error in pixReadStream: png: no pix returned > Error in pixRead: pix not read > Error during processing. > > -- > 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 tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/1baced08-737c-42f6-bb7c-db44901a0f29o%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/1baced08-737c-42f6-bb7c-db44901a0f29o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8x3VuY2XTS8%2BfwwB%3DcwGyAN6Db72VyCNH3sbn8%3DVG6mPA%40mail.gmail.com.