How do I extract individual frames while taking video input from a webcam?
Ältere Kommentare anzeigen
Here's a snippet of the program for Fall Detection which analyses a video clip frame-by-frame :
while ~isDone(vid) % vid = vision.VideoFileReader(vidname); where vidname is the filename of the video clip
pause(0.0001);
frame = step(vid);
frameNo = frameNo+1;
How do I edit it so that instead of a video clip the input is taken from my webcam?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!