leopoldmaillard / diet-vision-flutter

DietVision is a mobile app that provides an estimate of the nutritional content of a meal from images.
MIT License
24 stars 13 forks source link

Integrate Segmentation Model #4

Closed leopoldmaillard closed 3 years ago

leopoldmaillard commented 3 years ago

Google classification model should be integrated to the new UI.

TFLite model : https://tfhub.dev/google/seefood/segmenter/mobile_food_segmenter_V1/1

Flutter TFLite plugin : https://pub.dev/packages/tflite

leopoldmaillard commented 3 years ago

Segmentation model is applied to a camera picture. Segmentation mask is displayed on top of the original image.

The RGBA output has been decoded from the output png and we should be able to display the food classes.

leopoldmaillard commented 3 years ago

Model is fully integrated.