Skip to content

AugustKarlstedt/deep-learning-fps-aim-assist

Repository files navigation

deep learning aim assist

idea: use off-the-shelf object detector to draw bounding boxes around enemies in first person shooter games

update July 18, 2021

this idea has been taken to the next level! https://arstechnica.com/gaming/2021/07/cheat-maker-brags-of-computer-vision-auto-aim-that-works-on-any-game/

1

plan

  1. caputre screen from game (doesn't have to be 60 frames per second, could really just be like 5 FPS)
  2. use object detector on image
  3. draw boxes over screen

data

  • capture gameplay or use twitch video
  • annotate a bunch of images

notes

ok, found a good candidate video: https://www.twitch.tv/niko/clip/DeliciousRelentlessAxePMSTwin

downloaded video

now to split it up into frames using ffmpeg

ffmpeg.exe -i '.\AT-cm 670698522.mp4' 'frames/$filename%04d.jpg'

using LabelImg to annotate frames: https://github.com/tzutalin/labelImg

examples

here's some examples from the first iteration

2 3

todo

well, definitely collect more data. see if it generalizes. make it run LIVE on a real game of CS:GO and see if I get VAC banned? 😛 Though I would imagine this wouldn't result in a VAC ban. FRAPS or OBS or other tools draw over the screen just fine. Hmm

About

Object Detection for Video Games!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages