https://github.com/danini/graph-cut-ransac
sudo apt-get install libopencv-dev
sudo apt-get install libeigen3-dev
git clone https://github.com/danini/graph-cut-ransac
cd graph-cut-ransac
python ./setup.py install
Python 3.9.16 (main, Mar 8 2023, 14:00:05)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygcransac
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dot/dev/miniconda3/envs/test3/lib/python3.9/site-packages/pygcransac-0.1-py3.9-linux-x86_64.egg/pygcransac/__init__.py", line 1, in <module>
from .pygcransac import *
ImportError: /home/dot/dev/miniconda3/envs/test3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/libgdal.so.30)
>>> exit()
conda install -c conda-forge gcc=12.1.0
Python 3.9.16 (main, Mar 8 2023, 14:00:05)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygcransac
>>> exit()