Projetos
Sobre
tensorflow实践:梦幻西游人物弹窗识别
IA e aprendizado de máquinaCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +2
- em 15 dias
- +2
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalmhxy
tensorflow实践:梦幻西游人物弹窗识别
环境描述
C:\Users\SF>ver
Microsoft Windows [版本 10.0.18363.720]
C:\Users\SF>python --version
Python 3.7.6
C:\Users\SF>python
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2020-03-19 23:42:50.170828: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
>>> tf.__version__
'2.1.0'
C:\Users\SF>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:32:27_Pacific_Daylight_Time_2019
Cuda compilation tools, release 10.2, V10.2.89
C:\tools\cuda\include\cudnn.h
...
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 5
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
...
启动方式 多标签版
分辨率 800x600
界面风格 暖风

运行
由于鼠标点击使用了kmclassdll,所以需要开启 测试模式 & 禁用强制驱动签名 并 重启
管理员身份打开CMD
bcdedit /set nointegritychecks on
bcdedit /set testsigning on
shutdown -r -t 0
重启后,管理员身份打开CMD
- 自动点击弹窗
python main.py --click 0
- 持续学习
python main.py --learn 0
如果使用学习功能的话,请下载训练库
更多代码解读可以参考这里
成果展示

可以看到一次预测点击的耗时是在4s左右,欢迎Star
目录说明
driver -- kmclass键鼠驱动文件夹
images -- 截图文件夹
model -- tensorflow 模型文件夹
文件说明
auto_click.bat
运行弹框识别并点击的脚本auto.py
键鼠的包装constant.py
常量定义data_model.py
模型训练、读取、预测keymouse.py
kmclassdll 键鼠动态库调用learn_clean.py
学习并清除学过的文件的脚本main.py
程序入口screen.py
屏幕截图、图片处理相关util.py
工具类
声明
Explore projetos relacionados
Carregando…