From 1b5dbd9939e74a8c524f109ae27397de76f5701a Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Tue, 27 Jan 2015 13:13:39 -0500 Subject: [PATCH] Handling missing points in eval --- openbr/core/eval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/core/eval.cpp b/openbr/core/eval.cpp index de11299..ef5bc1c 100755 --- a/openbr/core/eval.cpp +++ b/openbr/core/eval.cpp @@ -1084,7 +1084,7 @@ float EvalLandmarking(const QString &predictedGallery, const QString &truthGalle if (truthIndex == -1) qFatal("Could not identify ground truth for file: %s", qPrintable(predictedName)); const QList predictedPoints = predicted[i].file.points(); const QList truthPoints = truth[truthIndex].file.points(); - if (predictedPoints.size() != truthPoints.size()) { + if (predictedPoints.size() != truthPoints.size() || truthPoints.contains(QPointF(-1,-1))) { skipped++; continue; } -- libgit2 0.21.4