Optional
params: { Optional
padOptional
returnOptional
size?: SizeWhen an image is aligned by type
, its original size may be insufficient, and in this case it needs to be supplemented, "padded".
padColor sets the value for the color that will be used for such a supplement.
If set, the coordinates of the rectangle with the face in the original image prepared for the face crop
are returned in the DetectFaceResult.originalRect field.
Default is false
.
The resize value to process.
If the value doesn't match AspectRatio type
proportion or minimum size, an adjustment is applied.
Use OutputImageCropAspectRatio to check you size matches AspectRatio type
proportions and minimum size.
The aspect ratio according to which alignment is performed.
Crop settings for OutputImageParams.