- Extend active deprecation removals to 0.31.0 and align deprecated API docs, changelog, and warnings. - Add missing reference docs for VLM, conversion helpers, geometry, metrics extras, and tracker deprecation notices. - Raise when ImageSink cannot write an image and cover the failure path with a regression test. - Correct conversion and deprecated docs to match exported names and restore KeyPoints.confidence. - Add regression coverage for SUPERVISION_DEPRECATION_WARNING precedence and document ImageSink.save_image() failure behavior. * test: add validation and behavior tests for Color, Position, and polygon approximation adjustments --------- Co-authored-by: Codex <codex@openai.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
952 B
952 B
comments, description
| comments | description |
|---|---|
| true | API reference for MeanAveragePrecision — compute mAP for object detection benchmarking with boxes, masks, and oriented boxes. |
Mean Average Precision
Install the metrics extra before using this API:
pip install "supervision[metrics]"
:::supervision.metrics.mean_average_precision.MeanAveragePrecision
:::supervision.metrics.mean_average_precision.MeanAveragePrecisionResult
:::supervision.dataset.formats.coco.get_coco_class_index_mapping