gst-launch-1.0 v4l2src name=cam_src device=/dev/video0 ! \ "video/x-raw,width=640,height=480,framerate=(fraction)30/1" ! \ videorate drop-only=true ! \ tee name=t t. ! \ queue name=thread-nn max-size-buffers=1 leaky=downstream ! \ imxvideoconvert_g2d ! \ video/x-raw,width=300,height=300,format=RGBA ! \ videoconvert ! \ video/x-raw,format=RGB ! \ tensor_converter ! \ tensor_filter framework=tensorflow-lite model=ssd_mobilenet_v2_coco_quant_postprocess.tflite custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! \ tensor_decoder mode=bounding_boxes option1=tf-ssd option2=coco_labels.txt option3=0:1:2:3,50 option4=640:480 option5=300:300 ! \ videoconvert ! \ mix. t. ! \ queue name=thread-img max-size-buffers=2 leaky=2 ! \ videoconvert ! \ imxcompositor_g2d name=mix sink_0::zorder=2 sink_1::zorder=1 ! \ queue leaky=downstream max-size-buffers=1 ! \ jpegenc ! \ multipartmux ! \ tcpserversink host=0.0.0.0 port=5000