AmitGorvadiya / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

variable not found #308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I give wrong value to variable (e.g. 'tessedit_pageseg_mode a' instead of 
'tessedit_pageseg_mode 1' tesseract complains:

read_variables_file: variable not found: tessedit_pageseg_mode

I think it should complain regarding value of variable or that 
'essedit_pageseg_mode a' is wrong combinations...

Original issue reported on code.google.com by zde...@gmail.com on 26 May 2010 at 7:09

GoogleCodeExporter commented 9 years ago
Technically, the error message is correct: tesseract searches for variables by 
the 
type of its value, so if you provide a string to an integer variable, it won't 
be 
found because the search has been restricted to a search of string variables.

I don't think that changing either the behaviour or the error message will be 
generally useful, but I'll keep this bug open for information purposes, and 
when I get 
a chance I'll put something on the wiki about it.

Original comment by joregan on 5 Jun 2010 at 4:11

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 26 Sep 2012 at 7:44