Python CV2:[ WARN:0]`anonymous-namespace‘SourceReaderCB~SourceReaderCB terminating async callback
一、出问题的代码import numpy as npimport cv2cap = cv2.VideoCapture(0) # 摄像头编号。# Define the codec and create VideoWriter objectfourcc = cv2.VideoWriter_fourcc(*'XVID') # 注意编码器out = cv2.VideoWriter('output3.avi', fourcc, 20.0, (640, 480))while cap.isOpen
原创
2021-10-16 20:36:40 ·
7154 阅读 ·
1 评论