diff --git a/deploy/cpp_infer/include/paddleocr.h b/deploy/cpp_infer/include/paddleocr.h index c2af4b29e579088e9dc1ed817de11be8cc3ff4fe..225672ecd1456dccd048ff7bbfa94ce757be303e 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);