PortraitProcessor.cropMargin Property¶
Module: PortraitProcessor
Type: float
Definition¶
Relative margin around the face for basic portrait cropping.
Hint
Default value is 0.5.
double get cropMargin => getCropMargin();
set cropMargin(double value) => setCropMargin(value);
Exceptions
An error has occurred during Face Library execution.
public float cropMargin
{
get => GetcropMargin();
set => SetcropMargin(ref value);
}
Exceptions
An error has occurred during Face Library execution.
public float getCropMargin() throws FaceException
public void setCropMargin(float cropMargin) throws FaceException
Exceptions
An error has occurred during Face Library execution.
public var cropMargin: Float
get {
return try! getCropMargin()
}
}
Exceptions
An error has occurred during Face Library execution.
int id3FacePortraitProcessor_GetCropMargin (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float * cropMargin)
int id3FacePortraitProcessor_SetCropMargin (ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor, float cropMargin)
Returns