NvOSD_MaskParams¶
- class pyds.NvOSD_MaskParams¶
Holds the mask parameters of the segment to be overlayed.
- Variables:
data – float*, Mask buffer.
size – int, Size of the mask buffer in bytes.
threshold – int, Threshold for binarization.
height – int, Mask height.
width – int, Mask width.
- alloc_mask_array(self: pyds.NvOSD_MaskParams) array ¶
Retrieve and allocate mask data as numpy array
- cast(*args, **kwargs)¶
Overloaded function.
cast(self: capsule) -> pyds.NvOSD_MaskParams
cast given object/data to
NvOSD_MaskParams
, call pyds.NvOSD_MaskParams.cast(data)cast(self: int) -> pyds.NvOSD_MaskParams
cast given object/data to
NvOSD_MaskParams
, call pyds.NvOSD_MaskParams.cast(data)
- get_mask_array(self: pyds.NvOSD_MaskParams) array ¶
Retrieve mask data as numpy array