Loading...
Pages: [1]   Go Down
Author Topic: interfacing webcam  (Read 264 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
Online Online
Edison Member
*
Karma: 29
Posts: 1584
"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

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 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
Online Online
Edison Member
*
Karma: 29
Posts: 1584
"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

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

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 520
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
Tesla Member
***
Karma: 89
Posts: 6396
-
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

0
Online Online
Tesla Member
***
Karma: 51
Posts: 6572
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

Why I like my 2005 rio yellow Honda S2000 with the top down, and more!
GOOGLE ADVANCED FORUM SEARCH BELOW!  
Go to:  http://www.google.com/advanced_search?hl=en
put in key search words,
use site or domain:  http://arduino.cc/forum
or in a google search box put key words site:http://arduino.cc/forum

Pages: [1]   Go Up
Print
 
Jump to: