diff --git a/openbr/core/evalutils.cpp b/openbr/core/evalutils.cpp index 5b84663..ac49b6a 100644 --- a/openbr/core/evalutils.cpp +++ b/openbr/core/evalutils.cpp @@ -51,14 +51,14 @@ QList EvalUtils::getDetections(const DetectionKey &key, const File &f if (pose.contains("Angle")) pose = "Frontal"; - QString label = f.get("Label", ""); + QString label = f.get("ObjectType", "").toLower(); const QString filePath = f.path() + "/" + f.fileName(); QList dets; if (key.type == DetectionKey::RectList) { QList rects = f.rects(); QList confidences = f.getList("Confidences", QList()); - QList labels = f.getList("Labels", QList()); + QList labels = f.getList("ObjectTypes", QList()); if (!isTruth && rects.size() != confidences.size()) qFatal("You don't have enough confidence. I mean, your detections don't all have confidence measures."); if (!labels.empty() && rects.size() != labels.size()) @@ -263,7 +263,7 @@ QStringList EvalUtils::computeDetectionResults(const QList &d float TP = 0, FP = 0, prevFP = -1, prevTP = -1; QList FARsToOutput; - FARsToOutput << 1 << .5 << .2 << .1 << .02 << .01 << .001; + FARsToOutput << 10 << 1 << .5 << .2 << .1 << .02 << .01 << .001; QDebug debug = qDebug(); debug.noquote();