mfxox / ILCC

Intensity-based_Lidar_Camera_Calibration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looking for support to install python-pcl and and run pcd_corners_est.detect_pcd_corners() on Ubuntu 22.04

Samer-Docs opened this issue · comments

Hi all,

I am trying to run ILCC for calibration between panoramic camera and HDL32 LiDAR. I am still in the compilation face and tried to run one of the available examples.
I installed ILCC and opened it as a PyCharm project. The following requirements in requirements file were installed properly:

PyYAML>=3.12
numpy>=1.12.1
sklearn>=0.0
scipy>=0.19.0
transforms3d>=0.3
matplotlib>=2.0.0
Cython
boost
pcl

Note: the installed version are PCL 1.12 and boost 1.74 and I am using Python3 on Ubuntu 22.04.1 LTS.

I couldn't install python-pcl as the setup.py file set for an older version of pcl. I replaced manually "pcl_version == '-1.9'" by "pcl_version == '-1.12'" in setup.py, but this doesn't help and the command python3 setup.py install lead to errors as you can see in the attached snapshot problem1.png.

However, I managed to run img_corners_est.detect_img_corners() and it works fine, but I couldn't run pcd_corners_est.detect_pcd_corners() which lead to the error:

File "/home/samer/Desktop/ILCC/ILCC/pcd_corners_est.py", line 751, in seg_pcd
import pcl
ModuleNotFoundError: No module named 'pcl'

More details are in the attached snapshot problem2.png. Did you face such a problem before? or manage to install and compile ILCC recently?

Thanks in advance
Samer
problem1
problem2
/80517101/209473849-4b04b904-912e-4662-9fcf-c71b1f30048a.png)

Hey, Is this error resolved cause I too am having issues with importing pcl for python. Is there any proper command or file that needs to be downloaded?