Classify::InitAdaptiveClassifier() says its parameter 
(load_pre_trained_templates) "Should only be set to true if the necesary 
classifier components are present in the [lang].traineddata file." but when 
it's called from Tesseract::init_tesseract_internal() (via 
Wordrec::program_editup()) the parameter is set solely based on the value 
of tessedit_ocr_engine_mode, no checks are made to ensure the necessary 
classifier components exist.

I'm trying to OCR using two traineddata files - one built-in and one I'm 
creating, the one I'm creating doesn't have the classifier components so 
Classify::InitAdaptiveClassifier() is crashing on the 
line ASSERT_HOST(tessdata_manager.SeekToStart(TESSDATA_INTTEMP));

Is this a known problem, is there a known workaround?

Thanks,
Chris

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to