网站首页
编程语言
数据库
系统相关
其他分享
编程问答
辉煌灿烂
2024-06-14
Python下3种文字识别工具的源码和效果比较
1.pytesseractimportpytesseractfromPILimportImageim=Image.open(r'C:/Users/YBK/Pictures/35005.jpg')string=pytesseract.image_to_string(im,lang='chi_sim')print(string)2.paddleocrfrompaddleocrimportPaddleOCR,draw_ocroc