Wednesday 7 August 2013

MATLAB code for read image from webcam

In below code to read image from web cam then write the image on your local directory.


vid = videoinput('winvideo',1);

testpic = getsnapshot(vid);

imwrite(testpic,'image1.jpg');

imshow(testpic);

Kindly Bookmark and Share it:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...