dorkhub

mhxy

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

BestBurning
Python302134 forksAGPL-3.0updated 6 years ago
visit the demogit clone https://github.com/BestBurning/mhxy.gitBestBurning/mhxy

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

more like this

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

taskbutler

Create and add progress bars, Office365 Files and Dropbox Paper papers by labels and link them to your Todoist tasks.

Python50

search

search projects, people, and tags