Skip to content

Tigerhood34/Yolov5ForCSGO

 
 

Repository files navigation

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

About

CSGO character detection and auto aim

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Other 1.6%