-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
efficient_RANSAC: Executed ends with segmentation fault #158
Comments
The normal map must be added before doing anything related to normals, see the documentation and the Point Set 3 example of the bindings. |
Many thanks for your help! I added the normal map to my modified example and it works fine now. Whenever feeding the function with points and normals, I get segmentation faults. The strange thing is that if I move the points and normals into a text file with .pwn extension, the example script works with it. Also, if I don't reload the file as in the latest version of my example script and convert every value into floats, it still crashes. The vertices' coordinates are originally saved in a Numpy array and their normals is calculated using cross product and finally normalized. Below a link of the code I'm running here. I personally don't see any difference to the Shape_Detection example. It would be great, if you could take a look! 😄 Regarding this and the error about the missing normal map, it would be great, if the CGAL won't crash and show an error message instead I think. Seeing these segmentation faults make me scared actually 😅 |
At the beginning of |
See #157
The text was updated successfully, but these errors were encountered: