HorizonNet icon indicating copy to clipboard operation
HorizonNet copied to clipboard

the result seems to be inversed

Open shi-yan opened this issue 4 years ago • 2 comments

This is the 360 photo, as you can see, when facing the wall that has the main entrance, the main entrance should be on the right hand side.

demo2_aligned_rgb

the result is inversed along one direction. The door is now on the left hand side

Screen Shot 2020-02-08 at 10 03 32 PM

shi-yan avatar Feb 09 '20 06:02 shi-yan

This repo visualize the layout via point cloud. Adding a negative sign to the final point cloud's x (or y, or z) could be an easy fix.

sunset1995 avatar Feb 10 '20 04:02 sunset1995

edit layout_viewer.py

# Prepare points cloud   
# xs * -1  point cloud mirroring
all_xyz = np.stack([xs * -1, ys, zs], -1).reshape(-1, 3)

# line_set  point cloud mirroring  x = -x  
wf_points = [[-x, y, floor_z] for x, y in floor_xy] +\[[-x, y, ceil_z] for x, y in floor_xy]

Allvirus avatar Apr 01 '20 07:04 Allvirus