(i'm sorry for my bad english...)
hi, I'm wondering to myself if i can connect a webcam to arduino using it like a laser sensor. I have to check if a small ball cross an immaginary line. so i can use a laser sensor but i should buy it because i don't have one. my question is: can I capture pictures with webcam and pass it to arduino? i have to control the pixels one at the time with a FOR loop or exist some libreries to compare pictures?