Smart meal tracking on whatsapp [POC]

This is a submission for Twilio Challenge v24.06.12

What I Built

I developed a proof-of-concept WhatsApp bot that accepts an image of the meal you’re having. In return, it provides the calorie intake along with detailed nutrition informatio…


This content originally appeared on DEV Community and was authored by sanketmunot

This is a submission for Twilio Challenge v24.06.12

What I Built

I developed a proof-of-concept WhatsApp bot that accepts an image of the meal you're having. In return, it provides the calorie intake along with detailed nutrition information such as carbohydrates, fats, and proteins.

This is just a proof of concept; we can significantly enhance it by incorporating a database to store user data and generate regular reports. Use background workers for image saving and calorie estimation from AI, and employing another worker to send the messages.

Read more about functionality and flow on github readme

Demo

I cannot provide a demo because I used ngrok to route WhatsApp webhook requests to localhost. But here are some screenshots ->

Positive case I send an image of Indian thali
Indian thali

Positive case I send an image of burger meal
Burger meal

Negative case Naruto, When he is kept away from Ramen (IYKYK)
When you keep Naruto away from Ramen

Twilio and AI

  • Twilio's API is used to receive images of food sent by users via WhatsApp.
  • Google's Generative AI model - Gemeni analyzes the received images to estimate the caloric content and nutritional breakdown.
  • Twilio sends back the detailed nutritional information to the user on WhatsApp.
  • The integration of Twilio and AI enhances user interaction by providing instant and informative responses.

Additional Prize Categories

Twilio Times Two
Impactful Innovators

Thanks for reading my post, connect me on Linkedin @ Sanket Munot


This content originally appeared on DEV Community and was authored by sanketmunot


Print Share Comment Cite Upload Translate Updates
APA

sanketmunot | Sciencx (2024-06-19T18:01:48+00:00) Smart meal tracking on whatsapp [POC]. Retrieved from https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/

MLA
" » Smart meal tracking on whatsapp [POC]." sanketmunot | Sciencx - Wednesday June 19, 2024, https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/
HARVARD
sanketmunot | Sciencx Wednesday June 19, 2024 » Smart meal tracking on whatsapp [POC]., viewed ,<https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/>
VANCOUVER
sanketmunot | Sciencx - » Smart meal tracking on whatsapp [POC]. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/
CHICAGO
" » Smart meal tracking on whatsapp [POC]." sanketmunot | Sciencx - Accessed . https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/
IEEE
" » Smart meal tracking on whatsapp [POC]." sanketmunot | Sciencx [Online]. Available: https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/. [Accessed: ]
rf:citation
» Smart meal tracking on whatsapp [POC] | sanketmunot | Sciencx | https://www.scien.cx/2024/06/19/smart-meal-tracking-on-whatsapp-poc/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.