如何安装 tesseract-script-tamil CentOS 8

tesseract-script-tamil 是 tesseract-tessdata 的泰米尔语脚本数据

介绍

在本教程中我们学习如何安装 tesseract-script-tamil 在 CentOS 8.

什么是 tesseract-script-tamil

该软件包包含用于 Tesseract 开源 OCR 引擎的泰米尔语脚本训练模型的快速整数版本。

我们可以用 yum 或者 dnf 安装 tesseract-script-tamil 在 CentOS 8. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 tesseract-script-tamil。

安装 tesseract-script-tamil CentOS 8 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

输出应如下所示:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

更新 yum 数据库后,我们可以安装 tesseract-script-tamil 使用 dnf 通过运行以下命令:

sudo dnf -y install tesseract-script-tamil

安装 tesseract-script-tamil CentOS 8 使用百胜

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

输出应如下所示:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

更新 yum 数据库后,我们可以安装 tesseract-script-tamil 使用 yum 通过运行以下命令:

sudo yum -y install tesseract-script-tamil

如何卸载 tesseract-script-tamil CentOS 8

仅卸载 tesseract-script-tamil 打包我们可以使用以下命令:

sudo dnf remove tesseract-script-tamil

tesseract-script-tamil 软件包内容 CentOS 8

/usr/share/tesseract/tessdata/script
/usr/share/tesseract/tessdata/script/Tamil.traineddata

参考

概括

在本教程中我们学习如何安装 tesseract-script-tamil 在 CentOS 8 使用 yum 和 dnf。