示例代码(Python):
import pytesseract from PIL import Image # 读取图片 image = Image.open('test.png') # OCR识别 text = pytesseract.image_to_string(image, lang='chi_sim') # 输出结果 print(text)
参考链接:https://cloud.tencent.com/document/product/866/17714
云+未来峰会
停课不停学 腾讯教育在行动第一期
云+社区技术沙龙[第27期]
云+社区技术沙龙 [第32期]
云+社区技术沙龙[第12期]
云+社区技术沙龙[第21期]
云+社区技术沙龙[第16期]
腾讯技术开放日
算法大赛
领取专属 10元无门槛券
手把手带您无忧上云