diff --git a/openbr/core/evalutils.cpp b/openbr/core/evalutils.cpp index dae094c..cc908ac 100644 --- a/openbr/core/evalutils.cpp +++ b/openbr/core/evalutils.cpp @@ -60,7 +60,7 @@ QList EvalUtils::getDetections(const DetectionKey &key, const File &f dets.append(Detection(rects[i], filePath, confidences[i])); } } else if (key.type == DetectionKey::Rect) { - dets.append(Detection(f.get(key), filePath, isTruth ? -1 : f.get("Confidence", -1))); + dets.append(Detection(f.get(key), filePath, isTruth ? -1 : f.get("Confidence", -1), f.get("Ignore", false), f.get("Pose", "Frontal"))); } else if (key.type == DetectionKey::XYWidthHeight) { const QRectF rect(f.get(key+"_X"), f.get(key+"_Y"), f.get(key+"_Width"), f.get(key+"_Height")); dets.append(Detection(rect, filePath, isTruth ? -1 : f.get("Confidence", -1), f.get("Ignore", false), f.get("Pose", "Frontal")));