fix: 尝试修复掉落识别闪退的问题

This commit is contained in:
zzyyyl
2023-10-02 20:25:44 +08:00
parent 762435d29b
commit b2dbdf8f19

View File

@@ -609,6 +609,7 @@ std::optional<asst::TextRect> asst::StageDropsImageAnalyzer::match_quantity_stri
}
Matcher analyzer(m_image);
analyzer.set_threshold(0.8);
analyzer.set_templ(templ);
analyzer.set_mask_range(1, 255, false, true);
analyzer.set_roi(roi);