Closed ChillarAnand closed 8 years ago
రంగనాయకమ్మ రచనలమీదన మన ఓసీయారు పనిచేయదు :)
ulimit -s 1000000
should work.
Thank you :)
I have formatted my system recently and banti is throwing this error again.
→ ulimit -s
1000000
→ python recognize.py sample_images/praasa.tif
...
...
Finding most likely sentences...
Line 0
[1] 9622 floating point exception (core dumped) python recognize.py sample_images/praasa.tif
Can you send me the log file. prasa.debug.log
or prasa.info.log
. You can specify the log level via a command line arg. See help -h
. This is a different problem than before. Before we were using a C++ based antanci_segmenter
from this repo.
Now we have pure python code.
It could also be a problem with PIL, the new version which does not support zero sized arrays! Since it is a floating point exception. But that is just guessing.
You are right. This was happening because of https://github.com/TeluguOCR/banti_telugu_ocr/issues/16. Downgraded & pinned pillow to Pillow==3.4.2
and its working fine now.
OCR is working very well with given sample data.
I tried to convert a test image and segmenter is throwing segmentation fault.
Full trace:
Image used