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

 Accepted Answer

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 Comments

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?
getframe() axes1 and display the result in axes2.
Thankyou so much you solved my problem

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!