flutter_tflite icon indicating copy to clipboard operation
flutter_tflite copied to clipboard

tflite_example version resolving fails for some dev_dependencies

Open kinafu opened this issue 4 years ago • 0 comments

In the example's pubspec.yml there seem to be some incompatible dependencies. Only after removing the version pinning of image_picker, image and tflite the dependency resolving succeeds. (When I say "to remove version pinning" I mean leaving the version number empty, so it results in the_package_name: any.

To account for the newer versions, in the example's main.dart one needs to replace ImagePicker.pickImage by ImagePicker().pickImage and predictImage(image); by predictImage(File(image.path));

kinafu avatar Aug 14 '21 18:08 kinafu