Sincere Apologies from my side! I will correct it.
I am trying it with image by making all the changes you mentioned in my command but no luck. I am attaching the logs FYR.
gst-launch-1.0 filesrc location=/home/rptech/projects/ocdr/onnx_models/repo/c++_samples/test_img/scene_text.jpg ! jpegparse ! nvv4l2decoder ! nvvideoconvert ! capsfilter ! m.sink_0 nvstreammux name=m batch-size=1 width=1280 height=1080 ! nvdsvideotemplate customlib-name=/home/rptech/projects/ocdr/onnx_models/repo/deepstream/libnvocdr_impl.so customlib-props=“ocdnet-engine-path:/home/rptech/projects/ocdr/onnx_models/ocdnet.fp16.engine” customlib-props=“ocdnet-input-shape:3,736,1280” customlib-props=“ocdnet-binarize-threshold:0.1” customlib-props=“ocdnet-polygon-threshold:0.3” customlib-props=“ocdnet-max-candidate:200” customlib-props=“ocrnet-engine-path:/home/rptech/projects/ocdr/onnx_models/ocrnet.fp16.engine” customlib-props=“ocrnet-dict-path:/home/rptech/projects/ocdr/onnx_models/character_list” customlib-props=“ocrnet-input-shape:1,32,100” ! nvmultistreamtiler rows=1 columns=1 width=1280 height=720 ! nvvideoconvert ! nvdsosd ! nvvideoconvert ! ‘video/x-raw,format=I420’ ! jpegenc ! jpegparse ! filesink location=/home/rptech/projects/ocdr/onnx_models/repo/c++_samples/test_img/output.jpg
Setting pipeline to PAUSED …
Opening in BLOCKING MODE
Inside Custom Lib : Setting Prop Key=ocdnet-engine-path Value=/home/rptech/projects/ocdr/onnx_models/ocdnet.fp16.engine
Inside Custom Lib : Setting Prop Key=ocdnet-input-shape Value=3,736,1280
Inside Custom Lib : Setting Prop Key=ocdnet-binarize-threshold Value=0.1
Inside Custom Lib : Setting Prop Key=ocdnet-polygon-threshold Value=0.3
Inside Custom Lib : Setting Prop Key=ocdnet-max-candidate Value=200
Inside Custom Lib : Setting Prop Key=ocrnet-engine-path Value=/home/rptech/projects/ocdr/onnx_models/ocrnet.fp16.engine
Inside Custom Lib : Setting Prop Key=ocrnet-dict-path Value=/home/rptech/projects/ocdr/onnx_models/character_list
Inside Custom Lib : Setting Prop Key=ocrnet-input-shape Value=1,32,100
Pipeline is PREROLLING …
NvMMLiteOpen : Block : BlockType = 277
NvMMLiteBlockCreate : Block : BlockType = 277
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.784: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.784: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.786: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.786: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.807: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.807: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.831: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.831: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.831: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.832: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
nvstreammux: Successfully handled EOS for source_id=0
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.832: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.832: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.833: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.833: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.834: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.834: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.834: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.834: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
(gst-launch-1.0:8613): GStreamer-CRITICAL **: 15:45:42.834: gst_caps_set_simple: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:8613): GStreamer-Base-CRITICAL **: 15:45:42.834: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad nvdsvideotemplate0:sink
Please help!