mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
feat.初步完成干员职业及费用识别
This commit is contained in:
@@ -95,7 +95,7 @@ bool asst::MultiMatchImageAnalyzer::multi_match_templ(const cv::Mat templ)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_mask_range.first == m_mask_range.second) {
|
||||
if (m_mask_range.first == 0 && m_mask_range.second == 0) {
|
||||
cv::matchTemplate(image_roi, templ, matched, cv::TM_CCOEFF_NORMED);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user