Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
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:
[[["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"]]