zaiweizhang/H3DNet

Visualizations

Dhanalaxmi17 opened this issue · 2 comments

Hi @zaiweizhang and @GitBoSun,
Thank you for this repo.
I am trying to see the visualizations, but when I ran show_results_scannet.py, I could only get the bounding boxes, but how do I get the scene and bounding boxes on top of it. can you please help me to get this issue solved for me.
Thank you

image

if I use, tmp.xyz instead of xyzrgb in "pcd = o3d.io.read_point_cloud('tmp.xyzrgb')" I am getting this,
image,

Hi,
Thanks,
I could solve it by dividing pcd points with "np.array([1 , 1, 1,255, 255, 255])"

pt = np.load(os.path.join(GT_PATH, scan_name+'_vert.npy'))
b = np.array([1 , 1, 1,255, 255, 255]) # The number to divide in each column 
np.savetxt('tmp.xyz', pt[:,:6]/b)

image

Thank you :)