Commit 6c3e1d10 authored by yinchimaoliang's avatar yinchimaoliang
Browse files

fix l to length

parent f61c515b
...@@ -179,7 +179,8 @@ def extract_sunrgbd_data(idx_filename, ...@@ -179,7 +179,8 @@ def extract_sunrgbd_data(idx_filename,
try: try:
# Find all points in this object's OBB # Find all points in this object's OBB
box3d_pts_3d = sunrgbd_utils.my_compute_box_3d( box3d_pts_3d = sunrgbd_utils.my_compute_box_3d(
obj.centroid, np.array([obj.l, obj.w, obj.h]), obj.centroid,
np.array([obj.length, obj.width, obj.height]),
obj.heading_angle) obj.heading_angle)
pc_in_box3d, inds = sunrgbd_utils.extract_pc_in_box3d( pc_in_box3d, inds = sunrgbd_utils.extract_pc_in_box3d(
pc_upright_depth_subsampled, box3d_pts_3d) pc_upright_depth_subsampled, box3d_pts_3d)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment