Anyone using TFLite with Flutter?

This page summarizes the projects mentioned and recommended in the original post on /r/flutterhelp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • flutter_tflite

    Flutter plugin for TensorFlow Lite

    I recently wrote an app using this library. This was my first project using tensorflow, so while I can't say for certain what the parameters mean, I can share my understanding of them. I did end up forking this plugin and implementing my own code for my scenario since I noticed this library was doing a lot of the preprocessing manually instead of using newer Tflite helper libraries. So hopefully this helps, but be aware that I ended up using different code than this plugin. All that being said... let's get into it:

  • flutter_tflite

    Flutter plugin for TensorFlow Lite (by shaqian)

    For imageMean and imageStd, looking at the android implementation, we can see that these are passed along from dart to java eventually used at this point. Looking at the rest of this method, we can see this is in the context of converting the image data pixel by pixel into a bytearray that is eventually fed into the android tensorflow library. The actual conversion of pixel to bytearray is done by looking at the pixel RGB values separately and subtracting the mean then dividing by the std. This is meant to normalize your input data into "reasonable" data for your model.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts