Skip to content

rateByCenter

rateByCenter(roi): number

Rate face detection by center

Method that can be used as FaceParams.rateRoI parameter. Penalizes detections that are further from the image center. Uses confidence score as the basis and lineraly downweights it according to position of RoI relative to the image center. Downweight coefficients for X and Y directions are 0.75 for detectons centered at the edge of field of view (image borders).

FaceRect

Face detection

number

Priority rate of the detection