wyxy2005 / mhxy

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

Home Page:https://di1shuai.com/tags/#%E6%A2%A6%E5%B9%BB%E8%A5%BF%E6%B8%B8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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开源协议

About

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

https://di1shuai.com/tags/#%E6%A2%A6%E5%B9%BB%E8%A5%BF%E6%B8%B8

License:GNU Affero General Public License v3.0


Languages

Language:Python 99.4%Language:Batchfile 0.6%