mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
feat.完成基建技能目标检测
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
asst::AbstractImageAnalyzer::AbstractImageAnalyzer(const cv::Mat& image, const Rect& roi)
|
||||
: m_image(image),
|
||||
m_roi(empty_rect_to_full(roi, image))
|
||||
#ifdef LOG_TRACE
|
||||
,
|
||||
m_image_draw(image.clone())
|
||||
#endif
|
||||
{
|
||||
;
|
||||
}
|
||||
@@ -11,6 +15,9 @@ void asst::AbstractImageAnalyzer::set_image(const cv::Mat& image, const Rect& ro
|
||||
{
|
||||
m_image = image;
|
||||
m_roi = empty_rect_to_full(roi, image);
|
||||
#ifdef LOG_TRACE
|
||||
m_image_draw = image.clone();
|
||||
#endif
|
||||
}
|
||||
|
||||
void asst::AbstractImageAnalyzer::set_roi(const Rect& roi) noexcept
|
||||
|
||||
Reference in New Issue
Block a user