Skip to content

aadithyanr/ohmymood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OhMyMood Logo

if sad send food

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.

how?

  • 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

screenshots

emotion detection in action

Side by side comparison showing emotion detection when happy vs sad

food notification

A notification on my phone showing a delicious food picture

setup

backend

cd backend
pip install -r requirements.txt
python server.py

frontend

cd frontend
npm install
npm run dev

configuration

create 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

usage

  1. go to http://localhost:3000
  2. allow camera access
  3. click "start camera"
  4. be sad
  5. receive food!

tech stack

  • frontend: react, tailwind css, shadcn/ui
  • backend: fastapi, deepface, python
  • apis: pushover, mealdb api

acknowledgments

license

mit

About

an "ai" app that sends you food when you're sad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors