1. face_detection

Face detection method.

Parameters:

Name Type Minimum value Maximum value Default value Description
threshold int 5 1 10

Face quality threshold used in face detection. The higher is the quality threshold, the less false faces there will be found.

enlargement int 140 100  

Size of the output face rectangle in respect to the default rectangle (in percent).

center_face bool FALSE    

This parameter determines whether the face should be centered inside a rectangle.

strict_aspect bool FALSE    

This parameter determines whether proportions set by h_aspect and w_aspect should be constrained (including the cases when a face rectangle exceeds the bounds of the image).