DocumentReader.extractFace Method¶
Module: DocumentReader
Definition¶
Extracts a crop of the face in a document.
DocumentImage extractFace(DocumentImage image, String? documentName)
Parameters
image DocumentImagein The image that contains the document. Must be a realigned BGR image of the document.
documentName Stringin 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.