VVAS Infer Classification¶
-
struct VvasInferClassification¶
Contains information on classification for each object
Definition
struct VvasInferClassification {
uint64_t classification_id;
int32_t class_id;
double class_prob;
char* class_label;
int32_t num_classes;
double* probabilities;
char** labels;
VvasColorInfo label_color;
};
Members
classification_idA unique id associated to this classification
class_idThe numerical id associated to the assigned class
class_probThe resulting probability of the assigned class. Typically ranges between 0 and 1
class_labelThe label associated to this class or NULL if not available
num_classesThe total amount of classes of the entire prediction
probabilitiesThe entire array of probabilities of the prediction
labelsThe entire array of labels of the prediction. NULL if not available
label_colorThe color of labels
-
struct VvasColorInfo¶
Contains information for color of the detected object
Definition
struct VvasColorInfo {
uint8_t red;
uint8_t green;
uint8_t blue;
uint8_t alpha;
};
Members
redR color component
greenG color component
blueB color component
alphaTransparency