mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
feat: 再添加一些日志
This commit is contained in:
@@ -16,7 +16,7 @@ bool asst::MatchImageAnalyzer::analyze()
|
||||
{
|
||||
const cv::Mat templ = m_templ_name.empty() ? m_templ : TemplResource::get_instance().get_templ(m_templ_name);
|
||||
if (templ.empty()) {
|
||||
Log.error("templ is empty!");
|
||||
Log.error("templ is empty!", m_templ_name);
|
||||
return false;
|
||||
}
|
||||
return match_templ(templ);
|
||||
|
||||
@@ -21,7 +21,7 @@ bool asst::MultiMatchImageAnalyzer::analyze()
|
||||
|
||||
const cv::Mat templ = TemplResource::get_instance().get_templ(m_templ_name);
|
||||
if (templ.empty()) {
|
||||
Log.error("templ is empty!");
|
||||
Log.error("templ is empty!", m_templ_name);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user