MATLAB: Can vision.For​egroundDet​ector work on GUI

Computer Vision ToolboxguiImage Processing Toolboxvision.foregrounddetector

Hi, Can I use GUI to display foreground from vision.ForegroundDetector? By using the same method I can extract the foreground. But in the GUI I can't display the foreground. Please help, thanks

Best Answer

As above code, showFrameOnAxis(hAxes.axis1, frame); showFrameOnAxis(hAxes.axis2, foreground); The frame can show in both axis1 or axis2, but put foreground either axis1 or axis2 also nothing to display.
Related Question