HorizonNet
HorizonNet copied to clipboard
the result seems to be inversed
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.
the result is inversed along one direction. The door is now on the left hand side
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.
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]