Can I use UIAxes to stream live video from a camera and how?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am using R2017b App designer to develop an image acquisition program.
Anybody can tell me can I do it through the UIAxes component and how to do it? Or is there other way to make it happen with the App designer?
Thanks in advance!
2 commentaires
Jan
le 6 Fév 2018
Can you do what by an UIAxes? "Develop an image acquisition program" does not explain any details.
Réponses (1)
Prajith Chilummula
le 23 Fév 2018
Please checkout the code snippet and inform whether it works.
vidobj = videoinput('winvideo');
triggerconfig(vidobj, 'manual');
start(vidobj)
while(vidobj.FramesAcquired <= 200)
snapshot = getsnapshot(vidobj);
imshow(mov,'Parent',app.UIAxes);
drawnow limitrate
end
stop(vidobj)
1 commentaire
Ahmer Shahid
le 13 Nov 2018
I use this code It runs very slowly not like a live streaming and also when I close the GUI the camera is still open. Kindly help me to resolve this problem Thanks.
Voir également
Catégories
En savoir plus sur Image Acquisition Toolbox Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!