OPENCV調取攝像頭檢測人臉- python

代碼以下: 其中攝像頭用 1時:cap = cv2.VideoCapture(0) 2時:cap = cv2.VideoCapture(1)web import cv2 cap = cv2.VideoCapture(1) face_cascade = cv2.CascadeClassifier(r'/home/liuyu/PycharmProjects/faceRecognition-maste
相關文章
相關標籤/搜索