提交 a166e54a 编写于 作者: 文幕地方's avatar 文幕地方

add default value

上级 bb0955dd
...@@ -48,7 +48,8 @@ public: ...@@ -48,7 +48,8 @@ public:
bool det = true, bool det = true,
bool rec = true, bool rec = true,
bool cls = true); bool cls = true);
std::vector<OCRPredictResult> ocr(cv::Mat img, bool det, bool rec, bool cls); std::vector<OCRPredictResult> ocr(cv::Mat img, bool det = true,
bool rec = true, bool cls = true);
void reset_timer(); void reset_timer();
void benchmark_log(int img_num); void benchmark_log(int img_num);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册