From a166e54aca6439e312b99fcd397bdf42791307a8 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Mon, 19 Sep 2022 11:00:42 +0000 Subject: [PATCH] add default value --- deploy/cpp_infer/include/paddleocr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/cpp_infer/include/paddleocr.h b/deploy/cpp_infer/include/paddleocr.h index c2af4b29..225672ec 100644 --- a/deploy/cpp_infer/include/paddleocr.h +++ b/deploy/cpp_infer/include/paddleocr.h @@ -48,7 +48,8 @@ public: bool det = true, bool rec = true, bool cls = true); - std::vector ocr(cv::Mat img, bool det, bool rec, bool cls); + std::vector ocr(cv::Mat img, bool det = true, + bool rec = true, bool cls = true); void reset_timer(); void benchmark_log(int img_num); -- GitLab