FaceDetectorOptions.PerformanceMode
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],["`FaceDetectorOptions.PerformanceMode` controls the accuracy and speed of face detection. Two modes are available: `PERFORMANCE_MODE_FAST`, which prioritizes speed but may detect fewer faces, and `PERFORMANCE_MODE_ACCURATE`, which prioritizes accuracy but may take longer. It implements the `Annotation` interface. The inherited methods from this interface are `annotationType()`, `equals()`, `hashCode()`, and `toString()`. These allow handling of annotations.\n"]]