fix bug
This commit is contained in:
1 parent
49cc1e242e
commit
960769689b
9 files changed
-12499
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user