Put webcam live figure inside GUI axes ??

I need put my live figure of webcam inside the gui axes. i tried many steps but not working. I have attached my code.Please help

 Réponse acceptée

Walter Roberson
Walter Roberson le 10 Sep 2017
See https://www.mathworks.com/help/imaq/previewing-data.html#f11-76067 for preview() specifically. For non-preview, you can
set(hImage, 'CData', boxInserter)
drawnow();

3 commentaires

shorav suriyal
shorav suriyal le 10 Sep 2017
its working and if i want to take a snapshot of the axes 1 in which my video is streaming from webcam and show that inside axes 2 how do i do that?
Walter Roberson
Walter Roberson le 11 Sep 2017
getframe() axes1 and display the result in axes2.
shorav suriyal
shorav suriyal le 11 Sep 2017
Thankyou so much you solved my problem

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Exploration dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by