Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
raychen said:i have the whole matlab coding of it....do u want it??
please gv me your email....
HI YOU...becool_hem said:hi all
i m working on processing a image in real time but i dont no how to connect the webcamera with matlab and how to get image in real time
plz help me
thank you in advance
hi there,
i have recently did this case for my thesis on motion detection,
you can use the perpared blocks in simulink,it's easy ,you must use videoinput block and other blocks in the image acquisition group ,but this is possible in matlab r2006 and versions which released after that.also you can use command line for this purpose,following this text i've inserted a simple m code for calculating the difference between two consecutive images.for more informations you can search for the functions used in this m code through the matlab help.
% Create video input object.
vid = videoinput('winvideo')
% Set video input object properties for this application.
% Note that example uses both SET method and dot notation method.
set(vid,'TriggerRepeat',Inf);
vid.FrameGrabInterval = 5;
% Set value of a video source object property.
vid_src = getselectedsource(vid);
set(vid_src,'Tag','motion detection setup');
% Create a figure window.
figure;
% Start acquiring frames.
start(vid)
% Calculate difference image and display it.
while(vid.FramesAcquired<=100) % Stop after 100 frames
data = getdata(vid,2);
diff_im = imadd(data,:,:,1),-data,:,:,2));
imshow(diff_im);
end
stop(vid)
i have the whole matlab coding of it....do u want it??
please gv me your email....
Hi raycheni have the whole matlab coding of it....do u want it??
please gv me your email....