18 lines
335 B
Python
18 lines
335 B
Python
import cv2
|
|
import show_img_conditions
|
|
import ROI_face
|
|
import get_head
|
|
|
|
#show_img_conditions.show()
|
|
gray = get_head.get_image()
|
|
cv2.imshow('Grey Image', gray)
|
|
face = ROI_face.roi(gray)
|
|
cv2.imshow('Face', face)
|
|
edges = cv2.Canny(face, 10, 100)
|
|
cv2.imshow('Image avec Contours de Visage', edges)
|
|
|
|
cv2.waitKey(0)
|
|
cv2.destroyAllWindows()
|
|
|
|
|