腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Pytesseract
image
to
string
error
message
in
Colab
、
、
在我的
Colab
安装和导入的
pytesseract
中,如下所示: !pip install
pytesseract
import cv2 加载图像:
image
= cv2.imread('drive/MyDrive/test.png= r'/usr/local/bin/
pytesseract
' text =
pytesseract
.
i
浏览 16
提问于2021-11-23
得票数 1
回答已采纳
2
回答
TesseractNotFoundError:未安装tesseract或它不在您的路径中
、
、
、
代码如下:import cv2 img = cv2.imread.ADAPTIVE_THRESH_GAUSSIAN_C, cv2.THRESH_BINARY, 11, 2) res =
pytesseract
.
image
_to_
string
('thesh.jpg
浏览 0
提问于2018-08-04
得票数 3
回答已采纳
2
回答
TesseractError:(2,‘用法:
pytesseract
[-l lang] input_file')错误
、
我得到了错误TesseractError:(2,‘the :
pytesseract
-l lang input_file')。用!sudo apt安装,但仍然在
colab
中得到错误。pip install
pytesseract
import shutilimport cv2from google.
colab
pip install tesseract
pytesseract
.
p
浏览 6
提问于2020-07-23
得票数 1
1
回答
用Python从
Image
获取文本的最佳方法是什么?
、
、
、
、
我想把文字从图像中拿出来。我尝试了tesseract,但是我在安装它时遇到了问题,所以我想知道我是否能得到一些帮助,或者其他方法来完成它。当我尝试使用tesseract时,它说我没有模块名PIL?但我知道我安装了枕头,我认为这是指它。
浏览 6
提问于2022-03-18
得票数 -3
1
回答
(2 ) Google上的“用法:
pytesseract
[-l lang] input_file”
、
、
我试图让Tesseract进入谷歌
Colab
:!
Image
import
Image
uploaded = files.upload() extractedInformation=
pytesseract
.
image
_to_
string
(
Image
.open('aaa.p
浏览 22
提问于2020-07-14
得票数 3
回答已采纳
1
回答
读取剪贴板上的截图时出现
pytesseract
错误
、
、
line 1883, in __call__ File "nsu63w.py", line 197, in clpocr return { File "C:\Python\Python38\lib\site-packages\
pytesseract
\
pytessera
浏览 20
提问于2019-11-13
得票数 0
1
回答
从多个图像中提取文本
、
我想在
colab
做这个实验。但是如何在一个周期内做到这一点,因为我有一百多张照片? 提前感谢!
浏览 22
提问于2021-03-31
得票数 0
1
回答
我在Ubuntu上用
pytesseract
有问题
、
、
shalor1k/.local/bin/
pytesseract
' cv2.imwrite(filename, gray) text =
pytesseract
.
image
_to_
string<
浏览 119
提问于2020-11-23
得票数 0
回答已采纳
2
回答
模块'PIL.TiffTags‘没有属性'IFD’
、
、
、
当我使用
Pytesseract
识别图像中的文本时,我得到的属性错误为是什么导致了这一切?这是我在google上运行的代码import
pytesseract
img = cv2.imread("img.png")
浏览 22
提问于2022-03-29
得票数 1
回答已采纳
1
回答
函数"
pytesseract
.
image
_to_
string
“返回字符串,不需要方便的分离参数。
、
、
、
我刚刚导入了所需的所有库,因为我使用的是
colab
:import shutilimport randomtry:except ImportError: from google.
cola
浏览 4
提问于2022-08-10
得票数 -1
1
回答
TypeError:需要一个类似字节的对象,而不是python3.5.2和
pytesseract
中的'str‘
import
Image
print(
pytesseract
.
image
_to_
string
(
Image
.open('d:
浏览 2
提问于2016-12-28
得票数 0
1
回答
PermissionError:[Errno 13]当使用tkinter处理图像时
、
、
Tk().withdraw()print(filename)然而,这给了我错误。Traceback (most recent call last):
浏览 2
提问于2021-02-18
得票数 0
回答已采纳
1
回答
KeyError:使用
pytesseract
.
image
_to_data时的“PNG”
、
、
、
我试图使用
pytesseract
函数
image
_to_data将框放在文本周围的图像文件中,但在
colab
上遇到了以下错误: 6 img = cv2.imread("a.jpg")----> 8 d =
pytesseract
.
image
_to_datatranslate=None, 2124 f
浏览 3
提问于2022-07-19
得票数 0
回答已采纳
1
回答
如何正确设置Tesseract OCR
、
、
、
、
我在Google
Colab
上运行这个。下面的输入图像是ZG NIVEA 1。我不确定我是否使用了错误的东西,或者是否有更好的方法来做到这一点--我从这个特定的图像中得到的结果是A。!pip install -q
pytesseract
pytesseract
.
pytesseract
.tesseract_cmd = r'/usr/bin/tesseract'import re de
浏览 4
提问于2022-03-17
得票数 0
回答已采纳
1
回答
如何解决“路径”问题?
、
、
、
\tesseract.exe‘ try:except ImportError:import
pytesseract
=
Image
.open("C:\python\program\
image
.png")
浏览 3
提问于2019-06-09
得票数 1
2
回答
PyTesseract
无法加载语言
、
、
、
Files (x86)\\Tesseract-OCR\\tesseract.exe' text =
pytesseract
.
image
_to_
string
Traceback (most recent call last): text =
pytessera
浏览 66
提问于2020-03-26
得票数 0
1
回答
如何修复erro python tesseract错误?
、
、
我需要使用python tesseract从照片中提取文本:from PIL import
Image
file_name = file_name.split(".")[0] text =
pytesseract
.
image
_to_
string
(img,lang=None,Traceback (most recent call la
浏览 4
提问于2021-11-20
得票数 1
1
回答
为什么
pytesseract
会在阿拉伯语中引发错误
、
、
、
、
: from PIL import
Image
TesseractError Traceback (most recent call last)----> 1
pytesseract
.
image
_t
浏览 1
提问于2020-10-07
得票数 0
0
回答
pytesseract
on windows 10 :打开数据文件时出错
、
import
Image
from PIL import
Image
错误: Traceback (most recent call last):
浏览 13
提问于2016-12-30
得票数 0
2
回答
用
pytesseract
python进行图像识别
、
、
我有一个形象,但它无法得到价格,这就是我所拥有的
pytesseract
.
pytesseract
.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract'输出 Nestle Bakers’
浏览 6
提问于2021-03-29
得票数 1
点击加载更多
相关
资讯
图像识别不再难,一个用Python实现办公神器的实用教程!
Python创建一个车牌检测和识别程序
利用Python和OpenCV实现将图像识别为Excel表格的便捷方法
四行Python代码,你也能从图片上识别文字!
中国Azure上使用Python开发IOT Edge应用(2)
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券