[4.0.0-beta.1] read_params_file: parameter not found: PNG

452 views
Skip to first unread message

JP T

unread,
Apr 1, 2018, 9:55:25 AM4/1/18
to tesseract-ocr
Hi

I just updated from version 3.04.01 but now tesseract fails with above message if I give the -psm option.
input files are PNG.

any idea?

thanks

ShreeDevi Kumar

unread,
Apr 1, 2018, 9:56:52 AM4/1/18
to tesser...@googlegroups.com
Use

--psm

as --psm is deprecated

--
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 post to this group, send email to tesser...@googlegroups.com.
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/27abd126-7dce-41fb-999b-e2042733844d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zdenko Podobny

unread,
Apr 1, 2018, 11:36:39 AM4/1/18
to tesser...@googlegroups.com
If you are really insterested in help than provide full information/command how you run tesseract.

Zdenko

--
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+unsubscribe@googlegroups.com.

JP T

unread,
Apr 1, 2018, 6:14:57 PM4/1/18
to tesseract-ocr
Solved:
must be tesseract infile outfile options instead of standard unix program options infile outfile.

Zdenko Podobny

unread,
Apr 2, 2018, 3:02:02 AM4/2/18
to tesser...@googlegroups.com
... and it was exactly the same in tesseract 3.0x as in 4.0....

Zdenko

--
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+unsubscribe@googlegroups.com.

To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.

JP T

unread,
Apr 2, 2018, 8:38:27 AM4/2/18
to tesseract-ocr
Well, the problem is error handling.
If tesseract would have given a meaningful error message...
This is about basic parameter handling, nothing sophisticated.

Zdenko Podobny

unread,
Apr 2, 2018, 11:46:00 AM4/2/18
to tesser...@googlegroups.com
aim is to have tool that is easy portable with minimum dependencies.
IMO it is standard on linux/unix like system to use --help option for explanation of usage.

Zdenko

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
Reply all
Reply to author
Forward
0 new messages