我正在使用带有流 url 的 AI Thinker ESP32-CAM http://192.168.8.100:81/stream。我已经尝试过这个和其他技术,但对我没有任何作用
import numpy as np
cap = cv2.VideoCapture("rtsp://192.168.8.100:81/stream")
while(True):
ret, frame = cap.read()
cv2.imshow('frame',frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()
Run Code Online (Sandbox Code Playgroud)
我也试过了http,rstp但根本没有结果