How do I extract individual frames while taking video input from a webcam?
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Data Acquisition에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!