FoodSense: Real-Time Nutrition Tracking Through AI Vision
Next.jsExpress.js, WebSockets
Sunday, September 22, 2024
FoodSense: AI-Powered Nutrition Tracking
Tracking nutrition for homemade meals usually means weighing ingredients and doing manual math—not practical for most people. FoodSense uses your phone's camera to analyze food in real-time and instantly calculate macros and calories.
How it works: Point your camera at your meal. The app streams video through WebSockets to OpenAI's Vision Model, which identifies the food and returns nutritional breakdowns as you move your phone. An AI coach provides personalized guidance based on what you're eating.
Stack: Next.js, WebSocket streaming for real-time video processing, OpenAI Vision API, built as a progressive web app for cross-platform use.