Pages: [1]   Go Down
Author Topic: interfacing webcam  (Read 971 times)
0 Members and 1 Guest are viewing this topic.
ahmedabad
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi....
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....
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 108
Posts: 3778
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

ahmedabad
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
 
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 108
Posts: 3778
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

http://www.practicalarduino.com/projects/virtual-usb-keyboard
http://arduino.cc/forum/index.php/topic,39243.0.html
http://hackaday.com/2012/06/29/turning-an-arduino-into-a-usb-keyboard/
Logged

Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 575
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You might try a program called GoBetwino, to go between Arduinio & the computer.
http://arduino.cc/playground/Interfacing/GoBetwino
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

0
Offline Offline
Tesla Member
***
Karma: 147
Posts: 9741
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

http://www.webcam2000.info/
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Pages: [1]   Go Up
Jump to: