I want to use this code to accelerate OpenCV. The camera I am using is a fisheye camera. Normally, the fisheye image should be a circle, but after acceleration, some areas are lost and become rectangles.
gs_pipeline0 = f"v4l2src device=/dev/video0 io-mode=2 " \
f"! image/jpeg, width={width}, height={height}, framerate=60/1, format=MJPG " \
f"! nvv4l2decoder mjpeg=1 " \
f"! nvvidconv " \
f"! video/x-raw, format=BGRx " \
f"! videoconvert " \
f"! video/x-raw, format=BGR " \
f"! appsink drop=1"
And I can’t open four cameras at the same time, opening three or more will show insufficient resources.
I hope you can help me, thank you very very much.