mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
chore: Auto update by pre-commit hooks [skip changelog]
This commit is contained in:
@@ -11,14 +11,17 @@
|
||||
|
||||
using namespace asst;
|
||||
|
||||
VisionHelper::VisionHelper(const cv::Mat& image, const Rect& roi, Assistant* inst)
|
||||
: InstHelper(inst), m_image(image)
|
||||
VisionHelper::VisionHelper(const cv::Mat& image, const Rect& roi, Assistant* inst) :
|
||||
InstHelper(inst),
|
||||
m_image(image)
|
||||
#ifdef ASST_DEBUG
|
||||
,
|
||||
m_image_draw(image.clone())
|
||||
,
|
||||
m_image_draw(image.clone())
|
||||
#endif
|
||||
, m_roi(correct_rect(roi, image))
|
||||
{}
|
||||
,
|
||||
m_roi(correct_rect(roi, image))
|
||||
{
|
||||
}
|
||||
|
||||
void VisionHelper::set_image(const cv::Mat& image)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user