python-pcl
python-pcl copied to clipboard
the running errors of your example!
ubuntu16.04 pcl 1.7.2 Cython 0.21.2 I run your example
import numpy as np p = pcl.PointCloud(np.array([[1, 2, 3], [3, 4, 5]], dtype=np.float32)) seg = p.make_segmenter() seg.set_model_type(pcl.SACMODEL_PLANE) seg.set_method_type(pcl.SAC_RANSAC) indices, model = seg.segment()
in github and give me the follwoing errors: [pcl::SampleConsensusModel::getSamples] Can not select 0 unique points out of 2! [pcl::RandomSampleConsensus::computeModel] No samples could be selected! [pcl::SACSegmentation::segment] Error segmenting the model! No solution found.
Someone know how to solve this problem? Thanks a lot