fix: 自动战斗击杀数识别错误

This commit is contained in:
status102
2026-01-01 14:18:46 +08:00
parent 0943c48f4e
commit 2ecb2b7206

View File

@@ -279,7 +279,7 @@ BattlefieldMatcher::MatchResult<std::pair<int, int>> BattlefieldMatcher::kills_a
TemplDetOCRer kills_analyzer(m_image);
kills_analyzer.set_task_info("BattleKillsFlag", "BattleKills");
kills_analyzer.set_replace(Task.get<OcrTaskInfo>("NumberOcrReplace")->replace_map);
kills_analyzer.set_ocr_use_raw(true);
kills_analyzer.set_ocr_use_raw(false);
auto kills_opt = kills_analyzer.analyze();
if (!kills_opt) {
return {};