diff --git a/deploy/cpp_infer/include/ocr_rec.h b/deploy/cpp_infer/include/ocr_rec.h index 32c0c9f77d557e69b07b48861bebc6e6552e3d01..d271b9b303795f79689bc85f4f739b29fac47ffe 100644 --- a/deploy/cpp_infer/include/ocr_rec.h +++ b/deploy/cpp_infer/include/ocr_rec.h @@ -66,7 +66,6 @@ public: // Load Paddle inference model void LoadModel(const std::string &model_dir); -// void Run(cv::Mat &img, std::vector *times); void Run(std::vector img_list, std::vector *times); private: diff --git a/deploy/cpp_infer/include/utility.h b/deploy/cpp_infer/include/utility.h index b6f68aee013d424c8ab58e5e3768159769dfa275..5797559f7550da6bb38b014c46c1492124a9e065 100644 --- a/deploy/cpp_infer/include/utility.h +++ b/deploy/cpp_infer/include/utility.h @@ -51,7 +51,6 @@ public: static cv::Mat GetRotateCropImage(const cv::Mat &srcimage, std::vector> box); - // 实现argsort功能 static std::vector argsort(const std::vector& array); }; diff --git a/deploy/cpp_infer/src/utility.cpp b/deploy/cpp_infer/src/utility.cpp index 49d3cb81ef7125ca8e40060cd39029b8e06a70a0..c3c7b8485520579e8e2a23ae03543e3a9fc821bf 100644 --- a/deploy/cpp_infer/src/utility.cpp +++ b/deploy/cpp_infer/src/utility.cpp @@ -147,7 +147,6 @@ cv::Mat Utility::GetRotateCropImage(const cv::Mat &srcimage, } } -// 实现argsort功能 std::vector Utility::argsort(const std::vector& array) { const int array_len(array.size());