Eating Smart: Advancing Health Informatics with the Grounding DINO based Dietary Assistant App

Abdelilah Nossair,Hamza El Housni
DOI: https://doi.org/10.5281/zenodo.11243881
2024-06-03
Abstract:The Smart Dietary Assistant utilizes Machine Learning to provide personalized dietary advice, focusing on users with conditions like diabetes. This app leverages the Grounding DINO model, which combines a text encoder and image backbone to enhance food item detection without requiring a labeled dataset. With an AP score of 52.5 on the COCO dataset, the model demonstrates high accuracy in real-world scenarios, utilizing attention mechanisms to precisely recognize objects based on user-provided labels and images. Developed using React Native and TypeScript, the app operates seamlessly across multiple platforms and integrates a self-hosted PostgreSQL database, ensuring data integrity and enhancing user privacy. Key functionalities include personalized nutrition profiles, real-time food scanning, and health insights, facilitating informed dietary choices for health management and lifestyle optimization. Future developments aim to integrate wearable technologies for more tailored health recommendations. Keywords: Food Image Recognition, Machine Learning in Nutrition, Zero-Shot Object Detection
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The main problem this paper attempts to address is providing personalized dietary recommendations for people with dietary needs, such as diabetes patients, by combining technology and machine learning (ML). Specifically, the paper focuses on the following aspects: 1. **Improving Food Recognition Accuracy**: Utilizing the Grounding DINO model, which enhances detection accuracy through a text encoder and image backbone network without relying on annotated datasets. This makes the model more practical for handling various food types in the real world. 2. **Personalized Dietary Recommendations**: The application allows users to create personal profiles and provides customized dietary recommendations based on individual preferences and nutritional needs. In addition to calorie information, the application also offers detailed information on nutrients such as proteins, vitamins, and minerals, helping users with weight management, muscle building, or health management. 3. **Data Privacy Protection**: The application employs a self-hosted PostgreSQL database to ensure data integrity and control, avoiding reliance on external cloud services, thereby enhancing user privacy protection. 4. **User Experience Optimization**: The application interface is designed to be aesthetically pleasing and user-friendly, using buttons and vibrant color schemes to enhance the user experience. The chatbot feature encourages user interaction through a virtual persona, providing personalized guidance. 5. **Future Scalability**: The application plans to synchronize with fitness trackers and smartwatches, combining physiological data (such as blood sugar levels and calories burned) to provide time-related recommendations, further enhancing user health management and personalized experience. In summary, this paper aims to provide users with an efficient, secure, and personalized dietary management tool through technological innovation and machine learning methods, helping them better manage their health.