Integrate capturing video frames from v4l2 camera in deep stream using gst-nvvideo4linux2 plugin

I am trying to create a pipeline to capture video from a USB camera and perform detection on it using deep stream. Can anybody help me with the source element steps to begin with the pipeline.

there is a sample config file for USB camera sources. Please check


And also a relevant post: