Processes the raw detection results and returns the most likely class.

get_classification(detections, threshold = 0.1)

Arguments

detections

A list of detection results from detect_image.

threshold

Confidence threshold for considering a detection valid.

Value

A character string: "animal", "person", "vehicle", or "blank".