shaqian / flutter_tflite

Flutter plugin for TensorFlow Lite
https://pub.dartlang.org/packages/tflite
MIT License
633 stars 408 forks source link

Missing Plugin Exeption #297

Open GiannosP14 opened 4 months ago

GiannosP14 commented 4 months ago

Hi , I get this issue and sadly i have no idea how to solve it. Thanks in advance.

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method loadModel on channel tflite) E/flutter (25262): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7) E/flutter (25262): E/flutter (25262): #1 Tflite.loadModel (package:tflite/tflite.dart:15:12) E/flutter (25262): E/flutter (25262): #2 _ObjectRecognitionHomePageState.loadModel (package:in_sight/core/modules/object_recognition/object_recognition_home_page.dart:99:5) E/flutter (25262): E/flutter (25262):

ardeshir-33033 commented 2 months ago

@GiannosP14 did you find any fix for this?

GiannosP14 commented 2 months ago

@ardeshir-33033 Hi, sadly no. I think I ended up using another similar package...

sumn2u commented 1 month ago

I made some updates and created my own version, which I applied to my app.

You can find the updated version here.