add default value

pull/7648/head
WenmuZhou 2022-09-19 11:00:42 +00:00
parent bb0955dd95
commit a166e54aca
1 changed files with 2 additions and 1 deletions

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);