if (!viewer.wasStopped()) {
viewer.showCloud (cloud);
if( save_one ) {
for (int i = 0; i < 3; i++) {
this->find(cloud, models_filenames[i]);
}
}
}
}
Im having problems how to declare: save_one, models_filenames and also an error C2664: 'ObjectDetector::find' : Cannot convert parameter 1 from 'const boost::shared_ptr<T>' to 'boost::shared_ptr<T> &' with
2> [
2> T=const pcl::PointCloud<pcl::PointXYZRGBA>
2> ]