Author - StudySection Post Views - 5,626 views
Tesseract OCR

Quick Guide To install and remove tesseract-ocr 5 on Ubuntu 18.04

Installation

Step1:
————-
Add the Tesseract 5 PPA. For this, open the command line and run the following command.

dev@localhost:~$ sudo add-apt-repository --remove ppa:alex-p/tesseract-ocr5
[sudo] password for dev:

O/P
——————————————————————–
The Tesseract OCR engine was one of the top 3 engines in the 1995
UNLV Accuracy test. Between 1995 and 2006 it had little work done on
it, but since then it has been improved extensively by Google and is
probably one of the most accurate open source OCR engines
available. It can read a wide variety of image formats and convert
them to text in over 40 languages. This package includes the command
line tool.
More info: https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr5
Press [ENTER] to continue or Ctrl-c to cancel removing it.
——————————————————————–

Step2:
Now run the update command

dev@localhost:~$ sudo apt-get update

Step3:
Now install Tesseract OCR version 5

dev@localhost:~$ sudo apt install -y tesseract-ocr

You can check the version of Tesseract

dev@localhost:~$ tesseract --version

O/P
——————————————————————–
tesseract 5.0.1
leptonica-1.75.3
libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
——————————————————————–

Remove PPAs and Tesseract OCR engine:

Step1:
dev@localhost:~$ sudo add-apt-repository --remove ppa:alex-p/tesseract-ocr5

Step2:
Now Remove the tesseract 5 OCR engine
dev@localhost:~$ sudo apt remove --autoremove tesseract-ocr tesseract-ocr-*

O/P

——————————————————————-
The following packages will be REMOVED:
liblept5 libtesseract4 libtesseract5 tesseract-ocr tesseract-ocr-eng tesseract-ocr-osd
0 upgraded, 0 newly installed, 6 to remove and 17 not upgraded.
After this operation, 26.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 220076 files and directories currently installed.)
Removing tesseract-ocr (5.0.1-1ppa1~bionic1) …
Removing libtesseract5:amd64 (5.0.1-1ppa1~bionic1) …
Removing libtesseract4 (4.00~git2288-10f4998a-2) …
Removing liblept5 (1.75.3-3) …
Removing tesseract-ocr-eng (1:5.0.0~git39-6572757-2ppa1~bionic1) …
Removing tesseract-ocr-osd (1:5.0.0~git39-6572757-2ppa1~bionic1) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Processing triggers for libc-bin (2.27-3ubuntu1.4) …
———————————————————————

jQuery allows the user to create powerful and dynamic webpages that run without any hiccup. With StudySection, you have the liberty to choose among beginner or expert level jQuery Certification Exams to help you excel in this career field.

Leave a Reply

Your email address will not be published. Required fields are marked *

fiteesports.com rivierarw.com cratosroyalbet betwoon grandpashabet grandpashabet giriş deneme bonusu veren siteler casino siteleri