In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
CentOS 7 how to deploy tesseract-ocr, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Official address githubyum-config-manager-- add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/ if you prompt yum-config-manager: command not found to execute the following statement yum- y install yum-utils, continue to execute sudo rpm-- import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_keyyum updateyum install tesseractyum install tesseract-langpack-deu language pack added
Officially, there are special language packs, directory language packs.
If cd / usr/share/tesseract/4/tessdata# does not have wget, execute the command # tesseract {picture path} {output file on yum install wgetwget https://raw.githubusercontent.com/tesseract-ocr/tessdata/master/chi_sim.traineddata, default suffix .txt}-l {specify language pack, chi_sim for simplified Chinese} tesseract 1.jpg txt-l chi_sim console print Tesseract Open Source OCR Engine v4.1.0 with LeptonicaWarning: Invalid resolution 0 dpi. Using 70 instead.Estimating resolution as 534 output file [root@localhost ~] # ls1.jpg anaconda-ks.cfg txt.txt# above txt.txt is the output file output file content
Note: if you replace the content with curly braces, you will actually have content output.
"statement details A (esot >-1500.00 easy completion payment balance > transfer Note transfer counterparty account {name} {Mobile number} order number 2019-10-10 16:08 between creation time order number _ {first line} 889701 account order classified transfer charge > label and preparation Does it help you to read the above contents after reading the above? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.