Ask Your Question

Revision history [back]

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