FaceDetectorOptions.PerformanceMode

  • Defines options for accuracy/speed trade-offs in face detection.

  • The more accurate mode generally leads to longer runtime but detects more faces, while the faster mode results in shorter runtime but may detect fewer faces.

  • Supported performance modes are FAST and ACCURATE.

  • Inherited methods from the Annotation interface include annotationType, equals, hashCode, and toString.

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