face_cascade = cv2.CascadeClassifier("../detector_architectures/haarcascade_frontalface_default.xml")
faces = face_cascade.detectMultiScale(gray, 4, 6)image_detector = np.copy(image_copy)
for (x, y, w, h) in faces:
cv2.rectangle(image_detector, (x, y), (x+w, y+h), (255, 0, 0), 5)
plt.figure(figsize=(20, 10))
plt.imshow(image_detector)