NvDsLabelInfo¶
- class pyds.NvDsLabelInfo¶
Holds information of label metadata in the classifier.
- Variables:
base_meta –
NvDsBaseMeta
, base_metanum_classes – int, Number of classes of the given label.
result_label – An array to store the string describing the label of the classified object.
pResult_label – str, An object to store the result label if it exceeds MAX_LABEL_SIZE bytes.
result_class_id – int, class_id of the best result.
label_id – int, Holds the label ID in case there are multiple label classifiers.
result_prob – float, Probability of best result.
- cast(*args, **kwargs)¶
Overloaded function.
cast(self: capsule) -> pyds.NvDsLabelInfo
cast given object/data to
NvDsLabelInfo
, call pyds.NvDsLabelInfo.cast(data)cast(self: int) -> pyds.NvDsLabelInfo
cast given object/data to
NvDsLabelInfo
, call pyds.NvDsLabelInfo.cast(data)