Developer's Documentation for free mobile OCR SDK

Documentation Menu

setAreaOfInterest method of the RTRTextCaptureService protocol

Sets the search area on the frame.

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:(CGRect)areaOfInterest;

Parameters

areaOfInterest

The rectangle specifying the area of interest. Pass CGRectZero as this parameter for the default area of interest (equal to the whole frame) to be selected.