Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Qt 5 and OpenCV 4 Computer Vision Projects

You're reading from  Qt 5 and OpenCV 4 Computer Vision Projects

Product type Book
Published in Jun 2019
Publisher Packt
ISBN-13 9781789532586
Pages 348 pages
Edition 1st Edition
Languages
Author (1):
Zhuo Qingliang Zhuo Qingliang
Profile icon Zhuo Qingliang

Table of Contents (11) Chapters

Preface Building an Image Viewer Editing Images Like a Pro Home Security Applications Fun with Faces Optical Character Recognition Object Detection in Real Time Real-Time Car Detection and Distance Measurement Using OpenGL for the High-Speed Filtering of Images Assessments Other Books You May Enjoy

OCR with Tesseract

In this section, we are going to extract the text from images with Tesseract. As we mentioned, to install Tesseract on Windows, we can use a prebuilt binary package. On a UNIX-like system, we can use the system package manager to install, for example, apt-get on Debian, or brew on macOS. Take Debian as an example—we can install the libtesseract-dev and tesseract-ocr-all packages to install all the library and data files we need. No matter how you install it, please ensure that you have the correct version, 4.0.0, installed.

Although there are prebuilt packages, for the pedagogical purpose, we will build it from the source on a Linux system to see what components it contains and how to use its command-line tool.

Building Tesseract from the source

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}