Matterport3DLayoutAnnotation icon indicating copy to clipboard operation
Matterport3DLayoutAnnotation copied to clipboard

Incorrect UV Coordinates

Open lugg3 opened this issue 4 years ago • 2 comments

I've had a look at the label data and tried converting the uv coords to pixel coords by using u2coorx and v2coory functions in pano.py of LayoutNetv2 but something seems wrong.

The y value is almost always 336.98733086​, and the x values are all very close together.

Am I using the wrong methods for converting the coords or is there a general error in the label_data?

lugg3 avatar Nov 23 '20 10:11 lugg3

@lugg3 Hi, have you solved this question?

FocusK avatar Jan 10 '21 08:01 FocusK

I've overread the "We annotate on horizon line, then calculate the vertical position by cameraHeight and layoutHeight." part in the readme.

But that still leaves me with the question: How do I calculate the vertical position? I can't find any functions for this in the LayoutNetv2 repo.

lugg3 avatar Jan 11 '21 09:01 lugg3