flutter_tensorflow_lite icon indicating copy to clipboard operation
flutter_tensorflow_lite copied to clipboard

Allow models from server

Open PoojaB26 opened this issue 5 years ago • 2 comments

Is there any way we can use models from the server instead of keeping it in assets folder?

PoojaB26 avatar Jul 10 '18 10:07 PoojaB26

Well, currently it only supports loading files from assets. This would be a nice feature to be added in a future release. Thanks!

kashifmin avatar Jul 28 '18 10:07 kashifmin

Actually, loading from assets (on device) is more efficient with low latency and will work even when in offline mode, as opposed to requesting from a service. Having said that, depending on your use case, perhaps you might find it more preferable to request from a server.

If so, a simple REST API can be set up to provide the service using Node.js or Flask (I might be able to help with that).

Or better still you can check out Firebase ML Kits.

IamSadiq avatar Apr 11 '20 23:04 IamSadiq