31 lines
952 B
Markdown
31 lines
952 B
Markdown
---
|
|
comments: true
|
|
description: 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:
|
|
|
|
```bash
|
|
pip install "supervision[metrics]"
|
|
```
|
|
|
|
<div class="md-typeset">
|
|
<h2><a href="#supervision.metrics.mean_average_precision.MeanAveragePrecision">MeanAveragePrecision</a></h2>
|
|
</div>
|
|
|
|
:::supervision.metrics.mean_average_precision.MeanAveragePrecision
|
|
|
|
<div class="md-typeset">
|
|
<h2><a href="#supervision.metrics.mean_average_precision.MeanAveragePrecisionResult">MeanAveragePrecisionResult</a></h2>
|
|
</div>
|
|
|
|
:::supervision.metrics.mean_average_precision.MeanAveragePrecisionResult
|
|
|
|
<div class="md-typeset">
|
|
<h2><a href="#supervision.dataset.formats.coco.get_coco_class_index_mapping">get_coco_class_index_mapping</a></h2>
|
|
</div>
|
|
|
|
:::supervision.dataset.formats.coco.get_coco_class_index_mapping
|