scantailor:https://github.com/scantailor/scantailor
scantailor_wiki:https://github.com/scantailor/scantailor/wiki/Quick-Start
安装依赖
1、安装GNU C++
sudo yum groupinstall “Development Tools"
包含
| 序号 | 包 |
|---|---|
| 1 | autoconf |
| 2 | automake |
| 3 | binutils |
| 4 | bison |
| 5 | flex |
| 6 | gcc |
| 7 | gcc-c++ |
| 8 | gettext |
| 9 | libtool |
| 10 | make |
| 11 | patch |
| 12 | pkgconfig |
| 13 | redhat-rpm-config |
| 14 | rpm-build |
| 15 | rpm-sign |
2、安装CMake
sudo yum install cmake
3、安装QT
qt版本大于等于4.4.0 小于5
sudo yum install libqtxdg-qt4-devel
4、安装scantailor依赖包
| Package | Version |
|---|---|
| libjpeg-turbo-devel | any |
| zlib-devel | any |
| libpng-devel | any |
| libtiff -devel | any |
| boost-devel | >=1.35 |
| libXrender-devel | any |
编译及运行scantailor
1、克隆
git clone https://github.com/scantailor/scantailor
2、编译
cd scantailor
cmake .
如果结尾包含以下信息,那么cmake成功,否则检查依赖
- Configuring done
- Generating done
接下来
make
sudo make install
3、启动
以下为2种使用方式
./scantailor-cli [options] <images|directory|-> <output_directory>
或者
./scantailor-cli [options] <project_file> [output_directory]
输出的图片为.tif格式
本文介绍如何从源代码安装Scantailor,并提供详细的依赖安装步骤,包括GNUC++、CMake、QT等。此外,还说明了如何编译和运行Scantailor,以及两种启动方式。
7042

被折叠的 条评论
为什么被折叠?



