資源簡介
利用Python獲取海康威視攝像頭的源碼
代碼片段和文件信息
import?cv2
cap?=?cv2.VideoCapture(“rtsp://admin:admin123@172.24.53.60:554/Streaming/Channels/1“)
ret?frame?=?cap.read()
while?ret:
????ret?frame?=?cap.read()
評論
共有 條評論
利用Python獲取海康威視攝像頭的源碼
import?cv2
cap?=?cv2.VideoCapture(“rtsp://admin:admin123@172.24.53.60:554/Streaming/Channels/1“)
ret?frame?=?cap.read()
while?ret:
????ret?frame?=?cap.read()
共有 條評論