This was done for my Extended Project at College, and is heavily based off Sentdex's "Python Plays GTA-V tutorial".
I lost the final version of the modle creation code, but all of the code that collects and sorts out the data is intact.
The data input is a gray scale image of the screen and the output is a one hot array corresponding to a controller press.
- numpy
- win32api
- PIL
- opencv2
- keras
- tensorflow
The best way to see the result is to use the BizHawk emulator then run script.lua
when the AI is running.