I am just starting a university project which involves building a wirelessley controlled robot, using a wireless camera to navigate. The camera will connect to the USB port in my PC, running in Windows, and I need to write some software to read in a frame from the camera, and analyse the pixels.
Does anybody know what I should include in my code to perform this function? I guess I want the software to tell the PC read in a frame of pixel data from the USB port, and store it in an array. The rest of the program would then process this array to determine the robot's location, and hence send the necessary control signals back to the robot.