I have a code for face detection,i have displayed word Face,how how to position in near the bounding box http://imgur.com/oKQixuN code clear close all x=imread('test01.jpg'); I=x; if (size(x,3)>1)%if RGB image make gray scale
try x=rgb2gray(x);%image toolbox dependent
catch x=sum(double(x),3)/3;%if no image toolbox do simple sum
end end x=double(x);%make sure the input is double format
[output,count,m,svec]=facefind(x);%full scan
imagesc(x), colormap(gray)%show image
plotbox(output,[],3)%plot the detections as red squares
uicontrol('Style','text','Position', [output(1) output(2) 30,...... ....20],'String','FAce')
MATLAB: How to position the text
displayingtext
Best Answer