MATLAB: How to show live video on guide gui

Computer Vision ToolboxImage Acquisition ToolboxImage Processing Toolboxlive video guide gui

i want to show live video instead of image on axes? Right now i am using this showFrameOnAxis(handles.axes3, I);

Best Answer

As that is primarily about reading video files, you might also need the hints from https://www.mathworks.com/help/vision/examples/face-detection-and-tracking-using-live-video-acquisition.html on how to take pictures from a live camera.
If I recall correctly, it is possible to hack the windows created by preview() for webcam, but I seem to remember that I found if you did that, then when you closed the left-over window, you would get a video crash.
Related Question