Search This Blog

Tuesday, March 6, 2012

How to see webcam preview in matlab

Before going to program just see this post How to connect webcam to matlab click here



%close all preview window
closepreview
%use your webcam port address
vid = videoinput('winvideo');
%see webcam preview
preview(vid)
%Capture photo
data = getsnapshot(vid);
%display the capture image
figure
imshow(data)

Want to give delay to capture image than check this post click here

Related Posts :-
GUI Code for capture image - Matlab
how to run m file in gui using matlab
Matlab code for shutdown computer
How to capture image form webcam in Matlab
How to connect microsoft access to Matlab
estore
How to install matlab 2007 on Windows7
How to connect Mysql to Matlab
How to use Nimbuzz chat room in PC
How to get through survey in website

No comments:

Post a Comment