我阅读了Ip相机,但在相机视图上发生了500毫秒的延迟。如何降低该值?
import cv2
cap = cv2.VideoCapture("rtsp:admin:admin@192.168.1.108/mpeg4 ")
while(True):
ret, frame = cap.read()
cv2.imshow("frame",frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()
答案 0 :(得分:0)