diff --git a/openbr/core/eval.cpp b/openbr/core/eval.cpp index 05ce85d..74d79ca 100644 --- a/openbr/core/eval.cpp +++ b/openbr/core/eval.cpp @@ -383,13 +383,19 @@ static QStringList computeDetectionResults(const QList &detec } const int keep = qMin(points.size(), Max_Points); - if (keep < 2) qFatal("Insufficient points."); + if (keep < 1) qFatal("Insufficient points."); QStringList lines; lines.reserve(keep); - for (int i=0; i