You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flutter does not compile to JavaScript so it's not possible to use Dart/JavaScript interop libraries. I'm not familiar with Tensorflow for Android or iOS, but the standard practice for using native libraries like these is through a plugin.
Hi, rubencg192. I saw this last week, and I hope this one is helpful to you: dartl/packages/tensorflow_lite.
This package is kind of new, and it only works on Android.
Thank you @JonathanSum. @jonahwilliams do you think it will be possible to use TensorflowJS through a WebView inside Flutter. This new library opens a lot of possibilities, I think it is a good idea to see how to integrate it to Flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]Tensorflow.js Plugin Dart-Flutter[/-][+]TensorflowJS Plugin Dart-Flutter[/+]jonahwilliams commentedon May 3, 2018
Flutter does not compile to JavaScript so it's not possible to use Dart/JavaScript interop libraries. I'm not familiar with Tensorflow for Android or iOS, but the standard practice for using native libraries like these is through a plugin.
AliceSum commentedon May 3, 2018
Hi, rubencg192. I saw this last week, and I hope this one is helpful to you: dartl/packages/tensorflow_lite.
This package is kind of new, and it only works on Android.
rubencg195 commentedon May 3, 2018
Thank you @JonathanSum. @jonahwilliams do you think it will be possible to use TensorflowJS through a WebView inside Flutter. This new library opens a lot of possibilities, I think it is a good idea to see how to integrate it to Flutter.
CUGProject commentedon May 13, 2019
Oh,I success to use tensorflow.js in flutter throw webview
flutter-team-archive/engine@2d42c74...d7ad50c
flutter-team-archive/engine@2d42c74...d7ad50c
Khalid-Nowaf commentedon Mar 27, 2020
I would use flutter_tflite for now.
stuartmorgan-g commentedon Feb 21, 2023
Closing since per #17233 (comment) the specific request here isn't viable on most platforms.
github-actions commentedon Mar 7, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.