fix bug
This commit is contained in:
1 parent
e1eb8b2590
commit
0b1f5ff47f
1 file changed
+1
@@ -156,6 +156,7 @@ bool ArmorFinder::findArmorBox(const cv::Mat &src, ArmorBox &box) {
|
|||||||
for (auto &one_box : armor_boxes) {
|
for (auto &one_box : armor_boxes) {
|
||||||
if (one_box.id != 0) {
|
if (one_box.id != 0) {
|
||||||
box = one_box;
|
box = one_box;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (save_labelled_boxes) {
|
if (save_labelled_boxes) {
|
||||||
|
|||||||
Reference in new issue
Block a user