NvDsRoiMeta

class pyds.NvDsRoiMeta

Holds Information about ROI Metadata.

Variables:
  • roiNvOSD_RectParams, ROI bounding box.

  • converted_buffer – pointer to NvBufSurfaceParams, scaled & converted buffer to processing width/height.

  • frame_meta – pointer to NvDsFrameMeta, deepstream frame meta.

  • scale_ratio_xfloat, ratio by which the frame/ROI crop was scaled in horizontal direction Required when scaling co-ordinates/sizes in metadata back to input resolution.

  • scale_ratio_yfloat, ratio by which the frame/ROI crop was scaled in vertical direction Required when scaling co-ordinates/sizes in metadata back to input resolution.

  • offset_leftfloat, offsets in horizontal direction while scaling.

  • offset_topfloat, offsets in vertical direction while scaling.

  • classifier_meta_list – A list of items of type NvDsClassifierMeta.

  • roi_user_meta_list – A list of items of type NvDsUserMeta.

  • object_meta – pointer to NvDsObjectMeta, deepstream object meta.

cast(self: capsule) pyds.NvDsRoiMeta

Casts a pointer to NvDsRoiMeta