NvDsRoiMeta¶
- class pyds.NvDsRoiMeta¶
- Holds Information about ROI Metadata. - Variables:
- roi – - NvOSD_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_x – float, 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_y – float, 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_left – float, offsets in horizontal direction while scaling. 
- offset_top – float, 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