English | 简体中文
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.
See the YOLOv5 Docs for full documentation on training, testing and deployment.
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
Please see Contributing Guide to get started,Thank you to all our contributors!
For Yolov5ForCSGO bugs and feature requests please visit GitHub Issues.