ahmedabad
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« on: November 20, 2012, 10:55:06 am » |
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
Online
Edison Member
Karma: 29
Posts: 1584
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #1 on: November 20, 2012, 10:58:52 am » |
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
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
ahmedabad
Offline
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #2 on: November 20, 2012, 11:08:42 am » |
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
Online
Edison Member
Karma: 29
Posts: 1584
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #3 on: November 20, 2012, 11:32:22 am » |
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-keyboardhttp://arduino.cc/forum/index.php/topic,39243.0.htmlhttp://hackaday.com/2012/06/29/turning-an-arduino-into-a-usb-keyboard/
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
|
|
UK
Offline
Tesla Member
Karma: 89
Posts: 6396
-
|
 |
« Reply #5 on: November 20, 2012, 12:36:08 pm » |
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
|
|
|
|
|
0
Online
Tesla Member
Karma: 51
Posts: 6572
Arduino rocks
|
 |
« Reply #6 on: November 20, 2012, 02:12:24 pm » |
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
|
|
|
|
|
|