faceDetectorCapabilitiesForPlatform function
Face Detector runs where Face Landmarker does, except on the Linux and
Android GPU (_faceDetectorGpuGap).
Implementation
TaskCapabilities faceDetectorCapabilitiesForPlatform(TaskPlatform platform) =>
_visionTaskCapabilities(
platform,
'FaceDetector',
webAdapter: faceDetectorBackendFactory != null,
macosGpu: true,
desktopGpuGap: _faceDetectorGpuGap,
androidGpuGap: _faceDetectorGpuGap,
);