VvasInferDetection holds the detection result for a single detected object.
It is pointed to by VvasInferResult.data when
infer_result_type == VVAS_INFER_RESULT_DETECTION.
Definition
typedef struct {
VvasBoundingBox bbox;
char *label;
int class_id;
double probability;
char *obj_track_label;
} VvasInferDetection;
Members
bboxBounding box coordinates and display color for the detected object.
labelHuman-readable class label string (for example,
"car","person"), orNULLif no label is available.class_idNumerical class index corresponding to
label.probabilityDetection confidence score, typically in the range [0.0, 1.0].
obj_track_labelTracker-assigned label for this object across frames.
NULLwhen tracking is not in use.