Skip to content

基于yolov5识别算法实现的DNF自动脚本

Notifications You must be signed in to change notification settings

xing-shadow/yolov5-DNF

Repository files navigation

yolov5

  1. 代码中涉及到使用opencv对小地图和技能栏进行模板匹配和二值化等操作,注意,不同游戏分辨率和电脑显示器分辨率是不一致的,代码中给出的(0,0,1280,800)是本人游戏中的分辨率,而small_recgonize.py和skill_recgonize.py中的img[45:65, 1107:1270], img[733: 793, 538:750, 2]是根据不同显示器的分辨率决定的,使用时需要自己调整。

  2. 本人训练的yolov5模型还有待提高,我的训练集只有294张图片,因此效果一般。

  3. 识别地图中怪物

  4. 寻找位置,释放技能,清理残余,寻找下一个门,进图

About

基于yolov5识别算法实现的DNF自动脚本

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%