Read Frames from RTSP Stream in Python

前端 未结 6 468
旧巷少年郎
旧巷少年郎 2020-12-13 16:12

I have recently set up a Raspberry Pi camera and am streaming the frames over RTSP. While it may not be completely necessary, here is the command I am using the broadcast th

6条回答
  •  臣服心动
    2020-12-13 16:35

    use opencv

    video=cv2.VideoCapture("rtsp url")
    

    and then you can capture framse. read openCV documentation visit: https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_gui/py_video_display/py_video_display.html

提交回复
热议问题