When you set output-tensor-meta=1, you should process the tensor output by yourself, like processing tensor, drawing bbox. Could you reproduce you problem with any of our demo code? https://github.com/NVIDIA-AI-IOT/deepstream_python_apps
There is a function call draw_bounding_boxes() before saving the frame. Is there any way to get bounding boxes drawn on the frame by setting some parameters in the elements ?
I don’t want to explicitly draw bounding boxes by calling some function.
If you get the picture from the osd src-pad probe function, it will draw the bbox on the frame automatically. Because the tiler is in front of osd, so you can only get the raw data without bbox.
osdsinkpad = nvdsosd.get_static_pad(“sink”)
if not osdsinkpad:
sys.stderr.write(" Unable to get sink pad of nvosd \n")
osdsinkpad.add_probe(Gst.PadProbeType.BUFFER, probe function, 0)
I have attached on sink pad. Do i need to attach on src pad ??
Yes, its working now. Thanks a lot.
One doubt, output-tensor-meta parameter has nothing to do with this ? because setting its value to 0 or 1 has no impact on output. In all the case, I am getting bbox.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks