Hello experts,
I'm trying to develop a ocr application for android devices and I'm getting
help from this <http://gaut.am/making-an-ocr-android-app-using-tesseract/>blog.
I take my image using a android camera intent, pass the image data to ndk
since my image processing algorithms are running in c++. After pre
processing. I find all the contours in the ndk level and store in a global
array. Upon the returning of the number of the contours to the java android
code I call each contour from the java code, get image data about each
contour and OCR each contour separately. My logic is as follows.
main()
//get image and pass to ndk
// @ ndk, purify the image and store the contours.
for(i=0;i<number of contours;i++)
{
//take image data of this contour from the ndk
//ocr step
}
The issue is I recieve about 700 contours and when the for loop runs about
100 times I get a SIGSEGV error before the baseapi.getUTF8ext() function.
The program crashes always at this location. Could you please help me
understand what the issue could be?
Thank you for your valuable time.
regards,
Thilina
--
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