4

python编程(paddle ocr)

 3 years ago
source link: https://blog.csdn.net/feixiaoxing/article/details/113788222
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

python编程(paddle ocr)

费晓行 2021-02-11 08:41:04 300
分类专栏: python编程

【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】

    在图像处里面,除了人脸识别、车牌识别、指纹识别这些应用比较成熟的领域之外,ocr也是很重要的一个领域。所谓的ocr,其实就是利用图像处理技术和深度学习,将图像中的文字识别出来,常见的应用有身份证识别、驾驶证识别、营业执照识别等等。有兴趣的同学,可以自己学习下ocr,做一些产品尝试,应用到具体的行业当中,比如说财务、教育、报关等领域,相信也可以有不错的收获、

1、安装python

最好是3.6以上的版本,比如说是3.6.6、windows 64位版本

2、安装paddle ocr

3、安装paddle

4、尝试启动paddle ocr

import paddleocr

5、启动过程中可能发现没办法加载pyclipper的情况,下载一个低阶版本的pyclipper即可

6、编写测试代码

7、运行文件

C:\Python36\python.exe ocr.py

8、输出的结果形式

输出的结果有矩阵区域、识别出来的字符、识别概率

9、适合的领域

除了之前说的身份证、驾驶证和营业执照等领域识别,对于屏幕截图的字符识别也是相当好的


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK