nanda yelgar
nanda yelgar

Reputation: 19

face detection in flutter using google ml kit

I am working on an application where main screen has a live camera opened automatically. Here I need faces to be detected. Am getting confused about how to integrate ML kit. Do I have to signup with firebase????

I tried working with google ml kit but got too many errors.

Upvotes: 0

Views: 1607

Answers (1)

flexagoon
flexagoon

Reputation: 322

There are two separate ML libraries now - Firebase ML and ML Kit. Firebase ML runs on the cloud, and you need to use Firebase for it. You can find the documentation here.

ML Kit, however, runs entirely on the user's device, and it does not require you to use Firebase, unless you want to use custom models.

The easiest way to integrate it into your flutter app would be to use the google_ml_kit library, which provides modules for different purposes. For face recognition, you can use google_mlkit_face_detection.

Upvotes: 1

Related Questions