I am learning the Open cv. Here is my code:
import cv2 face_patterns = cv2.CascadeClassifier(\'haarcascade_frontalface_default.xml\') sample_image = cv2.imread(\'