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
Package: com.dynamsoft.id_utility
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.
Quadrilateral findPortraitZone(ScaledColourImageUnit scaledColourImgUnit,
LocalizedTextLinesUnit localizedTextLinesUnit,
RecognizedTextLinesUnit recognizedTextLinesUnit,
DetectedQuadsUnit detectedQuadsUnit,
DeskewedImageUnit deskewedImageUnit) throws IdentityUtilityException
Parameters
scaledColourImgUnit The scaled colour image unit containing the source image.
localizedTextLinesUnit The localized text lines unit containing MRZ/text regions.
recognizedTextLinesUnit The recognized text lines unit for document type identification.
detectedQuadsUnit The detected quads unit containing document boundaries.
deskewedImageUnit The deskewed image unit for coordinate transformation.
Return value
Returns a Quadrilateral representing the portrait zone location. Returns null if not found.
Exception
See Also