dianxuan/README.md
2023-08-17 14:15:52 +08:00

28 lines
750 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 点选
基于孪生神经网络实现的点选识别
## 温馨提示
该项目仅供学习研究改进点选验证码的安全性,请勿用于商用或其他带有攻击性质的业务场景中!!!
### 如何使用?
准备vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5预训练权重网上可以下载到
准备一个yolo分割模型可以直接训练具体用途是让他从验证码中分割出问题和点选的字符。
安装环境我用到的是python3.10
```
pip3 install -r requirement.txt
```
准备数据集放入data中格式为 id_序号.jpg|pngid可以采用uuid序号第一张图是1第二张图是2只能两张图
开始训练
```
python train.py
```
预测
```
python predict.py
```