AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
382 stars 504 forks source link

[feature] Use ML kit API #35

Open lookfirst opened 5 years ago

lookfirst commented 5 years ago

play-services-vision is deprecated in favor of the ML Kit api.

https://developers.google.com/vision/android/barcodes-overview

"The Mobile Vision API is now a part of ML Kit. We strongly encourage you to try it out, as it comes with new capabilities like on-device image labeling! Also, note that we ultimately plan to wind down the Mobile Vision API, with all new on-device ML capabilities released via ML Kit."

Docs are here:

https://firebase.google.com/docs/ml-kit/android/read-barcodes

AmolGangadhare commented 5 years ago

@lookfirst Thanks for using the plugin. Yes, the vision API is part of ml kit now and maybe deprecated. Currently, im evaluating ml kit in plugin which would be the major changes to existing code. Definitely plugin will be moving to use ml kit soon.

lookfirst commented 5 years ago

Great. Thank you. I'll likely switch over to your code from the other plugin, as soon as I have a chance. Having it be on the latest API's would be appreciated. Thanks for all your hard work.

lookfirst commented 5 years ago

fyi, switched to your code today. it is excellent, thanks.

lookfirst commented 5 years ago

Possibly helpful: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_ml_vision

but please don't switch to it for ios. ;-)

pynner commented 3 years ago

+1 for this feature!