I don’t know if the preprocessing is correct but you could check also the preprocessing in:

  
      

      github.com
  

  
    

GitHub - am15h/tflite_flutter_helper: TensorFlow Lite Flutter Helper Library


  TensorFlow Lite Flutter Helper Library. Contribute to am15h/tflite_flutter_helper development by creating an account on GitHub.