|
iDRS™ SDK 16
|
The CPerspective class offers perspective correction of document images captured by a camera. Perspective distortions are a frequent phenomenon when it comes to camera-based document images and their correction is highly recommended as it increases significantly the recognition accuracy. The CPerspective class can be used for all types of document images (document images containing barcodes, printed or handwritten text). More...
#include <idrs_common.h>
The CPerspective class offers perspective correction of document images captured by a camera. Perspective distortions are a frequent phenomenon when it comes to camera-based document images and their correction is highly recommended as it increases significantly the recognition accuracy. The CPerspective class can be used for all types of document images (document images containing barcodes, printed or handwritten text).
IMPORTANT
To clarify any confusion between the deskew correction and the perspective correction, it is important to note that the first one is needed for scanned image documents (estimation of the rotation angle of the distorted image) whereas the second one for camera-captured document images (estimation of many parameters).
To identify the source of an image (scanner, camera or unknown), please use the CImageSource class.