opencv : face detection : small changes