Skip to content

Instantly share code, notes, and snippets.

View sadjadasghari's full-sized avatar
:shipit:

Sadjad Asghari Esfeden sadjadasghari

:shipit:
View GitHub Profile
@sadjadasghari
sadjadasghari / calculate_mean_ap.py
Last active February 21, 2022 15:42 — forked from tarlen5/calculate_mean_ap.py
Calculate mean Average Precision (mAP) for a set of ground truth and predicted bounding boxes for a set of images.
"""
author: Timothy C. Arlen
date: 28 Feb 2018
revised by: Sadjad Asghari Esfeden
date: 10 Sep 2018
Calculate Mean Average Precision (mAP) for a set of bounding boxes corresponding to specific
image Ids. Usage: