From 0527b02a72ea207aedf7f1aefbefd48ac2259f1d Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Mon, 4 Apr 2022 06:24:18 +0000 Subject: [PATCH] repleace # with // --- deploy/cpp_infer/external-cmake/auto-log.cmake | 1 + deploy/cpp_infer/src/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/cpp_infer/external-cmake/auto-log.cmake b/deploy/cpp_infer/external-cmake/auto-log.cmake index becbff0f..c998b3b1 100644 --- a/deploy/cpp_infer/external-cmake/auto-log.cmake +++ b/deploy/cpp_infer/external-cmake/auto-log.cmake @@ -6,6 +6,7 @@ set(FETCHCONTENT_BASE_DIR "${CMAKE_CURRENT_BINARY_DIR}/third-party") FetchContent_Declare( extern_Autolog PREFIX autolog + # If you don't have access to github, replace it with https://gitee.com/Double_V/AutoLog GIT_REPOSITORY https://github.com/LDOUBLEV/AutoLog.git GIT_TAG main ) diff --git a/deploy/cpp_infer/src/main.cpp b/deploy/cpp_infer/src/main.cpp index b7b0b248..efc1e50c 100644 --- a/deploy/cpp_infer/src/main.cpp +++ b/deploy/cpp_infer/src/main.cpp @@ -107,7 +107,7 @@ int main_det(std::vector cv_all_img_names) { std::vector det_times; det.Run(srcimg, boxes, &det_times); - //// visualization + // visualization if (FLAGS_visualize) { std::string file_name = Utility::basename(cv_all_img_names[i]); Utility::VisualizeBboxes(srcimg, boxes, FLAGS_output + "/" + file_name); @@ -223,7 +223,7 @@ int main_system(std::vector cv_all_img_names) { << cv_all_img_names[i] << endl; exit(1); } -#det + // det std::vector>> boxes; std::vector det_times; std::vector rec_times; @@ -237,7 +237,7 @@ int main_system(std::vector cv_all_img_names) { time_info_det[1] += det_times[1]; time_info_det[2] += det_times[2]; -#rec + // rec std::vector img_list; for (int j = 0; j < boxes.size(); j++) { cv::Mat crop_img; -- GitLab