mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 自动战斗击杀数识别错误
This commit is contained in:
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user