Can you please answer how to save snapshot during video recording
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ritika
el 3 de Feb. de 2018
Editada: KALYAN ACHARJYA
el 3 de Feb. de 2018
Please can you help me for, how to get a snapshot during recording?
0 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 3 de Feb. de 2018
Editada: KALYAN ACHARJYA
el 3 de Feb. de 2018
%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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Preview and Device Configuration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!