I've got my arduino and hooked up an led. I'm currently outputing 2 different sine waves concurrently, the second wave changes frequency every 3 seconds. I have a ps3 eye tracking the led and recording the brightness values of the tracked point over time. I've got a graph of the fourier transform of the recorded points and I can see the peaks of the graph move as the arduino changes the sine waves in the led. Awesome. So all I have to do now is find the similarity of the current frequency vector to a list of different vectors for each led and I can tell one led from another. I'm hoping this will also help with tracking, since if bright points in the image coming from a light source which is not an led are registering as something to track I can discount them by observing that they do not have the correct spectrum in the frequency domain, that they are not composed of the correct frequency components
I'm not sure how much cpu power this will require, hopefully it will be ok, but if not I'm considering offloading it to a gpu with custom shaders...