detectFaces method
Run face detection against raw image bytes (e.g. PNG/JPEG encoded). Returns a FaceDetectionResult describing any faces found.
Implementation
@override
Future<FaceDetectionResult> detectFaces(
Uint8List imageBytes, {
double scoreThreshold = 0.55,
double nmsThreshold = -1,
}) async {
return FaceDetector.detectFaces(
imageBytes,
scoreThreshold: scoreThreshold,
nmsThreshold: nmsThreshold,
);
}