Skip to content
@Bab-Al

Bab-Al

AI Nutritrack : Harnessing Vision for Personalized Nutrition

🍙 Bab-Al 🍙

AI-based Healthy Eating Habits Management Platform


로고

2024.03.06 ~ 2024.11.29


Project Overview

📦 AI NutriTrack

  • 🥗 Nutritional Analysis: Identify ingredients from food photos.
  • 🍳 Recipe Recommendations: Personalized suggestions based on user preferences.
  • đź“Š Health Tracking: Graphs for better dietary management.
  • 🤝 Raspberry Pi Integration: Meal logging for elderly and caregivers.

🤒 Motivation

  • Digital Culture Impact
  • Nutritional Imbalance
  • Healthy Eating Focus
  • Caregiver Support

🎯 Target

1. 🍎 Healthy Eating Habits : Promotes balanced diets and supports individuals aiming for long-term health improvements
2. 🧓 Patients or Elderly : Assists physically challenged individuals and helps caregivers effectively manage dietary needs


🌌 Flow Chart


Techniques

🔧 Tools

Category Technologies
AI Flask Python TensorFlow PyTorch
Frontend Swift Xcode
Backend Spring Boot Java AWS MySQL
Embedded System Raspberry Pi C Linux
Others GitHub VS Code IntelliJ IDEA Colab ngrok

🛠️ Architecture


🧶 Algorithm

1. Raspberry Pi Kernel Module for Camera

  • When the user presses a button, the connected Raspberry Pi takes a picture using the camera module.
  • The captured image is automatically sent to our AI server for processing.
  • The detected food name and nutritional information are then sent to our backend server via a POST request.
  • Consequently, the user's family or caregivers can view the meal records through our iOS app.

2. Food Object Detection & Nutrient Estimation

  • The received image file is resized to 640x640px, and the filename is modified to include the current time.
  • The image is saved on Google Drive in a specified folder.
  • Food object detection is performed using a trained model, and the results are stored in a `.txt` file.
  • The system reads the result and extracts the class codes of the detected food items.
  • The same image is then used for quantity estimation using a different model, which estimates the number of food items based on bounding boxes and reference objects.
  • The quantity and nutritional content of the detected food are calculated and sent as a JSON response to the client.

3. Recipe Recommendation

  • The recommendation system provides two recipes based on the user's information, such as age, gender, and dietary preferences.
  • First, food data is filtered based on a 7:3 ratio between ingredients and tags.
  • Nutritional components like carbohydrates, proteins, and fats are converted into vectors, and cosine similarity with the user's vector is used to generate the first recommendation.
  • The second recommendation is based on the first recommendation and other users' consumption patterns, using a NGCF-based model in the RecBole framework to predict similar items.

Application

🎞️ Video 🎞️

Landing SignUp 1 SignUp 2 SignUp 3
SignUp 4 Login Dashboard Meal Recording
Statistics Search Ingredients Recipe Recommendation Profile

Members

Minkyung Lee Sangah Park Serin Cheong
Backend & AI (Recipe Recommendation) AI (Food Object Detection & Nutrient Estimation) Frontend & Embedded System

History ... 🗝️

Popular repositories Loading

  1. Babal-iOS Babal-iOS Public

    Swift 1

  2. Babal-Server Babal-Server Public

    Hongik Univ. Graduation Project

    Java

  3. Babal-AI-MenuRecommender Babal-AI-MenuRecommender Public

    Menu Recommendation System using content based filtering algorithm

    Python

  4. .github .github Public

Repositories

Showing 4 of 4 repositories
  • Babal-Server Public

    Hongik Univ. Graduation Project

    Bab-Al/Babal-Server’s past year of commit activity
    Java 0 0 4 0 Updated Dec 12, 2024
  • .github Public
    Bab-Al/.github’s past year of commit activity
    0 0 0 0 Updated Dec 12, 2024
  • Babal-iOS Public
    Bab-Al/Babal-iOS’s past year of commit activity
    Swift 1 0 0 0 Updated Nov 19, 2024
  • Babal-AI-MenuRecommender Public

    Menu Recommendation System using content based filtering algorithm

    Bab-Al/Babal-AI-MenuRecommender’s past year of commit activity
    Python 0 0 0 0 Updated May 21, 2024

Top languages

Loading…

Most used topics

Loading…