diff --git a/src/yolo_console_dll.cpp b/src/yolo_console_dll.cpp index e70f1deb..7cc82cc2 100644 --- a/src/yolo_console_dll.cpp +++ b/src/yolo_console_dll.cpp @@ -97,7 +97,11 @@ int main() else for (std::string line; file >> line;) { std::cout << line << std::endl; - show_result(detector.detect(cv::imread(line)), obj_names); + cv::Mat mat_img = cv::imread(line); + std::vector result_vec = detector.detect(mat_img); + show_result(result_vec, obj_names); + //draw_boxes(mat_img, result_vec, obj_names); + //cv::imwrite("res_" + line, mat_img); } }