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!