/yolov5-based-CSGO-Bot

I trained the yolov5 model using my own labelled data, and developed the complete pipeline. My goal is not sharing hacks.

Primary LanguagePython

yolov5-based-CSGO-Bot

I trained the yolov5 m-size model using my own labelled data, and developed the complete pipeline.

My goal is not sharing hacks, so no labelled data or trained models will be shared here. And I don't use this in multi-player games.

( This is the initial version I developed last year. And since this is only motivated by my personal interest, so everything was done in rush.
The code could be cleaned and redesigned in the future when I have time. )


Demo

The bounding boxes are draw on the image. Green means teammates, and red means enemies.

When there is an enemy in the screen, the program will move mouse cursor until the enemy is at the center of screen, and then the program will perform the click action to fire.

Enemy heads and bodys are being detected seperately, then grouped into people.

When a head is detected, the program will aim onto the head; otherwise, it will aim onto enemy body.

bot gif

bot gif

Label

I labelled all the trainning data myself, using Yolo-mark and makesense for labelling.

label gif