If the end result should be velocity sensitivity added to an existing tablet or other consumer device in a way that is useful and makes sense, I agree that it sounds convoluted and weird solution for something that could be so easily solved eg. with a separate compact controller.

At very least it’d require a separate well positioned camera setup + analysis software and that wouldn’t be cheaper or more portable / nearly as robust as a small controller, no haptic feedback from tablet screens means it’s kind of dull to play them IME, and even if one doesn’t feel like that, alternative solutions like mapping hi-res touch area size (“3d touch”?) or simply y axis on screen to velocity already sort of invented (see eg. Sensel Morph, I’m not sure if Apple has done something that works similarly yet on newer gen iPad screens?).

BUT seeing this is Lines and not KVR, as sort of an art project / experiment that doesn’t need to work super robustly under different conditions or make sense financially, it could be cool. Maybe someone has already done something similar? You wouldn’t even need, or maybe even want, a tablet to prototype it, eg. just draw a controller on paper with some kind of colors or visual cues, and use a garden variety computer + some Python libraries for analysing data from multiple cameras.