Overview

A class that includes the information and operations related to document, inheriting DcsImage.

The DcsDocument object contains an original image, the boundary information of the document and the cropped image according to the detected boundary.

Members

Type Name Description
function (id) init: (UIImage *) image Creates a DcsDocument object from UIImage.
property (nonatamic, strong, readonly) NSArray * documentBoundary Returns the boundary information of the document.
property (nonatamic, strong, readonly) UIimage * originalImage Returns the original document.

Inherited members from DcsImage

Type Name Description
function (NSInteger) width Returns the width of the detected document in pixel.
function (NSInteger) height Returns the height of the detected document in pixel.
function (UIImage *) uiImage Returns corresponding UIImage.
function (id) initWithFile: (NSString *) filename Creates a DcsDocument from a file. More details
Is this page helpful?