Can you please answer how to save snapshot during video recording
조회 수: 3 (최근 30일)
이전 댓글 표시
Please can you help me for, how to get a snapshot during recording?
댓글 수: 0
채택된 답변
KALYAN ACHARJYA
2018년 2월 3일
편집: KALYAN ACHARJYA
2018년 2월 3일
%Snapshot
in_vid=videoinput('winvideo', 1);
set(in_vid,'ReturnedColorSpace','RGB');
image_shot=getsnapshot(vid);
imwrite(image_shot,filename,'png');
%here png, but you can choose format as your requirement
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!