Change to OpenCV mat<->UIImage conversion. Add test code for face detection.