Skip to content
tensorflow实践:梦幻西游人物弹窗识别
Python Batchfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
driver
images
model
.gitignore constant update Mar 20, 2020
LICENSE
README.md readme update Mar 21, 2020
auto.py
auto_click.bat init Mar 19, 2020
constant.py
data_model.py
keymouse.py
learn_clean.bat
main.py
screen.py
util.py

README.md

mhxy

tensorflow实践:梦幻西游人物弹窗识别

环境描述

Windows

C:\Users\SF>ver
Microsoft Windows [版本 10.0.18363.720]

Python

C:\Users\SF>python --version
Python 3.7.6

Tensorflow

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'

CUDA

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

cuDNN

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

目录说明

文件说明

声明

本人无任何商业目的,仅用于学习和娱乐,源代码采用了AGPL3.0开源协议

You can’t perform that action at this time.