Giter Site home page Giter Site logo

Comments (9)

MATTYGILO avatar MATTYGILO commented on August 15, 2024 1

Just wondering when that update will be ready for. I had a go but i wasn't able to achieve it.

from flutter_tflite.

MATTYGILO avatar MATTYGILO commented on August 15, 2024 1

Thanks a lot, sorry it took a while to get back to you.

from flutter_tflite.

shaqian avatar shaqian commented on August 15, 2024

Hi MATTYGILO,

Sorry for the delayed response. Unfortuantely it's not supported to input an array at the moment.

The array data is generated from image file at the following line in iOS and Android respectively.
https://github.com/shaqian/flutter_tflite/blob/master/ios/Classes/TflitePlugin.mm#L166
https://github.com/shaqian/flutter_tflite/blob/master/android/src/main/java/sq/flutter/tflite/TflitePlugin.java#L156

You can try to create a new method call that accepts array directly. I will add this in future version.

Thanks,
Qian

from flutter_tflite.

MATTYGILO avatar MATTYGILO commented on August 15, 2024

Thank you allot. I will go about trying what you suggested. Cant wait for the future update it will allow for more differentiation for machine learning on flutter apps.

from flutter_tflite.

shaqian avatar shaqian commented on August 15, 2024

Probably will be at the end of this month.

from flutter_tflite.

MATTYGILO avatar MATTYGILO commented on August 15, 2024

Just wondering how the update is coming on.

from flutter_tflite.

shaqian avatar shaqian commented on August 15, 2024

Sorry I'm behind schedule. I will find time this weekend.

from flutter_tflite.

shaqian avatar shaqian commented on August 15, 2024

I added a runModelOnBinary method in 0.0.5.

Refer to the sample code on how to use it. Note the image package I use is quite slow on iOS when decoding image.
https://github.com/shaqian/flutter_tflite/blob/master/example/lib/main.dart#L79-L92

from flutter_tflite.

shaqian avatar shaqian commented on August 15, 2024

Archiving the issue for now. Feel free to reopen if you have other questions.

from flutter_tflite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.