Commit 67818edceeba5048b3668ca019c7f208209a5242

Authored by Scott Klum
1 parent 425001eb

Added recall output

Showing 1 changed file with 4 additions and 1 deletions
openbr/core/eval.cpp
@@ -842,7 +842,10 @@ static QStringList computeDetectionResults(const QList<ResolvedDetection> &detec @@ -842,7 +842,10 @@ static QStringList computeDetectionResults(const QList<ResolvedDetection> &detec
842 } 842 }
843 } 843 }
844 844
845 - if (discrete) qDebug("Total TP vs. FP: %f to %f", TP, FP); 845 + if (discrete) {
  846 + qDebug("Total TP vs. FP: %f to %f", TP, FP);
  847 + qDebug("Overall Recall (TP vs. possible TP): %f (%f vs. %d)", TP / totalTrueDetections, TP, totalTrueDetections);
  848 + }
846 849
847 const int keep = qMin(points.size(), Max_Points); 850 const int keep = qMin(points.size(), Max_Points);
848 if (keep < 1) qFatal("Insufficient points."); 851 if (keep < 1) qFatal("Insufficient points.");