当前位置:网站首页>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 .
边栏推荐
- Win10: how to modify the priority of dual network cards?
- LeetCode #461 汉明距离
- 35 is not a stumbling block in the career of programmers
- [download app for free]ineukernel OCR image data recognition and acquisition principle and product application
- La table d'exportation Navicat génère un fichier PDM
- Ansible practical series I_ introduction
- Global and Chinese market of transfer switches 2022-2028: Research Report on technology, participants, trends, market size and share
- MySQL flush operation
- Django运行报错:Error loading MySQLdb module解决方法
- CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
猜你喜欢
MySQL 20 MySQL data directory
Invalid global search in idea/pychar, etc. (win10)
Did you forget to register or load this tag 报错解决方法
LeetCode #461 汉明距离
一键提取pdf中的表格
Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)
Why can't I use the @test annotation after introducing JUnit
Postman Interface Association
CSDN question and answer module Title Recommendation task (II) -- effect optimization
基于apache-jena的知识问答
随机推荐
IDEA 导入导出 settings 设置文件
【博主推荐】C# Winform定时发送邮箱(附源码)
Why can't I use the @test annotation after introducing JUnit
Introduction to the easy copy module
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
MySQL主从复制、读写分离
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
Mysql22 logical architecture
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
++Implementation of I and i++
Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
FRP intranet penetration
Ansible practical series I_ introduction
[free setup] asp Net online course selection system design and Implementation (source code +lunwen)
CSDN问答标签技能树(一) —— 基本框架的构建
A trip to Macao - > see the world from a non line city to Macao
35 is not a stumbling block in the career of programmers
Basic use of redis
API learning of OpenGL (2001) gltexgen
MySQL主從複制、讀寫分離