Ask Your Question

golopup's profile - activity

2017-08-19 10:56:29 -0600 received badge  Self-Learner (source)
2017-08-19 10:56:26 -0600 received badge  Student (source)
2016-02-20 10:45:23 -0600 answered a question Where's tesseract's setVariable method

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.

2016-02-18 10:37:50 -0600 asked a question Where's tesseract's setVariable method

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?

2016-02-15 14:27:25 -0600 received badge  Enthusiast
2016-02-10 08:28:55 -0600 received badge  Self-Learner (source)
2016-02-10 08:22:45 -0600 received badge  Scholar (source)
2016-02-10 08:21:40 -0600 answered a question Building Opencv 3 + contrib for ios: incomplete type 'cv::Mat'

Thanks to this post I figured that I had opencv2.4 installed (with homebrew) and it was messing everything up.

Removing it fixed my issue.

2016-02-08 00:23:58 -0600 asked a question Building Opencv 3 + contrib for ios: incomplete type 'cv::Mat'

Trying to build opencv3 with opencv_contrib for iOS (only keeping 'text' module there for simplicity but it doesn't really matter). And getting 20 errors like these

 error: incomplete type 'cv::Mat' named in nested name specifier
 inline Mat::Mat(const Mat& m)

 forward declaration of 'cv::Mat'
 class CV_EXPORTS Mat;

 error: incomplete type 'cv::Mat'
 named in nested name specifier
 inline Mat::Mat(Size _sz, int _type, void* _data, size_t _step)

I'm using build_framework.py script with '--contrib' param and path to opencv_contrib sources.

It successfully builds framework without contrib though.