A fun project that sends you food pictures when you're feeling down 🍕
This project uses your webcam to detect if you're sad and sends delicious food pictures to cheer you up! Heavily inspired by if-sad-send-cat by @healeycodes.
- captures your webcam feed through a sleek browser interface
- analyzes emotions using deepface
- sends food pictures via pushover when you're feeling down
- uses mealdb api for delicious food images
cd backend
pip install -r requirements.txt
python server.pycd frontend
npm install
npm run devcreate a .env file in the backend directory with:
PUSHOVER_API_KEY=your_api_key
PUSHOVER_USER_KEY=your_user_key
TF_ENABLE_ONEDNN_OPTS=0
- go to
http://localhost:3000 - allow camera access
- click "start camera"
- be sad
- receive food!
- frontend: react, tailwind css, shadcn/ui
- backend: fastapi, deepface, python
- apis: pushover, mealdb api
- huge thanks to @healeycodes for the inspiration from if-sad-send-cat
- deepface for emotion detection
- themealdb api for the food images
- pushover for notifications
mit

