安裝OpenCV. pip install opencv-python. 匯入OpenCV. import cv2. 建立視訊鏡頭物件. cap = cv2.VideoCapture(0). 持續讀取影像幀. while True:
確定! 回上一頁