Giter Club home page Giter Club logo

yolov5forcsgo's Introduction

Yolov5ForCSGO

English | 简体中文

GitHub Repo stars GitHub issues GitHub forks GitHub watchers

This project uses YOLOv5 to realize character detection in CSGO games and auto aim

YOLOv5 🚀 is a family of object detection architectures and models pretrained on the COCO dataset, and represents Ultralytics open-source research into future vision AI methods, incorporating lessons learned and best practices evolved over thousands of hours of research and development.

YOLOv5 Documentation

See the YOLOv5 Docs for full documentation on training, testing and deployment.

Quick Start

Install

Download repo and install requirements.txt in a Python>=3.7.0 environment, including PyTorch>=1.7.

pip install -r requirements.txt
Use
  • Please use administrator privileges to open you Pycharm(or other IDE),and change you CSGO settings : Keyboard&Mouse -> Raw Input -> OFF
  • If you don't have a weight file and want to directly use the weight file I provide you, just run main.py under the aim-csgo directory
  • If you already have a weight file (similar to xxx.pt) and don't want to use the weight file I provide you, open the directory aim-csgo/CSGOModels, put your own weight file in it, and then open aim-csgo/cs_model.py, modify the code in line 13 (change it to your own weight file path). Then run main.py
  • If you don't have a weight file and don't want to use the weight file provided by me, please train your own weight file first, and then refer to the previous one
  • After you run main.py, you will see a detection window, you can click mouse5 to open aim mode
  • Close the program : click the detection window and press q

Contribute

Please see Contributing Guide to get started,Thank you to all our contributors!

Contact

For Yolov5ForCSGO bugs and feature requests please visit GitHub Issues.

Reference

https://www.bilibili.com/video/BV1b64y1q7sC

Star History

Star History Chart

yolov5forcsgo's People

Contributors

lucid1ty avatar

Watchers

 avatar

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.