bernardorufino / python-tesseract

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

OCR fails on assertion in tesseract #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. OCR the attached file
2.
3.

What is the expected output? What do you see instead?
expected: a succesfull operation

instead:  python: intmatcher.cpp:1165: int 
IntegerMatcher::FindBestMatch(INT_CLASS_STRUCT*, const ScratchEvidence&, 
uinT16, uinT8, INT_RESULT_STRUCT*): Assertion `ClassTemplate->NumConfigs > 0' 
failed.

What version of the product are you using? On what operating system?
Ubuntu 11.04
tesseract 3.0.0+svn581-1

Please provide any additional information below.
I'm experiencing an error as described in
http://code.google.com/p/tesseract-ocr/issues/detail?id=504&can=1&q=intmatcher.c
pp%201165%20int%20IntegerMatcher%20FindBestMatch

The issue claims it is fixed in 3.01

Is there an indication when 3.01 will be available in the repository at  
ppa:nutznboltz/tesseract ?

Regards,
Gert-Jan Braas

Original issue reported on code.google.com by wunderli...@gmail.com on 7 Sep 2011 at 5:19

Attachments:

GoogleCodeExporter commented 8 years ago
Have u tried the svn version?
http://code.google.com/p/python-tesseract/wiki/HowToCompilePythonTesseract

Original comment by FreeT...@gmail.com on 10 Sep 2011 at 10:15

GoogleCodeExporter commented 8 years ago
Tesseract-ocr is now included in the download list
http://code.google.com/p/python-tesseract/downloads/list

Original comment by FreeT...@gmail.com on 12 Sep 2011 at 4:14

GoogleCodeExporter commented 8 years ago
I will give the svn version a try if i find the time. 

does the amd64 also work on intel 32 bit?

Original comment by wunderli...@gmail.com on 12 Sep 2011 at 7:04

GoogleCodeExporter commented 8 years ago
I tried to build the svn version.

the build fails on:
===============================
make[3]: Leaving directory `/var/tmp/braas/projects/tesseract-ocr-read-only/api'
make[2]: Leaving directory `/var/tmp/braas/projects/tesseract-ocr-read-only/api'
Making all in doc
make[2]: Entering directory 
`/var/tmp/braas/projects/tesseract-ocr-read-only/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/braas/projects/tesseract-ocr-read-only/doc'
make[2]: Entering directory `/var/tmp/braas/projects/tesseract-ocr-read-only'
make[2]: *** No rule to make target `libtesseract.lo', needed by 
`libtesseract.la'.  Stop.
make[2]: Leaving directory `/var/tmp/braas/projects/tesseract-ocr-read-only'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/braas/projects/tesseract-ocr-read-only'
make: *** [all] Error 2
================================

Original comment by wunderli...@gmail.com on 13 Sep 2011 at 8:21

GoogleCodeExporter commented 8 years ago
This issue is already reported: 
http://code.google.com/p/tesseract-ocr/issues/detail?id=540

i fixed it by altering:
   libtesseract_la_OBJECTS = libtesseract.lo
to
   libtesseract_la_OBJECTS =

Original comment by wunderli...@gmail.com on 13 Sep 2011 at 8:53