python ddddocr 验证码识别
安装:
pip install ddddocr
# -*- encoding: utf-8 -*-
"""
@File: 15658.py
@Author: Little duo
@Time: 2023/8/3 10:11
@Contact: 1049041957@qq.com
@License: (C)Copyright 2021-2022, Little duo
"""
import ddddocr
ocr = ddddocr.DdddOcr()
img = open("verifycode.jpg", mode='rb').read()
result = ocr.classification(img)
print(result)
欢迎使用ddddocr,本项目专注带动行业内卷,个人博客:wenanzhe.com
训练数据支持来源于:http://146.56.204.113:19199/preview
爬虫框架feapder可快速一键接入,快速开启爬虫之旅:https://github.com/Boris-code/feapder
谷歌reCaptcha验证码 / hCaptcha验证码 / funCaptcha验证码商业级识别接口:https://yescaptcha.com/i/NSwk7i