ML-Kit in Android Library

63 views
Skip to first unread message

raphae...@mohemian.com

unread,
Jun 5, 2018, 11:06:08 AM6/5/18
to Firebase Google Group
Hello,

as the Google Vision API is getting deprecated, and they recommend to use the Firebase ML-Kit for Face Detection, I wanted to ask how we can use it within a library. 
We want to use the Face Detection in our library, but then every end-user would need a Firebase account and add Firebase to their app, which is not really what we want to enforce on them.

What is the recommended solution? Do we have to use deprecated Mobile Vision, or is there any option with Firebase?

Ian Barber

unread,
Jun 5, 2018, 11:09:04 AM6/5/18
to Firebase Google Group
The end users don't need a Firebase account - ML Kit doesn't require user auth. You can integrate it very similarly to how you did with Google Mobile Vision. 

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/9b247d39-a1dc-4326-bc62-d19de5c00eb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ian Barber

unread,
Jun 5, 2018, 11:12:35 AM6/5/18
to Firebase Google Group
Ah reading again I see you mentioned a library - developers taking advantage of Firebase services would need to set up Firebase doe their apps, but otherwise the process would look the same - you should just be able to add a dep on the library. Take a look at FirebaseUI for an example of a library that wraps the Firebase SDK. 

raphae...@mohemian.com

unread,
Jun 7, 2018, 10:17:21 AM6/7/18
to Firebase Google Group
It's no problem to add it to the library, the problem from our side is just we don't want every user (application) of this library to have to integrate firebase to their apps (registering on firebase, etc.).
But it seems that there is no other way to use ML Kit, without initalizing a firebase application :/

If you have any idea, feel free to tell me! :)
Anyway thanks for your reply!
Reply all
Reply to author
Forward
0 new messages