Commit 78aaf0778d9dc15ff9df13911ef627944df5fa98
1 parent
8f1b2990
Added a few more operating points to evalDetection
Showing
1 changed file
with
8 additions
and
0 deletions
openbr/core/eval.cpp
| ... | ... | @@ -839,6 +839,14 @@ static QStringList computeDetectionResults(const QList<ResolvedDetection> &detec |
| 839 | 839 | qDebug("TAR @ FAR => %f : 1", TP / totalTrueDetections); |
| 840 | 840 | qDebug("Confidence: %f", detection.confidence); |
| 841 | 841 | qDebug("TP vs. FP: %f to %f", TP, FP); |
| 842 | + } else if (prevFP / numImages < 0.5 && FP / numImages >= 0.5 && discrete) { | |
| 843 | + qDebug("TAR @ FAR => %f : 0.5", TP / totalTrueDetections); | |
| 844 | + qDebug("Confidence: %f", detection.confidence); | |
| 845 | + qDebug("TP vs. FP: %f to %f", TP, FP); | |
| 846 | + } else if (prevFP / numImages < 0.2 && FP / numImages >= 0.2 && discrete) { | |
| 847 | + qDebug("TAR @ FAR => %f : 0.2", TP / totalTrueDetections); | |
| 848 | + qDebug("Confidence: %f", detection.confidence); | |
| 849 | + qDebug("TP vs. FP: %f to %f", TP, FP); | |
| 842 | 850 | } else if (prevFP / numImages < 0.1 && FP / numImages >= 0.1 && discrete) { |
| 843 | 851 | qDebug("TAR @ FAR => %f : 0.1", TP / totalTrueDetections); |
| 844 | 852 | qDebug("Confidence: %f", detection.confidence); | ... | ... |