Skip to content

Kind detection

Single element of detections-based prediction (like object_detection_prediction)

Details

This kind represents single detection in prediction from a model that detects multiple elements (like object detection or instance segmentation model). It is represented as a tuple that is created from sv.Detections(...) object while iterating over its content. workflows utilises data property of sv.Detections(...) to keep additional metadata which will be available in the tuple. Some properties may not always be present. Take a look at documentation of object_detection_prediction, instance_segmentation_prediction, keypoint_detection_prediction kinds to discover which additional metadata are available.

More technical details about iterating over sv.Detections(...)