Surface matching detector.trainModel(pc) segmentation fault
Hello everyone, I have some problems in executing the surface matching example: if I run the algorithm with the input model file and scene file provided in the samples/data directory, then everything works fine. If I switch to an other model file, it crashes when executing the instruction
detector.trainModel(pc)
returning a Segmentation fault error. I have tried to execute the code with several other models, but the result is always the same. Also, I have checked the model files, and they contain the same information (almost same number of vertices, faces, no texture, etc.).
Does anyone have the same problem?
Regards Denis
Have you found a solution yet? I'm getting a seg fault at
detector.match(pcTest, results, 1.0/40.0, 0.05);
I've been able to get passed the segfaults above but am now getting one at the ICP step. Solution is to save the ply point clouds in ASCII format. In meshlab when saving, make sure to deselect save as Binary.