Update of the code

This commit is contained in:
Alexandre VEROT 2023-02-06 10:22:55 +01:00
parent 7d97a0dea7
commit d770af4c4e
2 changed files with 1 additions and 1 deletions

BIN
Image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -7,7 +7,7 @@ face_cascade = cv2.CascadeClassifier("HaarCascade.xml")
# Charger l'image dans OpenCV # Charger l'image dans OpenCV
# Convertir l'image en niveaux de gris # Convertir l'image en niveaux de gris
img = cv2.imread("image.jpg") img = cv2.imread("Image.jpg.jpg")
gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
# Détection des visages dans l'image # Détection des visages dans l'image