- 博客(1)
- 收藏
- 关注
原创 利用Python将图片中的文字文本化
一、于Python中下载Pytesseract的包 二、将需要转译的图片复制到.py文件的同一个文件夹中 三、给图片文件改名,如下图中'bbb.png' from PIL import Image import pytesseract images=Image.open('bbb.png') print(images.size) text=pytesseract.image_to_string(images) print(text) ...
2020-12-08 14:31:11 382
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人