Ask Your Question
1

Where's tesseract's setVariable method

asked 2016-02-18 10:37:50 -0500

golopup gravatar image

Tesseract allows setting various variables before running recognition. We have OCRTesseract class in 'contrib' and only 'setWhitelist' method in it (which only sets tessedit_char_whitelist variable). Is there any way to set other tess vars?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-02-20 10:45:23 -0500

golopup gravatar image

Looks like there's no way to set vars in runtime. The only solution I found - incorporating config file with all required vars into traineddata file.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-02-18 10:37:50 -0500

Seen: 262 times

Last updated: Feb 20 '16