From f46fec380106288c17ccd4db661787891f76b085 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Mon, 26 Oct 2015 16:24:28 -0400 Subject: [PATCH] More detection eval output --- openbr/core/eval.cpp | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/openbr/core/eval.cpp b/openbr/core/eval.cpp index 3b19938..c7dcf66 100755 --- a/openbr/core/eval.cpp +++ b/openbr/core/eval.cpp @@ -825,16 +825,25 @@ static QStringList computeDetectionResults(const QList &detec if (prevFP / numImages < 0.1 && FP / numImages > 0.1 && discrete) { qDebug("TAR @ FAR => %f : 0.1", TP / totalTrueDetections); qDebug("Confidence: %f", detection.confidence); + qDebug("TP vs. FP: %f to %f", TP, FP); } else if (prevFP / numImages < 0.01 && FP / numImages > 0.01 && discrete) { qDebug("TAR @ FAR => %f : 0.01", TP / totalTrueDetections); qDebug("Confidence: %f", detection.confidence); + qDebug("TP vs. FP: %f to %f", TP, FP); + } else if (prevFP / numImages < 0.001 && FP / numImages > 0.001 && discrete) { + qDebug("TAR @ FAR => %f : 0.001", TP / totalTrueDetections); + qDebug("Confidence: %f", detection.confidence); + qDebug("TP vs. FP: %f to %f", TP, FP); } + points.append(DetectionOperatingPoint(TP, FP, totalTrueDetections, numImages)); prevFP = FP; } } } + if (discrete) qDebug("Total TP vs. FP: %f to %f", TP, FP); + const int keep = qMin(points.size(), Max_Points); if (keep < 1) qFatal("Insufficient points."); -- libgit2 0.21.4