mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
@@ -15,6 +15,10 @@ using namespace asst;
|
||||
MultiMatcher::ResultsVecOpt MultiMatcher::analyze() const
|
||||
{
|
||||
auto match_results = Matcher::preproc_and_match(make_roi(m_image, m_roi), m_params);
|
||||
if (match_results.empty()) {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
const auto& [matched, templ, templ_name] = match_results.front();
|
||||
|
||||
if (matched.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user