From eab13b04eba84d025ccd29d23af9d439774bfb99 Mon Sep 17 00:00:00 2001 From: mbsaloka Date: Sun, 20 Oct 2024 20:02:00 +0700 Subject: [PATCH] fix: comment latency test --- src/ninshiki_cpp/detector/dnn_detector.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ninshiki_cpp/detector/dnn_detector.cpp b/src/ninshiki_cpp/detector/dnn_detector.cpp index cad62eb..5c1d5d6 100644 --- a/src/ninshiki_cpp/detector/dnn_detector.cpp +++ b/src/ninshiki_cpp/detector/dnn_detector.cpp @@ -115,9 +115,10 @@ void DnnDetector::detection(const cv::Mat & image, float conf_threshold, float n total_latency += latency.count(); - printf("Inference time: %.2f ms, %d\n", latency.count(), ++iterations); - printf("Average latency: %.2f ms\n", total_latency / iterations); - printf("--------------------------------\n"); + // Print Inference Time + // printf("Inference time: %.2f ms, %d\n", latency.count(), ++iterations); + // printf("Average latency: %.2f ms\n", total_latency / iterations); + // printf("--------------------------------\n"); } void DnnDetector::detect_darknet(const cv::Mat & image, float conf_threshold, float nms_threshold)