add default value

This commit is contained in:
WenmuZhou
2022-09-19 11:00:42 +00:00
parent bb0955dd95
commit a166e54aca
+2 -1
View File
@@ -48,7 +48,8 @@ public:
bool det = true,
bool rec = 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 benchmark_log(int img_num);