I. Introduction to OCR see Http://baike.baidu.com/view/17761.htm?fr=ala0_1 Everyone reference, I was the first to know so, hehe. Master laughed atNow there are many OCR engines on the market, but most of them are charged and expensive. Not suitable for us to study.And today we talk about the tesseract is open-source products, more suitable for everyone's taste it
1. Can be installed automatically under Ubuntu[HTML]Technology sharing technology Sharesudo apt-get install TESSERACT-OCR2. Compiling the installationA. Compilation environment: GCC gcc-c++ make (this environment is common for machines, can be ignored)[HTML]Technology sharing technology ShareYum install gcc gcc-c++ makeB. Install the required packages for TESSERACT-OCR
Linux Installation TESSERACT-OCRPreparatory work:one. Compilation Environment :1. GCC gcc-c++ make (this environment is a common machine, can be ignored)Yum Install GCC GCC Make2. Dependent packages: autoconf automake libtool libjpeg-devel libpng-devel libtiff-devel zlib-devel Leptonica (more than 1.67)autoconf automake libtool libjpeg-devel libpng-devel libtiff-devel Zlib-devel can be installed via Yum:Yum Install autoconf automake Libtool Yum Insta
Tesseract-ocr is an open-source optical character recognition engine that supports Google and supports recognition in many languages, next I will talk about the installation steps in Ubuntu. In fact, the official documentation is very detailed. The commands listed below are sudoapt-getinstallautoconfautomakelibtoolsudoapt-tesseract-
Warehouse Address: Https://github.com/RobinDavid/PytesserInstall tesseract sudo Install Opencv-pythonAfter installation, you need to download the identification file, because my environment isTesseract 3.02.02leptonica-1.70Zlib 1.2.11So I downloaded 3.02 of the Chinese recognition training data, the address ishttps://sourceforge.net/projects/tesseract-ocr-alt/fil
EnvironmentPython 3.6.3 pip 9.0.1 tesseract-ocr-setup-3.05.00dev.exe Windows10
installation
1.tesseract-orc
Tesseract: Open source OCR identification engine, the initial tesseract engine developed by HP Labs, later contributed to
automatic distinction between computer and human public Turing Test (Completely Automated Public Turing test to Tell Computers and Humans Apart)Abbreviation CAPTCHA, commonly known as verification codeWindows1. Install Tesseract,Installation path join path, set tessdata_prefix environment variableotherwise error:' Error opening data file \\exe\\tesseract-ocr\\tes
Installation using:
Tesseracthttps://code.google.com/p/tesseract-ocr/Currently the latest version is 3.02After downloading the Windows version, use the command line to enter the extracted directory to runCommand format:Usage:tesseract.exe imagename outputbase [-L lang] [-PSM pagesegmode]e ...] Pagesegmode values are:0=Orientation and Script detection (OSD) only.1=Automatic page Segmentation with OSD.2=
The following links contain the jar packages that are required for the installation package and the program to run, and the Chinese resource pack.How to use the Chinese package: Find the Tessdata installation directory (my Local: C:\Program Files (x86) \tesseract-ocr\tessdata), replace Eng.traineddata with Chi_sim.traineddata , and rename the Chi_sim.traineddata to Eng.traineddataResource Bundle: HTTP://PAN
Then the previous OCR said. The previous article introduced the simple use of tesseract in the command line, of course, to inherit into our program, or need code implementation. Here's a sample of the Java implementation that you'll share.watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbg1qnjiznty1nzkx/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center "/>Take the code to scan the image a
Tesseract-OCR is an open-source optical character recognition engine that supports Google and supports recognition in many languages. The following describes how to install it.
In fact, the official document details the commands listed below,
sudo apt-get install autoconf automake libtoolsudo apt-get install libpng12-devsudo apt-get install libjpeg62-devsudo apt-get install libtiff4-devsudo apt-get instal
The OCR verification code below is implemented using. NET, mainly using the Tesseract component.. NET version Tesseract:Http://www.pixel-technology.com/freeware/tessnet2/In addition, this usage is very simple. Note that you need to download the Language Pack. Here I recognize pure letters, so I use the English Language Pack. In addition, in order to improve the verification rate, you can also perform traini
Tesseract-OCR is an OCR engine developed by the HP lab from 1985 to 1995. Later, it was developed by Google and open-source. It supports multiple platforms and supports up to 40 languages, including Chinese, supports training. Tesseract-OCR is a command line.ProgramBut it al
The Chinese New Year is approaching, and the new application of the blogger-screen word-taking-the-old image coding work is also in full swing. Next we will share with you the core feature ocr in this application, that is, the image recognition function. Let's take a look at my implementation results. It is an English page that is randomly cut off on the Internet. It is the Implementation Effect of my application.
2. Implementation
(1) first downlo
1,pil or pillow (Python Imaging Library) image processing librariesprinciple: The image class is a very important class in the PIL library, through which the instance can be loaded directly into the image file, read the processed graphthree ways to get images like and through crawlingsteps to install PIL and Pillow (Window edition)Prerequisites: Before installing PIL, you need to install Pip (Pip is a tool for installing and managing Python packages, a replacement for Easy_install) 1. First foun
TESSERACT-OCR tools in the Text2image.exe, download other people compiled by the win system will not work properly. It took a long time to finally compile a normal operation.--font= "Font name" Specifies the font name with double quotes, Cannot use single quotation marks.--text= "input File" The text file to be entered needs to be in UTF-8 format. The name of the font needs to run the Text2image--list_avai
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.