Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

your reg object was never initialized.

your reg object was never initialized.initialized. you're lacking code like:

Ptr<OCRTesseract> reg = OCRTesseract::create();

please see docs

(then, you probably should not allocate such an object per detection, but only once per runtime)

your reg object was never initialized. you're lacking code like:

Ptr<OCRTesseract> Ptr<text::OCRTesseract> reg = OCRTesseract::create();
text::OCRTesseract::create();

please see docs

(then, you probably should not allocate such an object per detection, but only once per runtime)