PortraitProcessor.cropPortrait Method¶
Module: PortraitProcessor
Definition¶
Creates a portrait image by cropping the source image around the detected face.
Image cropPortrait(Portrait portrait)
Parameters
portrait Portraitin The portrait to extract the face from.
Returns
The output cropped image of the face.
Exceptions
An error has occurred during Face Library execution.