Open wingvortex opened 2 years ago
Hi, could you try to check that your enviroments python version is the same with the python version you used to build the library?
Hi, thanks! It is the issue of the python version! However, when I run your python example with the default params, no plane was detected. And I played with the params, it was easy to crash. Could you give some advice on how to set these params? Especially along with different voxel sizes?
Could you paste the code snippet or provide a link of your data? I can help you to check the issue if possible.
I did not modify anything in the demo code, just run python test_primitives_fitting.py --file_path 'test1.ply'
, here the point cloud is located on your repo: https://github.com/yuecideng/Multiple_Planes_Detection/blob/master/Data/test1.ply
Although it detects one plane [-0.22253938 0.01703842 0.9747748 0.14553364], the final visualization seems totally wrong, these colorized points look like outliers instead of a detected plane.
Then, I played with the params, for example, with --voxel_size 0.02 --dist_thresh 0.1
, the program crashed with the error '1230529 segmentation fault (core dumped)'
Thanks for your interest. I will check that if I get some bandwidth. Note that this project will not be maintained in the future. You can use segmentation
and ransac
in Misc3D
to get the same functionality as primitives fitting.
Hi, when I run
import primitives_fitting as pf,
I got the this error: ModuleNotFoundError: No module named 'primitives_fitting.py_primitives_fitting'Since I only need the primitives fitting, so it is better to install this lib instead of Misc3D. I followed all your steps, except using pre-built open3d library from official website. The installation is successful. The python link path is added.
Could you give any hint why I have this error?