Skip to content

[Feature Request] ML Kit: On-Device Model Download API #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
G00fY2 opened this issue Jun 21, 2021 · 5 comments
Closed

[Feature Request] ML Kit: On-Device Model Download API #315

G00fY2 opened this issue Jun 21, 2021 · 5 comments
Assignees

Comments

@G00fY2
Copy link

G00fY2 commented Jun 21, 2021

I found this issue from the old Firebase repo: [Feature Request] ML Kit: On-Device Model Download API

There is still no way to get availability and download status of the unbundled standard ML Kit models (e.g. barcode), right?

Currently we keep the analyzer alive when a MlKitException.UNAVAILABLE exception occurs and hope for the Play Services to eventually download the model. But if the user is offline e.g. this won't happen at all and we have no indicator about that.

Is this feature still considered to be implemented?

@cs-googler
Copy link

Yes, thanks for bringing this up! We had it planned but didn't have cycle to get to it. We will give an update here shortly once we have a concrete plan.

@jishindev
Copy link

jishindev commented Feb 5, 2022

@cs-googler can you give us an update. It's been over six months.

@zhouyiself
Copy link
Collaborator

Sorry about the late update.
We're waiting for a download infrastructure update from Play Services to provide better support for this functionality. We don't have a concrete release date yet but would be some point in the second quarter of this year. So stay tuned!

@nk-alex
Copy link

nk-alex commented Aug 26, 2022

Hi, any updates on this?

@ai-plays
Copy link
Collaborator

Yes. Here is the release notes about the support: https://developers.google.com/ml-kit/release-notes#improvements_2

You can use the GMS ModuleInstallClient API on ML Kit Detectors that extend OptionalModuleApi, e.g. BarcodeScanner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants