Calorie Tracker Using Python

Calorie Tracker Using Python

TRACK CALORIE-INTAKE HANDS-FREE!

Tell the app what you ate, and it will calculate your calorie intake within seconds!

Project Overview

Project Name Calorie Tracker Using Python
Language/s Used Python (Django) and JavaScript (React Native)
Python Version (Recommended) 3.x
Database SQLite
Type Web Application with Android Frontend
Developer UPDATEGADH

Inspiration

Many users struggle with traditional calorie-tracking apps due to their complexity and time-consuming input methods. “My Calories” simplifies this by enabling hands-free voice input, helping users track their meals efficiently and without hassle.

Download New Real Time Projects :-Click here

What It Does

  • Takes voice input from the user about what they ate.
  • Searches the food item in the database.
  • Displays the total calorie intake of the day.
  • Provides visual feedback using color codes (green for low, red for high calorie intake).
  • Shows detailed information on calories for each consumed item.
  • Maintains a history of calorie consumption for better tracking.

How We Built It

  • Frontend: Developed with React Native and hosted on Android devices.
  • Voice Recognition: Integrated Google Voice Recognition Service to capture user voice inputs.
  • Backend: Built with Python Django and Django REST Framework.
  • Database: SQLite database stores food calorie pairs and user records.
  • Deployment: The backend RESTful API endpoints are deployed on Heroku.

Challenges Faced

  • Configuring deployment environments.
  • Developing intuitive UI integration with React Native and Android Studio.
  • Creating seamless integration between frontend, backend, and database.

Accomplishments We’re Proud Of

  • Usability: Voice input significantly reduces manual data entry.
  • Simplicity: Users simply speak, and the app calculates everything automatically.
  • Efficiency: Adding an entire meal takes less than a minute.

Future Enhancements

  • Adding a custom calorie entry feature for personalized tracking.
  • Enabling user login and profile management.
  • Sharing calorie information with friends for motivation.
  • Expanding the food database for improved accuracy.

Example Usage

Voice Commands:

  • “Lite breakfast: one cup of coffee, one slice of bread.”
  • “Lunch: three slices of pizza, one can of soda.”
  • “Dinner: one bowl of spaghetti, two pieces of salmon.”
  • “Too many calories! Cut down my cookies.”

How to Set Up

Backend Setup

  1. Install Django:

pip install django

  1. Install Django REST Framework:

pip install djangorestframework
pip install markdown

  1. Activate the environment:

source bin/activate

  1. Run the server:

python manage.py runserver

  1. Sync the database:

python manage.py migrate

Frontend Setup

  1. Navigate to the frontend folder:

cd frontend/

  1. Install dependencies:

npm install -g expo-cli

  1. Start the frontend server:

npm start


calorie tracker django project
Calorie Tracker Using Python
Calorie Tracker Using Python code
open source calorie tracker reddit
Calorie Tracker Using Python project
calorie calculator python
calorie tracker python
python calorie counter
best calorie tracker with barcode scanner
calorie tracker with barcode scanner
open source calorie tracker app
fithub – ai Calorie Tracker Using Python android
free calorie tracker using python github
food calorie tracker using python github
best calorie tracker using python github

Post Comment