Table of contents

IdentityProcessor

The IdentityProcessor class provides functions to process identity documents, such as locating portrait zones with higher precision.

Remarks

Introduced in Dynamsoft Capture Vision version 3.4.1000.

Definition

Namespace: Dynamsoft.IdUtility

public class IdentityProcessor

Methods

Method Description
IdentityProcessor Constructor. Initializes a new instance of the IdentityProcessor class.
FindPortraitZone Finds the location of the portrait zone on an identity document.

IdentityProcessor

Constructor. Initializes a new instance of the IdentityProcessor class.

IdentityProcessor()

FindPortraitZone

Finds the location of the portrait zone on an identity document.

int FindPortraitZone(ScaledColourImageUnit scaledColourImgUnit,
                     LocalizedTextLinesUnit localizedTextLinesUnit,
                     RecognizedTextLinesUnit recognizedTextLinesUnit,
                     DetectedQuadsUnit detectedQuadsUnit,
                     DeskewedImageUnit deskewedImageUnit,
                     out Quadrilateral portraitZone)

Parameters

[in] scaledColourImgUnit The scaled colour image unit containing the source image.

[in] localizedTextLinesUnit The localized text lines unit containing MRZ/text regions.

[in] recognizedTextLinesUnit The recognized text lines unit for document type identification.

[in] detectedQuadsUnit The detected quads unit containing document boundaries.

[in] deskewedImageUnit The deskewed image unit for coordinate transformation.

[out] portraitZone The output quadrilateral representing the portrait zone location. Returns an empty quadrilateral if not found.

Return value

Returns 0 if successful, otherwise returns an error code.

See Also

ScaledColourImageUnit

LocalizedTextLinesUnit

RecognizedTextLinesUnit

DetectedQuadsUnit

DeskewedImageUnit

Quadrilateral

This page is compatible for: