← back to afrodance.fun

ADHD Saver

🧠

A desktop focus monitor that uses your webcam to detect when you look away from the screen — then plays escalating sound alerts to get you back on track. Built with Python, OpenCV, and MediaPipe.

How it works

  1. Calibrates your "focused" head position on startup
  2. Tracks head pose (yaw & pitch) in real-time via webcam
  3. Grace period before first alert (default 3s)
  4. 3-level escalation: gentle → medium → aggressive sounds
  5. Customizable thresholds, cooldowns, and sound packs

Quick start

git clone https://github.com/bro-xuan/adhd-cure.git
cd adhd-cure
pip install -r requirements.txt
python main.py

Sound pack (15 alerts)

bruhcartoon-bonkfail-buzzerget-back-to-workgordon-ramsaygta-wastedjontron-excuse-me-whatmgs-alertnavi-hey-listenpay-attentionsad-tromboneshrek-what-are-you-doingvine-boomwhat-are-you-doingwrong-buzzer

Settings

Yaw threshold30°
Pitch down15°
Pitch up20°
Grace period3s
Cooldown10s
Escalation15s

All settings adjustable via live GUI trackbars or CLI flags.