create

fun create(bgrRawImage: BgrRawImage, minFaceSizeRatio: Double, maxFaceSizeRatio: Double): FaceImage

Create face image object.

Return

Object for face detection.

Parameters

bgrRawImage

BGR raw image.

minFaceSizeRatio

Minimum face size to shorter image side ratio. This defines size of searched face in the image.

maxFaceSizeRatio

Maximum face size to shorter image side ratio. This defines size of searched face in the image.

Throws

If arguments are invalid or if minFaceSizeRatio is less than min valid face size.

If DOT Face is not initialized.