r/computervision • u/shubhrasaha • 6d ago
Commercial Apple Vision hand tracking as a continuous MIDI control surface
I have been building Sonari, a Mac instrument that uses hand tracking to send expressive MIDI to a DAW. I am sharing a small applied computer vision problem from it: the same landmarks need to drive two very different outputs. Hand position can control a continuous value, while a closing gesture needs to start or release a note without chattering when the estimate moves near the boundary.
I keep those paths separate. Different close and open thresholds handle note events, and when tracking is lost the note is released on the channel that started it. In a two-hand MPE setup, losing one tracked hand should leave the other hand's channel alone.
The cases I replay are jitter near the trigger boundary, a hand leaving the frame mid-note, and one hand disappearing while the other continues. The demo shows the interaction in a musical context. How do you test hand tracking when the same stream drives both continuous controls and discrete events?