A cross platform mobile application ? developed in flutter to keep track of daily calorie needs. The calories required are calculated using BMI for which the inputs are taken from the user ? and stored in the database. The application is integrated with pedometer to keep count of number of steps taken by the user ? which helps to determine the calories burnt.
- The application uses Vision API to determine the food item ? from the picture which can be either taken from the phone camera or can be selected from the Gallery.
- The JSON response recieved from the Vision API containing the name of the food item is cross referenced with the nutritionix database ? to get the nutritional facts.
- For each 20 steps ? counted by pedometer we deduct one calorie from the number of calories consumed by the user per day.
Running the application
To run the app on Android device please run the following command:
flutter build apk --no-sound-null-safety
To run the app on iOS device please run the following command:
flutter build ipa --no-sound-null-safety
To run the app on Web device please run the following command:
flutter build web--no-sound-null-safety