2017-02-19 14 views

答えて

0

cap = cv.VideoCapture(0) 

を次に、あなたは

while(True) 
    ret, frame = cap.read() 
    # Perform your comparison here, 
    # between (frame) and your image 
    if cv2.waitKey(1) & 0xFF == ord('q'): 
     break 
cap.release() 
cv2.destroyAllWindows() 
によって一つ一つのフレーム(画像)を取得することができます