Developer's Documentation for free mobile OCR SDK

Documentation Menu

setAreaOfInterest method of the IDataCaptureService interface

Sets the area on the frame where the text is to be found.

The size of the area of interest affects performance and the speed of convergence of the result. The best result is achieved when the area of interest does not touch the boundaries of the frame but has a margin of at least half the size of a typical printed character.

void setAreaOfInterest( Rect areaOfInterest );



The rectangle specifying the area of interest.