SimpleOCR:SDK Functions – OCROnArea2
int OCROnArea2(const IMG * img, int noisy, int startprogress, int endprogress)
This function is similar to OCROnArea but allows you to give starting and ending values for the progress percentage. It is useful when you want to have to display a progress bar when processing several areas.
Return Value
A non zero error code if the function fails.
Parameters
img
A pointer to the image to process.
noisy
A non zero value if the image is noisy (i.e. contains a lot of speckles)
startprogress
Starting value for the progress percentage.
endprogress
Ending value for the progress percentage.