Re: Advice needed for G-streamer pipeline for CS-Mipi-imx307 camera


Yevhenii
 

Tammo Jan, have you tested this config with your frame rate and resolution?

cv2.VideoCapture('v4l2src device=/dev/video0 ! video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1 ! videoconvert ! video/x-raw,format=GRAY8 ! appsink sync=1', cv2.CAP_GSTREAMER)

In my case adding ! video/x-raw,format=GRAY8 ! helped. It seems that frames conversion to gray in gstreamer is faster that opencv.

Join main@globalmeteornetwork.groups.io to automatically receive all group messages.