fix: 修复抄作业干员识别错误

This commit is contained in:
MistEO
2023-01-14 00:56:15 +08:00
parent e589e335b8
commit 0e5a2fe465
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ bool asst::BattleHelper::update_deployment(bool init, const cv::Mat& reusable)
if (det_name.empty()) {
Log.warn("ocr with det model failed");
}
else if (BattleData.is_name_invalid(det_name)) {
else if (!BattleData.is_name_invalid(det_name)) {
Log.info("use ocr with det", det_name);
name = det_name;
}