November 2013
Intermediate to advanced
576 pages
19h 3m
English
The detectFacesTouched: method in ICFViewController will iterate over the found faces, and will visually highlight them in the source image, as shown in Figure 19.7. The method will also log detailed information about each face feature to a text view in the display.
Figure 19.7 Sample app: detect faces.
For each face, the method first gets a rectangle to position the red square around the face.
CGRect faceRect =[self adjustCoordinateSpaceForMarker:face.bounds andHeight:detectImage.extent.size.height];
To determine where to draw the rectangle for a face, the method ...
Read now
Unlock full access