Code Monkey home page Code Monkey logo

csgo_ai's Introduction

CSGO_AI

基于YOLOv3的csgo自瞄AI外挂

CSGO.py是自己改写的。其余注释及代码来自的:https://blog.csdn.net/qq_34199326/article/details/84072505 ,并按照自己的理解对注释稍加修改

原文件:https://github.com/ayooshkathuria/YOLO_v3_tutorial_from_scratch

直接运行CSGO.py即可

csgo设置:

·鼠标设置中:灵敏度调8,关闭原始数据输入

·视频设置中:窗口化运行,并拖放到屏幕左上角(我的移动鼠标的参数是根据这里的坐标写的,不然移动鼠标不准,大家可以自己测试下全屏时,移动鼠标的输入 量和准星的移动对应关系)

python库:

·获取截图:PIL

·目标检测:YOLOv3相关依赖:numpy opencv-python pytorch等,参见原文

·控制鼠标:pyautogui

权重文件下载:https://pjreddie.com/media/files/yolov3.weights ,直接放到主目录

效果参见:https://www.bilibili.com/video/BV1v5411x7Mr?p=1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.