art-programmer / PlaneNet

PlaneNet: Piece-wise Planar Reconstruction from a Single RGB Image
http://art-programmer.github.io/planenet.html
MIT License
403 stars 84 forks source link

In parse.py (data_preparation/) fitPlane not defined #17

Open KrugarMiner opened 5 years ago

KrugarMiner commented 5 years ago

Hi! I'm having some troubles running the code parse.py in the folder data_preparation. In the function readMesh, you do "plane=fitPlane(XYZ)" but fitPlane is not defined. How can i solve this problem? Thanks in advance!

art-programmer commented 5 years ago

Sorry for the super late response. I forgot to import the function. I just fixed the bug. Sorry for any inconvenience.

yangengt123 commented 5 years ago

Hi, I am trying to compile the c++ code for the data_preparation, but I got a error said

/usr/bin/x86_64-linux-gnu-ld: cannot find -lOpenMeshCore
/usr/bin/x86_64-linux-gnu-ld: cannot find -lOpenMeshTools
collect2: error: ld returned 1 exit status
CMakeFiles/Renderer.dir/build.make:103: recipe for target 'Renderer' failed
make[2]: *** [Renderer] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Renderer.dir/all' failed
make[1]: *** [CMakeFiles/Renderer.dir/all] Error 2
Makefile:83: recipe for target ''all' failed

Is there any solution for this? Thanks in advance!

mei123hao commented 4 years ago

Hi, I am trying to compile the c++ code for the data_preparation, but I got a error said

/usr/bin/x86_64-linux-gnu-ld: cannot find -lOpenMeshCore
/usr/bin/x86_64-linux-gnu-ld: cannot find -lOpenMeshTools
collect2: error: ld returned 1 exit status
CMakeFiles/Renderer.dir/build.make:103: recipe for target 'Renderer' failed
make[2]: *** [Renderer] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Renderer.dir/all' failed
make[1]: *** [CMakeFiles/Renderer.dir/all] Error 2
Makefile:83: recipe for target ''all' failed

Is there any solution for this? Thanks in advance!

Have you solved this problem? I meet the problem same as you!

mei123hao commented 4 years ago

I know what the problem is ? You should download the openmesh package and install it ! The package link is below:https://www.graphics.rwth-aachen.de/software/openmesh/download/ @yangengt123