You have a few high-level tasks:
Detect The position of the lights relative to the camera
Convert that location into "world" space
Transmit it to the device
Do it all Fast
Looking at each in turn:
Detect the position of the lights
I'm not entirely clear what hardware will be doing this? Desktop PC with a webcam?
Assuming so, then yes, you're ...