Between rockets and shelters, inspiration finds its way in.
Real-time Trichotillomania intervention system. Detects when a hand moves toward the hairline and interrupts the impulse before it lands. Runs locally — no cloud, no server, no data leaving the device.
- Download External-PFC.zip
- Extract the folder
- Double-click
install_windows.bat
That's it. The monitor runs silently in the background and starts automatically with Windows.
- Install Pydroid 3 from Google Play
- Download pfc_android.py
- Open the file in Pydroid 3 and tap Run
- On first run it installs all dependencies automatically
- Download pfc_ipad.html
- Open in Safari
- Tap Share → Add to Home Screen
- Open from your home screen and tap Start
- Tracks hand and face position at 30fps using MediaPipe
- Detects movement toward the hairline only (forehead, temples, crown)
- Ignores eating, drinking, scratching nose
- Recognizes pinch/grasp posture — only deliberate pulling movements trigger an alert
- Logs every event to CSV for weekly pattern analysis
MIT — free to use, modify, and share.