UPDATE Vision box:修改

This commit is contained in:
HJW
2024-10-09 15:57:01 +08:00
parent b5ca028199
commit 1feb28b68d
2 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,6 @@ class Detection:
box_point_x4, box_point_y4, box_point_z4 = remove_nan_mean_value(pm, box[3][0][1], box[3][0][0])
else:
pass
x_rotation_center = int((box[0][0][0] + box[1][0][0] + box[2][0][0] + box[3][0][0]) / 4)
y_rotation_center = int((box[0][0][1] + box[1][0][1] + box[2][0][1] + box[3][0][1]) / 4)
point_x, point_y, point_z = remove_nan_mean_value(pm, y_rotation_center, x_rotation_center)