Solved – how to find mean average precision of object detection algorithms

average-precisionmachine learningmodel-evaluationobject detectionprecision-recall

To start with, I would like to mention another question which was asked in a better way. But my problem differs.
pseudo code for the algorithms

I have four different object detection algorithms which I have gathered from Internet. I can share one of them. My dataset is really simple one. I would like to first assign Ground Truth bounding box to my images and then compute IOU and lastly compute the mean average precision of the models in python. Kindly share python code with me. Which I should integrate in the algorithms to get the results.

COVID-19: Face Mask Detector with OpenCV, Keras/TensorFlow, and Deep Learning

I would like to get complete guidance on this.

Best Answer

See mean-average-precision library here: https://pypi.org/project/mean-average-precision/

Related Question