python 梦幻西游_GitHub - BestBurning/mhxy: tensorflow实践:梦幻西游人物弹窗识别
mhxy
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
目錄說明
images -- 截圖文件夾
flag -- 標識文件夾:戰斗標識、鼠標標識、彈框標識
github -- github文件夾
model -- tensorflow 模型文件夾
文件說明
聲明
本人無任何商業目的,僅用于學習和娛樂,源代碼采用了AGPL3.0開源協議
總結
以上是生活随笔為你收集整理的python 梦幻西游_GitHub - BestBurning/mhxy: tensorflow实践:梦幻西游人物弹窗识别的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 端口映射工具rinetd
- 下一篇: Ubuntu 如何使用crontab 定