Options for vision face detector.
Indicates whether to run additional classifiers for characterizing attributes such as "smiling" and "eyes open".
classificationMode: NO_CLASSIFICATIONS | ALL_CLASSIFICATIONS;
Sets whether to detect no contours or all contours. Processing time increases as the number of contours to search for increases, so detecting all contours will increase the overall detection time. Note that it would return up to 5 faces contours.
contourMode: NO_CONTOURS | ALL_CONTOURS;
Sets whether to detect no landmarks or all landmarks. Processing time increases as the number of landmarks to search for increases, so detecting all landmarks will increase the overall detection time. Detecting landmarks can improve pose estimation.
landmarkMode: NO_LANDMARKS | ALL_LANDMARKS;
Sets the smallest desired face size, expressed as a proportion of the width of the head to the image width. For example, if a value of 0.1 is specified then the smallest face to search for is roughly 10% of the width of the image being searched.
minFaceSize: undefined | number;
Extended option for controlling additional accuracy / speed trade-offs in performing face detection. In general, choosing the more accurate mode will generally result in longer runtime, whereas choosing the faster mode will generally result in detecting fewer faces.
performanceMode: FAST | ACCURATE;