https://github.com/coolxitech/slider
slider crack
https://github.com/coolxitech/slider
crack python3 slider
Last synced: over 1 year ago
JSON representation
slider crack
- Host: GitHub
- URL: https://github.com/coolxitech/slider
- Owner: coolxitech
- Created: 2023-11-06T14:23:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-09T18:02:35.000Z (over 2 years ago)
- Last Synced: 2025-02-04T13:47:31.148Z (over 1 year ago)
- Topics: crack, python3, slider
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
使用opencv和fastapi写的简单滑块识别接口
代码来源于[SliderCrack](https://github.com/crazyxw/SlideCrack),感谢作者的开源精神
使用fastapi编写HTTP接口,uvicorn启动Web服务
# 接口说明
使用方法:
1. 安装依赖
```bash
pip install -r requirements.txt
```
2. 启动服务
```bash
uvicorn main:app # 需要绑定外网可以添加--host 0.0.0.0
```
3. 访问接口
```bash
http://127.0.0.1:8000/
```
4. 接口返回
```json
{
"code": 0,
"msg": "识别成功",
"data": {
x轴距离长度
}
}