DocumentReader.extractFace Method

Module: DocumentReader

Definition

Extracts a crop of the face in a document.

DocumentImage extractFace(DocumentImage image, String? documentName)

Parameters

in The image that contains the document. Must be a realigned BGR image of the document.

documentName String
in The name of the document to be searched. Must be a key loaded in DocumentLibrary.

Returns

The cropped image of the face.

Exceptions

An error has occurred during Document Library execution.