SimpleOCR:SDK Functions – OCROnArea2

You are here:
< All Topics

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.



A pointer to the image to process.


A non zero value if the image is noisy (i.e. contains a lot of speckles)


Starting value for the progress percentage.


Ending value for the progress percentage.

Previous SimpleOCR:SDK Functions – OCROnArea
Next SimpleOCR:SDK Functions – OCRSetOutputCharHandler
Contact Us for FREE Consultation on Your OCR Project
Table of Contents


Go to Top