The following APIs allow access, modification, and update of inference metadata
structures produced by the vvas_xinfer GStreamer plug-in.
gst_inference_prediction_new()- Creates a new prediction node initialized to default values.gst_inference_prediction_new_full()- Creates a new prediction node and sets its bounding box.gst_inference_prediction_copy()- Performs a deep copy of a prediction node.gst_inference_prediction_ref()- Increases the reference count of a prediction node.gst_inference_prediction_unref()- Decreases the reference count; frees the node when it reaches zero.gst_inference_prediction_append()- Attaches a prediction node as a child of another node.gst_inference_prediction_get_children()- Retrieves all child nodes as a linked list.gst_inference_prediction_find()- Traverses the tree to find a node by prediction ID.gst_inference_prediction_to_string()- Serializes a prediction and its children to a JSON-like string.