def osd_sink_pad_buffer_probe(pad,info,u_data):
gst_buffer = info.get_buffer()
if not gst_buffer:
print("Unable to get GstBuffer ")
return
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
l_frame = batch_meta.frame_meta_list
while l_frame is not None:
try:
frame_meta = pyds.NvDsFrameMeta.cast(l_frame.data)
except StopIteration:
break
frame_number = frame_meta.frame_num
l_obj=frame_meta.obj_meta_list
print(l_obj) --> It prints None
It may be your model’s problem. You can verify it by yourself.
1.You can attach your whole code or attach your pipeline graph. https://forums.developer.nvidia.com/t/deepstream-sdk-faq/80236/10
2.You can modify some code to get the l_obj from our demo code that I attached to see if you can get the value from it.
I’ve lounched deepstream-test2 and l_obj is not None. But there is a detector. So culd you tell me, is the problem in my pipeline or in way how i’m trying to get l_obj? I can’t understand
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