perf: 优化自定义基建识别名字时候一堆warn日志的问题

This commit is contained in:
MistEO
2022-10-27 14:18:27 +08:00
parent 9d5f4a6861
commit dccb4efbb7
2 changed files with 5 additions and 4 deletions

View File

@@ -326,6 +326,7 @@ void asst::InfrastAbstractTask::order_opers_selection(const std::vector<std::str
OcrWithPreprocessImageAnalyzer name_analyzer;
name_analyzer.set_replace(ocr_replace);
name_analyzer.set_image(oper.name_img);
name_analyzer.set_expansion(0);
if (!name_analyzer.analyze()) {
continue;
}