This commit is contained in:
xinyang
2019-07-08 22:34:56 +08:00
parent 49cc1e242e
commit 960769689b
9 changed files with 0 additions and 12499 deletions

View File

@@ -337,11 +337,5 @@ bool ArmorFinder::stateSearchingTarget(cv::Mat &src) {
armor_box = armor_boxes[0];
boxid = -1;
}
if (split.size() == cv::Size(320, 240)) {
armor_box.x *= 2;
armor_box.y *= 2;
armor_box.width *= 2;
armor_box.height *= 2;
}
return sendBoxPosition();
}