From 2a6908c849b3c9cda6655389103d6b5ad6180bbb Mon Sep 17 00:00:00 2001 From: uvos Date: Mon, 17 Jun 2024 22:19:42 +0200 Subject: [PATCH] SmartCrop: fix debug image not being outputed in all cases where it should --- SmartCrop/main.cpp | 20 ++++++++------------ SmartCrop/yolo.h | 6 +++--- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/SmartCrop/main.cpp b/SmartCrop/main.cpp index c90fd00..5f06302 100644 --- a/SmartCrop/main.cpp +++ b/SmartCrop/main.cpp @@ -302,7 +302,7 @@ void pipeline(const std::filesystem::path& path, const Config& config, Yolo& yol { detection.priority += 10; hasmatch = true; - detections.push_back({0, "Face", match.confidence, 20, {255, 0, 0}, match.rect}); + //detections.push_back({0, "Face", match.confidence, 20, {255, 0, 0}, match.rect}); } } Log(Log::DEBUG)<> classes;