quickstart-android icon indicating copy to clipboard operation
quickstart-android copied to clipboard

To save ML Kit models for face recognititon into device's persisted storage

Open techievbv opened this issue 8 years ago • 6 comments

Hi everyone, I have just started exploring Firebase ML Kit by Google to test out face recognition capabilities. I tried official samples and it's working well.

Though, according to the official documentation, we can schedule an install time download of the ML models required using meta-data tags inside manifest, but I need a way to manually pre-install the models into the Android device's persisted storage itself, so it could be utilized in my app in Offline scenarios(w/o internet). If there is one, it would be of great help for my use case.

Thanks.

techievbv avatar Jun 12 '18 10:06 techievbv

You need to download the models just once. Do you estimate that even that is unlikely?

On Tue, Jun 12, 2018 at 3:36 AM Vaibhav Malik [email protected] wrote:

Hi everyone, I have just started exploring Firebase ML Kit by Google to test out face recognition capabilities. I tried official samples and it's working well.

Though, according to the official documentation, we can schedule an install time download of the ML models required, I need a way to pre-install the models into the Android device itself, so it could be utilized in my app in Offline scenarios(w/o internet). If there is one, it would be of great help for my use case.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firebase/quickstart-android/issues/532, or mute the thread https://github.com/notifications/unsubscribe-auth/AgJLGsNCGBynlIYneBfB4gDuDXcYppvqks5t75m1gaJpZM4UkL2t .

psanketi avatar Jun 12 '18 15:06 psanketi

@psanketi you need to read the question again. This time more carefully. Thanks.

techievbv avatar Jun 12 '18 15:06 techievbv

Who's your audience and how do you plan to distribute the apps to them if there is no internet at install time? What is your use case?

On Tue, Jun 12, 2018 at 8:53 AM Vaibhav Malik [email protected] wrote:

@psanketi https://github.com/psanketi you need to read the question again. This time more carefully. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/firebase/quickstart-android/issues/532#issuecomment-396640733, or mute the thread https://github.com/notifications/unsubscribe-auth/AgJLGqufJfi_WG8shFwjqkSm13cx_ZFgks5t7-PlgaJpZM4UkL2t .

psanketi avatar Jun 12 '18 16:06 psanketi

Can't disclose details excep that the target audience will not be installing the app via Play Store, it will be manually distributed. The scenario to be precise here, is that, the app should work OFFLINE at all times and being able to compare duplicate images.

techievbv avatar Jun 13 '18 04:06 techievbv

So seems like you are going to bring your own models. In that case, it could be possible. Let's continue our discussion on the SO thread since we are having the same dialogue there.

psanketi avatar Jun 13 '18 15:06 psanketi

Thanks @psanketi and @techievbv for the discussion. I agree, moving to SO or another forum is best here.

samtstern avatar Jun 14 '18 23:06 samtstern