Using opencv for facedetection