The whitelist feature is currently not working in Tesseract 4.0.0.

https://github.com/tesseract-ocr/tesseract/issues/751 

On Sunday, February 24, 2019 at 11:21:17 AM UTC-6, Nenad Kocev wrote:
>
> Hello, I recently discovered Tesseract and I've been using it to extract 
> digits from images using tess4j library. With the settings posted bellow I 
> get around 85% accuracy of recognition.
> Is there a way to get 100% accuracy. I have example of an image in the 
> attachments. Other images may differ only in number of digits they have and 
> may also contain special characters like ",+-". Thanks for your help. 
>
> Settings:
>
> tesseract.setPageSegMode(7); // text is in single line
>
> tesseract.setTessVariable("tessedit_char_whitelist", ",+-0123456789");
> tesseract.setTessVariable("load_system_dawg ", "false");
> tesseract.setTessVariable("load_freq_dawg ", "false");
>
>
>

-- 
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 post to this group, send email to tesseract-ocr@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/1a780372-e59b-4806-9f31-1f916c8e41b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to