I came across this program in the C++ section. How to do something similar in C? Let me elaborate.
I want to read the colour values of individual pixels in at the rate of at least about 25Hz. I have a nVidia GeForce GTS450 graphic card and Windows 7 64-bit/Linux Mint 13 64-bit dual booting. I want to write a C program which would perform the said task and pass the values continuously to an Arduino through the USB. I can handle the Arduino part. But how do I get the values in the first place?
I know Windows 7 64-bit won't allow me to read the values directly from the graphic card. Is there any way I can do it using a C program and some other library?
How do I do the same in Linux Mint 64-bit?