当前位置:网站首页>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 .
边栏推荐
- Solve the problem that XML, YML and properties file configurations cannot be scanned
- Classes in C #
- CSDN blog summary (I) -- a simple first edition implementation
- QT creator create button
- Mysql 其他主机无法连接本地数据库
- Install MySQL for Ubuntu 20.04
- CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
- windows下同时安装mysql5.5和mysql8.0
- CSDN question and answer module Title Recommendation task (II) -- effect optimization
- CSDN markdown editor
猜你喜欢
CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
neo4j安装教程
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
QT creator shape
【博主推荐】asp.net WebService 后台数据API JSON(附源码)
图片上色项目 —— Deoldify
Deoldify项目问题——OMP:Error#15:Initializing libiomp5md.dll,but found libiomp5md.dll already initialized.
PyCharm中无法调用numpy,报错ModuleNotFoundError: No module named ‘numpy‘
API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T
Why is MySQL still slow to query when indexing is used?
随机推荐
QT creator create button
csdn-Markdown编辑器
windows无法启动MYSQL服务(位于本地计算机)错误1067进程意外终止
Redis的基础使用
LeetCode #461 汉明距离
Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL other hosts cannot connect to the local database
API learning of OpenGL (2004) gl_ TEXTURE_ MIN_ FILTER GL_ TEXTURE_ MAG_ FILTER
引入了junit为什么还是用不了@Test注解
Windows下安装MongDB教程、Redis教程
[reading notes] rewards efficient and privacy preserving federated deep learning
CSDN blog summary (I) -- a simple first edition implementation
API learning of OpenGL (2002) smooth flat of glsl
Use dapr to shorten software development cycle and improve production efficiency
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
Did you forget to register or load this tag 报错解决方法
frp内网穿透那些事
[recommended by bloggers] background management system of SSM framework (with source code)
QT creator shape
Some problems in the development of unity3d upgraded 2020 VR