The requirement is to select a full person from an image (or as much of the person as is visible in the picture), similar to the Facebook and Google+ photo applications that identifies a persons face in a picture and places a box around it for tagging.
The selection must be "tight", that is, the selection is to be at the border of the person in the picture (or as close to as possible).
A user interface is required to:
1. Upload a picture
2. Display the picture
3. Highlight the identified person on mouse over (i.e. by enclosing with a thick white line)
4. Select / deselect the identified person on mouse left-click
5. Manually adjust the programmatic selection using mouse drag and drop from the border of the selected person
6. Clear areas of the picture that are not the selected person on mouse right-click