FaceDetectorOptions.PerformanceMode

  • FaceDetectorOptions.PerformanceMode allows you to control the trade-off between the accuracy and speed of face detection.

  • Choosing a more accurate mode will increase processing time, while a faster mode might detect fewer faces.

  • There are two performance modes: FaceDetectorOptions.PERFORMANCE_MODE_FAST and FaceDetectorOptions.PERFORMANCE_MODE_ACCURATE.

public static abstract @interface FaceDetectorOptions.PerformanceMode implements Annotation

Defines options to control 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 constants - enumeration of supported Performance Mode:

  1. FaceDetectorOptions.PERFORMANCE_MODE_FAST
  2. FaceDetectorOptions.PERFORMANCE_MODE_ACCURATE

Inherited Method Summary