face recognition - How to add title on rectangle object in matlab -


I used the following code to attract the box on the face

  'Position', face coder (I, :), ... 'linewidth', 2, ... 'Edge Collar', 'Y');  

Now, I'd like to add a title box at the top of the box to display the face name.

I can not find the proper solution in MATLAB do this. Can anyone help on this?

Enter image details here

< Div class = "post-text" itemprop = "text">

You can use

annotation ('text box', [xywh]) An editable text box creates annotations;

You must do some experiment, specified in units of X, Y, width w, and one height H, from the lower left corner of its point, But you can get it using syntax:

  annotation ('text box', [xywh], 'string', 'image title')  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -