if __name__ == '__main__':
    filename = sys.argv[1]
image = cv.LoadImage(filename, cv.CV_LOAD_IMAGE_COLOR)
detect_face(image)
cv.ShowImage('cam', image)
cv.WaitKey(0)
Classifiers confidence in opencv face detector