How does one install Tesseract-OCR 3.03 in Ubuntu/Linux distributions?

前提是你 提交于 2019-12-04 00:26:20
erluxman

Tesseract can directly be installed in Ubuntu 14.04 using

sudo apt-get install tesseract-ocr

I don't have any idea if you can do it in older version of Ubuntu because the repo might be updated in later version of Ubuntu.

Ubuntu is a debian based Linux distribution. The tesseract package you find will most likely be a debian package which will contain tesseract and the required default language files to allow you to run/train tesseract. You do NOT want the source package -- unless you just want to compile it yourself -- no need. You will not have to build tesseract, you just need to install the package. First, it appears you are new to Ubuntu, so please ready InstallingSoftware. It can be as easy as opening up an x-term and issuing the command apt-get install tesseract-pkgname (note: that means whatever the package name is).

There is no shortcut, take the time to understand whether you have a .deb package on your box that need to be installed or whether you are installing from a remote repository. The link above explains how to handle both.

Here is a specific Ubuntu thread dealing with installing tesseract Tesseract 3.0 + Ubuntu 10.04 Installation Guide Hope that helps. Tesseract is very good software.

I had an aws ubuntu 14.04 instance. when I tried installing Tesseract with

sudo apt-get install tesseract-ocr 

It retuned package not found

But this worked for me.

sudo apt-get update
sudo apt-get install tesseract-ocr

I don't have any instructions for building Tesseract 3.03 for Linux specifically (I'm on Mac), but here's a link to download the source code for the 3.03 release candidate: https://tesseract-ocr.googlecode.com/archive/3.03-rc1.tar.gz

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!