当前位置:网站首页>Image recognition - pyteseract TesseractNotFoundError: tesseract is not installed or it‘s not in your path
Image recognition - pyteseract TesseractNotFoundError: tesseract is not installed or it‘s not in your path
2022-07-06 11:06:00 【zkkkkkkkkkkkkk】
Catalog
One 、 Download the required files
2.1、 install tesseract-OCR file
2.2、 Configure installation options .
3、 ... and 、 Set the file read path
Preface :
Doing image recognition , When you need to recognize the text in the intercepted picture , If you encounter an error like the title . Look wrong, this should be tesseract Not downloaded or not in the path you set . Then let's start to solve .
One 、 Download the required files
Download address :Index of /tesseract Just find one of them as shown in the figure below

Two 、 install
2.1、 install tesseract-OCR file
Open the file you just downloaded , Remember this installation directory .

2.2、 Configure installation options .
Look at the language category chosen by individuals .

3、 ... and 、 Set the file read path
Get into python open pytesseract.py file , Find the following code line
tesseract_cmd = 'tesseract'Change the top line to the bottom line ( Just now 2.1 Section installation path ):
tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'Four 、 Rerun program
After all the above is completed, you can run again Python Program , Try whether you can get results . On the Internet, it is said to configure environment variables, etc , But I can still run without configuration .
边栏推荐
- LeetCode #461 汉明距离
- CSDN question and answer module Title Recommendation task (II) -- effect optimization
- ++Implementation of I and i++
- MySQL完全卸载(Windows、Mac、Linux)
- frp内网穿透那些事
- Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
- API learning of OpenGL (2005) gl_ MAX_ TEXTURE_ UNITS GL_ MAX_ TEXTURE_ IMAGE_ UNITS_ ARB
- [download app for free]ineukernel OCR image data recognition and acquisition principle and product application
- API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
- Did you forget to register or load this tag 报错解决方法
猜你喜欢

Postman uses scripts to modify the values of environment variables
![[Li Kou 387] the first unique character in the string](/img/2d/f2c99549cac86c08efbfbd8ba76427.jpg)
[Li Kou 387] the first unique character in the string

35 is not a stumbling block in the career of programmers

Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)

Postman Interface Association

【博主推荐】C#生成好看的二维码(附源码)

Leetcode 461 Hamming distance
![[download app for free]ineukernel OCR image data recognition and acquisition principle and product application](/img/1b/ed39a8b9181660809a081798eb8a24.jpg)
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application

A trip to Macao - > see the world from a non line city to Macao

Data dictionary in C #
随机推荐
Global and Chinese markets for aprotic solvents 2022-2028: Research Report on technology, participants, trends, market size and share
Timestamp with implicit default value is deprecated error in MySQL 5.6
Postman environment variable settings
API learning of OpenGL (2002) smooth flat of glsl
[recommended by bloggers] C WinForm regularly sends email (with source code)
CSDN question and answer module Title Recommendation task (II) -- effect optimization
Remember a company interview question: merge ordered arrays
Classes in C #
MySQL21-用戶與權限管理
Principes JDBC
Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution
Development of C language standard
Did you forget to register or load this tag 报错解决方法
安装numpy问题总结
API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T
[BMZCTF-pwn] 12-csaw-ctf-2016-quals hungman
CSDN markdown editor
LeetCode #461 汉明距离
Why can't I use the @test annotation after introducing JUnit
解决:log4j:WARN Please initialize the log4j system properly.