setCropMargin method
- double cropMargin
Sets the relative margin around the face for basic portrait cropping. Hint: Default value is 0.5.
param cropMargin Relative margin around the face for basic portrait cropping. throws FaceException An error has occurred during Face Library execution.
Implementation
void setCropMargin(double cropMargin) {
var err = faceSDK.id3FacePortraitProcessor_SetCropMargin(_pHandle.value, cropMargin);
if (err != FaceError.success.value) {
throw FaceException(err);
}
}