google_ml_kit_flutter icon indicating copy to clipboard operation
google_ml_kit_flutter copied to clipboard

New ML Kit Support to Flutter

Open myavuzokumus opened this issue 1 year ago • 6 comments

Google announced a new ML Kit, which is a Document scanner. Can you implement this in Flutter?

https://developers.google.com/ml-kit/vision/doc-scanner

myavuzokumus avatar Feb 22 '24 23:02 myavuzokumus

@bensonarafat @bharat-biradar, I am interested in working on this issue. If you can please let me know how and from where can I start my contribution, it would be much helpful for me.

Sahil-kachhap avatar Feb 23 '24 12:02 Sahil-kachhap

@Sahil-kachhap I have plans on adding this new feature. No issue, we could work it together. That will cool thanks

bensonarafat avatar Mar 02 '24 05:03 bensonarafat

@Sahil-kachhap I have plans on adding this new feature. No issue, we could work it together. That will cool thanks

Oh Ok, Let me know if I could of some help anywhere in here.

Sahil-kachhap avatar Mar 02 '24 08:03 Sahil-kachhap

You can take guidance from https://pub.dev/packages/cunning_document_scanner I already implement Mlkit Document scanner

edwinmacalopu avatar Mar 02 '24 13:03 edwinmacalopu

I do not have an ETA for this. Feel free to send a PR with your contributions.

fbernaly avatar Mar 04 '24 16:03 fbernaly

Can be assigned to me also @Sahil-kachhap

@Sahil-kachhap we can start from the docs from google here and the package developed by @edwinmacalopu here

Document Scanner is still on beta for Android and not currently on IOS

bensonarafat avatar Mar 04 '24 23:03 bensonarafat

Hi @bensonarafat, can you confirm whether you are currently working on this feature or whether you intend to start it? I'd like to understand the status and if you need any further help to make it happen. Thanks!

ablause avatar Mar 26 '24 09:03 ablause

@ablause yeah, i am currently working on the feature

bensonarafat avatar Mar 26 '24 11:03 bensonarafat

@edwinmacalopu @ablause can we connect on this?
Trying to get activity on onAttachedToActivity can we talk about this. thanks

bensonarafat avatar Apr 09 '24 06:04 bensonarafat

@bensonarafat, could you share the repository or link a PR to this issue so we can better understand or help you implement it. Thanks!

ablause avatar Apr 10 '24 09:04 ablause

Great @ablause Here is my fork repo https://github.com/bensonarafat/google_ml_kit_flutter We can continue from here. thanks

bensonarafat avatar Apr 10 '24 12:04 bensonarafat

@bensonarafat Thanks for the contributions, once you have the feature ready send me the PR and I will review and release a new version ASAP

fbernaly avatar Apr 10 '24 15:04 fbernaly

The feature is in development and testing. If you want to give it a try edit your yaml file and point it to

google_mlkit_document_scanner:
  git:
    url: https://github.com/flutter-ml/google_ml_kit_flutter.git
    ref: feature/doc_scanner
    path: packages/google_ml_kit_flutter

fbernaly avatar Apr 17 '24 15:04 fbernaly

This is also help.

Wrote an article on it

https://bensonarafat.medium.com/implementing-the-new-document-scanner-ml-kit-to-your-flutter-app-e3d978ef2957

bensonarafat avatar Apr 17 '24 19:04 bensonarafat

Closing this. Document scanner is now available

bensonarafat avatar Apr 24 '24 04:04 bensonarafat

hey guys, may i know any plan to add iOS platform?

ChenAce avatar Apr 24 '24 06:04 ChenAce

if the phone no google service, that means can not use the feature....

ChenAce avatar Apr 24 '24 06:04 ChenAce

@ChenAce, it all depends on whether Google decides to integrate it into iOS as well.

I suggest exploring another package if you need iOS support. One option could be leveraging VisionKit by Apple for iOS and MLKit by Google for Android. Perhaps consider using this one: flutter_doc_scanner.

ablause avatar Apr 24 '24 11:04 ablause