Classification
ark_load_classification_model(model) => error code
Load an existing classification model on the AI Accelerator.
ark_set_classification_params(roi = struct(x=240.0, y=140.0, width=160.0, height=120.0)) => void
Configure parameters for the classification including a region of interest within the image.
ark_infer_classification() => error code, class (string) + score
Request a classification from the model, returns any relevant error codes, the label of the class detected, and the confidence level of the result.