AntiCAP
Project description
AntiCAP
| 类型 | 状态 | 描述 |
|---|---|---|
OCR识别 |
✅ | 返回图片字符串 |
缺口滑块 |
✅ | 返回坐标 |
阴影滑块 |
✅ | 返回坐标 |
图标点选 |
✅ | 侦测图标位置 或 按序返回坐标 |
文字点选 |
✅ | 侦测文字位置 或 按序返回坐标 |
WebApi服务 |
❌ | Http接口方便各语言调用 待更新 |
多类型验证码识别
开源学习项目,不承担法律责任。
📄 AntiCAP 文档
🌍环境说明
python 3.8
torch pypi或torch官网下载
📁 安装和使用
安装项目
git clone https://github.com/81NewArk/AntiCAP.git
cd AntiCAP
pip install -r requirements.txt
调用方法
import AntiCAP
if __name__ == '__main__':
# 初始化
Atc = AntiCAP.AntiCAP()
# 文字类验证码 字母 数字 汉字
result = Atc.OCR(img_base64="")
# 算术类验证码
result = Atc.Math(img_base64="")
# 图标点选侦测
result = Atc.Detection_Icon(img_base64="")
# 图标点选 按序输出
result = Atc.ClickIcon_Order(order_img_base64="",target_img_base64="")
# 汉字侦测
result = Atc.Detection_Text(img_base64="")
# 文字点选 按序输出
result = Atc.ClickText_Order(order_img_base64="",target_img_base64="")
# 缺口滑块
result = Atc.Slider_Match(target_base64="",background_base64="")
# 阴影滑块
result = Atc.Slider_Comparison(target_base64="",background_base64="")
# 输出结果
print(result)
💪🏼 模型训练
🐧 QQ交流群
🚬 请作者抽一包香香软软的利群
😚 致谢名单
这份荣光我不会独享
[1] Ddddocr作者 网名:sml2h3
[2] 微信公众号 OneByOne 网名:十一姐
[3] 苏州大学,苏州大学文正学院 计算机科学与技术学院 张文哲教授
[4] 苏州大学,苏州大学文正学院 计算机科学与技术学院 王辉教授
[5] 苏州市职业大学,苏州大学文正学院 计算机科学与技术学院 陆公正副教授
[6] 武汉科锐软件安全教育机构 钱林松讲师 网名:Backer
📚 参考文献
[1] Github. 2025.03.28 https://github.com/sml2h3
[2] Github. 2025.03.28 https://github.com/2833844911/
[3] Bilibili. 2025.03.28 https://space.bilibili.com/308704191
[4] Bilibili. 2025.03.28 https://space.bilibili.com/472467171
[5] Ultralytics. 2025.03.28 https://docs.ultralytics.com/modes/train/
[6] YRL's Blog. 2025.03.28 https://blog.2zxz.com/archives/icondetection
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anticap-1.0.1.tar.gz.
File metadata
- Download URL: anticap-1.0.1.tar.gz
- Upload date:
- Size: 87.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f71bbcd65f076d8fa97ac7ecb0db2ee20f505d1b20331d9f367be85d5ba5f664
|
|
| MD5 |
0e63d1840a6cf3a52e599f745b68cbce
|
|
| BLAKE2b-256 |
c6d91895b8152a9cc766e092d5c5a29dca526f9db8074f480759e2662a2517ae
|
File details
Details for the file AntiCAP-1.0.1-py3-none-any.whl.
File metadata
- Download URL: AntiCAP-1.0.1-py3-none-any.whl
- Upload date:
- Size: 87.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef61cce44880071782a2dbcf909e170f0558644d19e43d5616b3017c03bbfa78
|
|
| MD5 |
cbdb353f1f0820316c4403b6e950c9bc
|
|
| BLAKE2b-256 |
2115c08e681d58e3de27e60fb8e0e7f4e495d57c0ce94104655207e2ed9537f2
|