If you have add the “U-Net segmentation model” as SGIE, it already supports object cropping inside gst-nvinfer plugin. You don’t need to do anything more.
Please make sure you have set the segmentation model as SGIE correctly.
So how can I get the metadata of multiple objects after segmentation? Is it still in user_meta_data? I can only get the segmentation result of the whole screen from user_meta_data now.
When the nvinfer is set as SGIE mode correctly, the segmentation user_meta_data is in the object meta data. You need to get the user meta through obj_user_meta_list in NvDsObjectMeta
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