NvDsInferAttribute

class pyds.NvDsInferAttribute

Holds information about one classified attribute.

Variables
  • atttributeIndexint, Index of the label. This index corresponds to the order of output layers specified in the outputCoverageLayerNames vector during initialization.

  • attributeValueint, Output for the label.

  • attributeConfidencefloat, Confidence level for the classified attribute.

  • attributeLabelstr, String label for the attribute. Memory for the string should not be freed.

cast(*args, **kwargs)

Overloaded function.

  1. cast(self: capsule) -> pyds.NvDsInferAttribute

cast given object/data to NvDsInferObjectDetectionInfo, call pyds.NvDsInferObjectDetectionInfo.cast(data)

  1. cast(self: int) -> pyds.NvDsInferAttribute

cast given object/data to NvDsInferObjectDetectionInfo, call pyds.NvDsInferObjectDetectionInfo.cast(data)