Python人臉識別(Python3.7)

案例實現 Python3.7+opencv庫 目標實現:輸入圖片識別人臉加框 下面展示一些 代碼。 import cv2 img = cv2.imread(‘C:\Users\zhang\Pictures\siren.jpg’)#讀取 cv2.imshow(‘image1’,img) face_detector = cv2.CascadeClassifier(r’D:\python\Python3
相關文章
相關標籤/搜索