Webcam video Live Streaming in MATLAB App Designer

Publié le: 18 novembre 2018
sur la chaîne: Programmer World
15,622
174

This video shows the steps to get the video from webcam and live stream on an axis in MATLAB App Designer.

Complete source code is available at:
https://programmerworld.co/matlab/web...

We will be glad to hear from you regarding any query, suggestions or appreciations at: [email protected]

The script to do this in MATLAB is very simple and is copied below:

/********************************************************/
properties (Access = private)
cam; % Description
end

function StartButtonPushed(app, event)
app.cam = webcam;
frame = snapshot(app.cam);
im = image(app.UIAxes, zeros(size(frame),'uint8'));
axis(app.UIAxes,'image');

preview(app.cam,im);

end
/********************************************************/

Please note, to make the webcam work you may have to install the MATLAB Add-on package for USB webcam from Add on explorer. Steps are shown in the video.


Sur cette page du site, vous pouvez voir la vidéo en ligne Webcam video Live Streaming in MATLAB App Designer durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Programmer World 18 novembre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 15,622 fois et il a aimé 174 téléspectateurs. Bon visionnage!