mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: 自动编队识别技能等级匹配失败
This commit is contained in:
@@ -721,6 +721,8 @@ bool asst::BattleFormationTask::check_and_select_skill(
|
||||
// 使用模板匹配检测重叠区域
|
||||
Matcher match(stitched_image);
|
||||
match.set_templ(make_roi(roi_image_new, cv::Rect { 0, 0, roi_image_new.cols, 30 }));
|
||||
match.set_method(MatchMethod::Ccoeff);
|
||||
match.set_threshold(0.8);
|
||||
if (!match.analyze()) {
|
||||
retry++;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user