Skip to content

ImgCodeCheck - API for Image verification code recognition 图片验证码识别服务器API,可用于我的邀请码助手 chrome 浏览器扩展与怠惰小说下载器

Notifications You must be signed in to change notification settings

hoothin/ImgCodeCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImgCodeCheck 图片验证码识别API


  • Requirements

    • Python 3.9.7
    • pip3 install ddddocr==1.0.6
  • Usage

    • Local

    python3 deCodeImg.py -i D:\codeimg.png

    • Web api

    python3 deCodeImg.py -m -p 416 or Start run.cmd
    Visit http://127.0.0.1:416/?img=


  • 运行环境

Python 3.9.7 + ddddocr 1.0.6

  • 安装

    • 安装 python 3
    • 安装 ddddocr 库:打开命令提示符,输入以下命令并回车

    pip3 install ddddocr==1.0.6

  • 用法

    • 运行 web 识别服务器,可用于邀请码助手,方法如下

    双击 run.cmd 即可
    接口默认为 http://127.0.0.1:416/?img=
    后面可接上 base64 图片数据、本地图片路径或者在线图片网址(预先 encodeURIComponent)
    用在【邀请码助手】上时运行 run.cmd 启动服务后填入 http://127.0.0.1:416/?img= 即可

    • 用于怠惰小说下载器时需要预先设置,教程

    • 本地识别:使用以下命令可识别本地 D:\codeimg.png 里的验证码

    python3 deCodeImg.py -i D:\codeimg.png

About

ImgCodeCheck - API for Image verification code recognition 图片验证码识别服务器API,可用于我的邀请码助手 chrome 浏览器扩展与怠惰小说下载器

Resources

Stars

Watchers

Forks

Packages

No packages published