Computer Vision
Face-Touch Tracker
Privacy-first computer vision for a habit
A passive habit tracker. Short webcam bursts during work hours run face and hand landmark detection locally; only a timestamp and a verdict leave the machine. No frame is ever written to disk.
- Status
- Paused — porting to Linux
- Period
- May 2026 – present
- Role
- Sole designer and developer
- Built with
- Python · MediaPipe · OpenCV · Supabase · React
The problem
I touch my face without noticing when I am focused on a screen. Any tracker that depends on me logging an event misses exactly the moments that matter.
How it works
- 01Sample
A scheduled task takes short webcam bursts during work hours.
- 02Detect
MediaPipe finds face and hand landmarks on the device.
- 03Decide
A proximity score becomes a single touch or no-touch verdict.
- 04Record
Only the timestamp and verdict are inserted into Supabase.
- 05Review
A private dashboard shows the daily trend and an hour-of-week heatmap.
Design decisions
Nothing visual is kept
Frames live in memory for the length of one inference. No images, landmarks, or remote AI processing ever leave the machine.
Insert-only credentials
The detector holds a key that can add rows and nothing else, protected by row-level security. A compromised detector cannot read the history.
Honest gaps
Missing days show as missing. The dashboard labels old samples as historical instead of reporting a healthy zero.
Where it stands
Ran on my Windows desktop from late June until that machine moved to Linux on September 1, 2026. The Linux port is built and its tests pass; it is waiting on camera permissions and live activation.
What I learned
- For behavior change, the trend is the signal. Precision per event matters less than showing up every day.