fix: 刷理智战斗后掉落识别代理倍率次数中文关键词使用原图, 以避免阈值过滤造成的边缘细节丢失

fix #12910
This commit is contained in:
status102
2025-06-07 17:26:37 +08:00
parent 589f7bf99f
commit 4e2c1027d2

View File

@@ -85,6 +85,7 @@ bool asst::StageDropsImageAnalyzer::analyze_times()
LogTraceFunction;
RegionOCRer check_analyzer(m_image);
check_analyzer.set_task_info("StageDrops-TimesCheck");
check_analyzer.set_use_raw(true);
if (!check_analyzer.analyze()) {
m_times = -1; // not found
Log.info(__FUNCTION__, "Times not found");
@@ -105,6 +106,7 @@ bool asst::StageDropsImageAnalyzer::analyze_times()
RegionOCRer rec_analyzer(m_image);
rec_analyzer.set_task_info("StageDrops-TimesRec");
rec_analyzer.set_use_raw(true);
if (!rec_analyzer.analyze()) {
m_times = -2; // recognition failed
Log.error(__FUNCTION__, "recognition failed");