NvDsLabelInfo

class pyds.NvDsLabelInfo(self: pyds.NvDsLabelInfo) → None

Holds information of label metadata in the classifier

property base_meta
cast(*args, **kwargs)

Overloaded function.

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

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

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

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

property label_id

label_id in case of multi label classifier

property num_classes

number of classes of the given label

property pResult_label

An object to store the result if it exceeds MAX_LABEL_SIZE bytes

property result_class_id

class_id of the best result

property result_label

an array to store the string describing the label of the classified object

property result_prob

probability of best result