fbelderink / flutter_pytorch_mobile

A flutter plugin for pytorch model inference. Supports image models as well as custom models.
https://pub.dev/packages/pytorch_mobile
Other
101 stars 52 forks source link

Real-time inference #26

Open akheelnazim opened 1 year ago

akheelnazim commented 1 year ago

Does this package support real-time inference? Because i see the parameter for the prediction function takes in a file.

cyrillkuettel commented 1 year ago

I'm late, but, we would probably have to implement something like this: https://github.com/ValYouW/flutter-opencv-stream-processing. (The link also contains a youtube tutorial)

This would require some major refactoring, but it's not impossible.