Using custom camera in OpenCV (via GStreamer)

前端 未结 2 1403
面向向阳花
面向向阳花 2020-12-03 02:25

I\'m using Nitrogen6x board with ov5640 camera(mipi).

The camera is not using standard v4l/v4l, but we can stream video using GStreamer for its driver (mfw_v4l):

2条回答
  •  眼角桃花
    2020-12-03 02:50

    Just for reference, this works in OpenCV 3.0:

    VideoCapture cap("souphttpsrc location=http://root:admin@192.168.5.123:80/mjpg/video.mjpg ! decodebin ! videoconvert ! appsink")
    

提交回复
热议问题