On Thu, Jun 07, 2012 at 10:57:58AM -0700, Vince wrote:
> > read_params_file: Can't open nobatch
> > read_params_file: Can't open box.train.stderr
> 
> nobatch and box.train.stderr didn't look like filenames, they looked
> like command line flags.  I assumed the errors were incorrect.

They are both, really. They are command-line flags saying "set
the configuration to whatever is in the config file named
'nobatch'". It's a slightly weird way of configuring, but you get
used to it.

> I think the instructions would be clearer like this:
> 
> tesseract [lang].[fontname].exp[num].tif [lang].[fontname].exp[num]
> %TESSDATA_PREFIX%\tessdata\tessconfig\nobatch %TESSDATA_PREFIX%
> \tessdata\tessconfig\box.train

You're slightly misunderstanding. When you give 'nobatch' on the
command line it looks in %TESSDATA_PREFIX%\tessdata\config\nobatch
- it doesn't need (or accept, as far as I'm aware) the full
configuration file path.

> Or at least modify the instructions to explain where the files are
> located as Nick has done.

It's better to just make sure that it's installed properly, though,
as then you don't need to care about where the files are on any
computer you use tesseract on (unless you want to add to or change a
configuration setting.)

Saying that, I do think it would be nice to have the configuration
done in a different way. I haven't quite worked out what would be a
good replacement for the current system yet, though.

Nick

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

Reply via email to