« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Legends

Identify People in a Photo 

In[1]:=

Identify faces in a photo and draw a colored square around each match.

In[2]:=
Click for copyable input
X
In[3]:=
Click for copyable input
X
Out[3]=

Create a swatch legend that matches each person's name with the colored square.

In[4]:=
Click for copyable input
X
In[5]:=
Click for copyable input
X
Out[5]=

Add the legend to the photo.

In[6]:=
Click for copyable input
X
Out[6]=

Change the legend position and orientation.

In[7]:=
Click for copyable input
X
Out[7]=