mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
perf.更新缩放图像的插值算法
This commit is contained in:
@@ -512,7 +512,7 @@ cv::Mat asst::Controller::get_resized_image() const
|
||||
return cv::Mat(dsize, CV_8UC3);
|
||||
}
|
||||
cv::Mat resized_mat;
|
||||
cv::resize(m_cache_image, resized_mat, dsize);
|
||||
cv::resize(m_cache_image, resized_mat, dsize, 0.0, 0.0, cv::INTER_AREA);
|
||||
return resized_mat;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user