How to operate CSI/MIPI camera with YOLOv5 on Jetson Nano

Hi,

Please check the below sample that runs YOLOv5 with Deepstream:

For the CSI camera, please replace the source with the following:

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP 5=CSI
type=5
camera-width=1280
camera-height=720
camera-fps-n=30
camera-fps-d=1

Thanks.