In addition here is my code:
if recognized_objects > 0
                image(UIAXES,CURRENT_FRAME);
                hold (UIAXES);
                        plot(UIAXES,CenterObjectsMatrix(:,1),CenterObjectsMatrix(:,2),'*r');
            else
                image(UIAXES, CURRENT_FRAME);
            end


