def project_to_roi3d(top_rois): num = len(top_rois) # rois3d = np.zeros((num,8,3)) rois3d = box.top_box_to_box3d(top_rois[:, 1:5]) return rois3d