can I process on video which is live capturing by camera ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Dipten
el 19 de Feb. de 2014
Comentada: David Young
el 17 de Nov. de 2014
Hi,sir can i process (like, blob analysis, ) on input live video from camera ?
0 comentarios
Respuesta aceptada
Dishant Arora
el 19 de Feb. de 2014
you need to capture snapshots from live video in order to process them.
vidobj = videoinput('winvideo');
snapshot = getsnapshot('vidobj');
imagesc(snapshot);
and if you want to acquire multiple frames do this:
for i = 1:5
snapshot = getsnapshot(vidobj);
imagesc(snapshot);
end
you need to have Image acquisition toolbox.go through demos.
6 comentarios
sandeep
el 15 de Nov. de 2014
i am actually trying to capture a video being played on my laptop screen in minimized window. I do not wanna use videoreader('abcd.mp4'). I need to capture that part of screen where video is running. can u help me please here.
David Young
el 17 de Nov. de 2014
I don't know how to do that. It was a bad idea to accept an answer that does not do what you need. You might need to ask a new question, but make clear exactly what you want to do, giving details of the program that is playing the video.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!