Select to view content in your preferred language

"Compute Accuracy For Object Detection" does not find any "True Positives"

342
10
Jump to solution
05-07-2024 03:35 AM
rachbauer
New Contributor II

Hello everyone!

I encountered a problem with the Tool "Compute Accuracy For Object Detection" that does not make any sense to me. Maybe someone of you has any idea about this:

I created a MaskRCNN Model and used it to detect objects in a single image (for testing purposes). I want to see how well this model performs, which is why I use ground truth data of 50 images to compare my detection to (ground truth data covers the single image i used). I can clearly see, that some of my detections (pink) overlap with the ground truth data from that specific image (highlighted in cyan):

rachbauer_0-1715077978156.png

However, when i use "Compute Accuracy For Object Detection" it only shows false_positives and false_negative:

rachbauer_1-1715078006972.png

If anyone has any idea, it would be of great help! Thanks 🙂

0 Kudos
10 Replies
PavanYadav
Esri Contributor

This issue has been resolved by making sure both the Ground Truth Features, and the Detect Features contain the same class values. For example, if your Ground Truth Features have the class value "car" and the Detect Features has the class value "cars", the tool will treat them as two different classes.

Pavan Yadav
Product Engineer at Esri
AI for Imagery
Connect with me on LinkedIn!
Contact Esri Support Services