mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
chore: 待部署区识别debug时m_image_draw增加冷却中文本
This commit is contained in:
@@ -129,6 +129,13 @@ std::vector<battle::DeploymentOper> BattlefieldMatcher::deployment_analyze() con
|
||||
Log.error("oper is available, but with cooling");
|
||||
}
|
||||
|
||||
#ifdef ASST_DEBUG
|
||||
if (oper.cooling) {
|
||||
cv::putText(m_image_draw, "cooling", cv::Point(oper.rect.x, oper.rect.y - 20), 1, 1.2,
|
||||
cv::Scalar(0, 0, 255));
|
||||
}
|
||||
#endif
|
||||
|
||||
if (m_object_of_interest.oper_cost) {
|
||||
Rect cost_rect = correct_rect(flag_res.rect.move(cost_move), m_image);
|
||||
oper.cost = oper_cost_analyze(cost_rect);
|
||||
|
||||
Reference in New Issue
Block a user