Go Down

Topic: interfacing webcam (Read 2069 times) previous topic - next topic


I want to interface my laptop webcam with my arduino leonardo.
Is it possible that arduino sends command to computer and webcam captures the image?
if so, then please suggest me a way to do it....


I highly doubt it, the buffer size of the image would be way too big for the arduino to handle. A still image might work though, but how will you view the image, what program would you use?
My GitHub:


i m not storing image data to arduino.
But i wanted to just send a command my computer's webcam to capture the image.
so the need is only that i want to know is it possible that computer can understand command from arduino and captures the image?
Is it possible to write c-program that understand my command and capture the picture through webcam?


Oh you just want to use the arduino to control the computer to take the image, yea that is possible if all you have to do is hit a key. Just do a search for arduino uno, duemilanove, leonardo Keyboard logoff.

Better yet someone else wanted to do something like this.

My GitHub:


You might try a program called GoBetwino, to go between Arduinio & the computer.


Is it possible that ... webcam captures the image?

That's not how it usually works. Usually, the USB host machine (presumably a PC) reads the image from the web cam and captures it in some form. In other words, the 'capture' part is performed by the PC application and not by the web cam. This implies that your problem is to find/create a PC application which can read the image from the web cam on demand, and provide a mechanism for the Arduino to tell it to do that. There are plenty of freeware applications which you can run from a command prompt to do this, and if you're using Microsoft Windows then you could use Gobetwino to run the application when the Arduino commands it.


You could use the below webcam2000 program on your pc and then make a get request to have webcam2000 take a picture from the web cam attached to the pc and download the immage.

Google forum search: Use Google Search box in upper right side of this page.
Why I like my 2005 Rio Yellow Honda S2000  https://www.youtube.com/watch?v=pWjMvrkUqX0

Go Up