Steps to follow
- Detect your face using the Viola Jones approach
- Output will be a set of bounding boxes in the shape of Rectangles
- Use the code for region of interest to set the active image
- Just resize the image, plenty of functionality for that
Region setting
Mat selectRegion = originalImage( Rect(x,y,width, heigth) )