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; }