-
We recommand you to use Anaconda to create the environment. Then, you can setup the environnment with:
conda env create -n floorplan_label
And directly run to install the packages.
pip install -r requirement.txt
- python >= 3.7
- PyQt5
- numpy
- plyfile
- opencv-python
-
Please install MeshLab for further visualization. You can find the install package here.
python app.py PLY_DATA_DIR OUTPUT_DIR
This will read all .ply
files in PLY_DATA_DIR
.
Currently, the output annotation will be saved as [SCENE_NAME].json
in OUTPUT_DIR
where SCENE_NAME
is the name of the .ply
file.
- Left-click the point cloud to label corners. Right-click undo the labeling
W
,A
,S
,D
to move point cloudE
,R
to rotate point cloud- Scroll to zoom in and out
- Click
room
oraxis
button on bottom right to switch labeling mode - Click
save
button to save result P
: previous scene.N
: next scene- The bottom panel shows the height for the two slice. Users can adjust the values to view the different slice from the projection. The thickness for each slice is set as 0.1 as default.