flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
952 stars 727 forks source link

Support self-hosting ML models #576

Closed AlienKevin closed 5 months ago

AlienKevin commented 8 months ago

Title Support self-hosting ML models

Describe the feature request ML models are currently downloaded from dl.google.com, which is blocked in countries like China. It would be very helpful if this library can support customization of the download URL domain to pull from a self-hosted server.

fbernaly commented 5 months ago

that is explained in the readme: https://github.com/flutter-ml/google_ml_kit_flutter/tree/master/packages/google_mlkit_object_detection#local-custom-model

AlienKevin commented 5 months ago

@fbernaly Thanks for the link. Does the DigitalInkRecognizer also support loading local custom model? I didn't see any instruction in the README so just want to confirm.

fbernaly commented 5 months ago

No, it does not

AlienKevin commented 5 months ago

Would it be possible to add support for the ink recognizer? If it's a similar process as the object detection then I can take a stab at it.