I am just a starter with processing and the Arduino and I wonder if anyone can help me with my challenge.
For a design project at the University of Technology I, a third year student Industrial Design, am trying to control a servo motor with a web-cam.
To be more specific; I want use the web-cam to get the position of the person moving in front of it (in a value from 0-total left till 255-total right?). I want to use this value to rotate the servo motor which will control the direction of a lamp.
I really don't know where to start, so could you please help me?