我正在使用AI思考者ESP32-CAM和流urlhttp://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()
我也尝试过http
而不是rstp
,但没有任何结果
我使用了这个arduino代码
和OpenCV代码
相关问题 更多 >
编程相关推荐