Skip to content

Commit ea4638f

Browse files
authored
Merge pull request #177 from kirilllzaitsev/feature/conf_matrix
Add ConfusionMatrix to EvaluationAPI
2 parents 20954a2 + 4b38634 commit ea4638f

File tree

8 files changed

+808
-4
lines changed

8 files changed

+808
-4
lines changed

docs/metrics/detection.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## ConfusionMatrix
2+
3+
:::supervision.metrics.detection.ConfusionMatrix

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ nav:
3939
- Polygon Zone: detection/tools/polygon_zone.md
4040
- Dataset:
4141
- Core: dataset/core.md
42+
- Metrics:
43+
- Detection: metrics/detection.md
4244
- Draw:
4345
- Utils: draw/utils.md
4446
- Utils:

supervision/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from supervision.draw.utils import draw_filled_rectangle, draw_polygon, draw_text
2626
from supervision.geometry.core import Point, Position, Rect
2727
from supervision.geometry.utils import get_polygon_center
28+
from supervision.metrics.detection import ConfusionMatrix
2829
from supervision.utils.file import list_files_with_extensions
2930
from supervision.utils.image import ImageSink, crop
3031
from supervision.utils.notebook import plot_image, plot_images_grid

supervision/metrics/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)