在测试layout Parser功能中需要使用Detectron2和tesseract。
Layout Parser installation document
source code install tesseract in centos7
# 安装libtool 2.4.6
wget http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
tar -zxf libtool-2.4.6.tar.gz
cd libtool-2.4.6
./configure --prefix=/usr
make
sudo make install
sudo ldconfig
libtool version mismatch error
# 使用anaconda可能会使autoconf和libtool不同源,除了这个以外,
# 检查
which libtool # anaconda
which autoconf # system
# remove system autoconf and usr conda install autoconf 和 automake
yum remove -y autoconf
conda install -c anaconda autoconf
conda install -c anaconda automake
# 补充
# 可能还会遇到 Cannot find pkg-config error
conda install pkgconfig
## 该错误的主要问题是 anaconda