tesseract runs but gives no output

36 views
Skip to first unread message

Ales Ropia

unread,
Jul 14, 2023, 8:19:37 AM7/14/23
to tesseract-ocr
C:\Program Files (x86)\Tesseract-OCR>for %i in (d:\temp\temp\*.*) do (tesseract %i >> c:\temp\temp2.txt -l eng+hin)

C:\Program Files (x86)\Tesseract-OCR>(tesseract d:\temp\temp\Screenshot_20230601_102548.jpg  -l eng+hin 1>>c:\temp\temp2.txt )
read_params_file: Can't open eng+hin
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 434

C:\Program Files (x86)\Tesseract-OCR>(tesseract d:\temp\temp\Screenshot_20230601_102638.jpg  -l eng+hin 1>>c:\temp\temp2.txt )
read_params_file: Can't open eng+hin
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 492

C:\Program Files (x86)\Tesseract-OCR>(tesseract d:\temp\temp\Screenshot_20230601_102708.jpg  -l eng+hin 1>>c:\temp\temp2.txt )
read_params_file: Can't open eng+hin
Tesseract Open Source OCR Engine v4.0.0.20181030 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 324
Detected 79 diacritics

the c:\temp\temp2.txt is empty.

Kindly help

Zdenko Podobny

unread,
Jul 15, 2023, 2:10:15 AM7/15/23
to tesser...@googlegroups.com
tesseract d:\temp\temp\Screenshot_20230601_102638.jpg  -l eng+hin 1>>c:\temp\temp2.txt 

is not the correct command. Did you mean:

tesseract d:\temp\temp\Screenshot_20230601_102638.jpg  output -l eng+hin 1>>c:\temp\temp2.txt 

please consult
 tesseract --help

Zdenko


pi 14. 7. 2023 o 14:19 Ales Ropia <lsr...@gmail.com> napísal(a):
--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/5d0183a8-dc6f-42f8-b698-60ae21a1a90bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages