Reputation:
I am currently working on an app which requires to count the faces on the screen. I am using the firebase_ml_vision plugin in Flutter. I've tried the trackng ID method bu i didn't work out. Does someone know how to count the faces?
Upvotes: 1
Views: 142
Reputation: 1621
But interface defines returned type as List.
final List<Face> faces = await faceDetector.processImage(visionImage);
print(faces.length)
Upvotes: 1