NvDsInferAttribute¶
- class pyds.NvDsInferAttribute¶
Holds information about one classified attribute.
- Variables:
atttributeIndex – int, Index of the label. This index corresponds to the order of output layers specified in the outputCoverageLayerNames vector during initialization. WARNING: misspelling to be deprecated, please change all usage to “attributeIndex”.
attributeIndex – int, Index of the label. This index corresponds to the order of output layers specified in the outputCoverageLayerNames vector during initialization.
attributeValue – int, Output for the label.
attributeConfidence – float, Confidence level for the classified attribute.
attributeLabel – str, String label for the attribute. Memory for the string should not be freed.
- cast(*args, **kwargs)¶
Overloaded function.
cast(self: capsule) -> pyds.NvDsInferAttribute
cast given object/data to
NvDsInferObjectDetectionInfo
, call pyds.NvDsInferObjectDetectionInfo.cast(data)cast(self: int) -> pyds.NvDsInferAttribute
cast given object/data to
NvDsInferObjectDetectionInfo
, call pyds.NvDsInferObjectDetectionInfo.cast(data)