On Wed, Sep 18, 2013 at 1:49 PM, Nick White <[email protected]> wrote:

> On Tue, Sep 17, 2013 at 11:14:57AM -0700, [email protected] wrote:
> > 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));
>
> Sounds like a bug to me. I'd suggest you write a patch adding proper
> detection to that function, if you have the time. Otherwise just
> file the bug and someone will probably get to it (but probably not
> speedily).
>
> Nick
>
>
I don't think it is a bug - because root of problem is not in tesseract,
but in ignoring instruction[1].
If somebody decides not to follow instruction/fulfill requirements[1], so
he/she responsible for his/her troubles ;-)

Creating patch at this stage (new 3.03 alpha should be available soon)
could be useless (training should be changed)....

[1]
https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3#Data_files_required



Zdenko

-- 
-- 
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