Still trying this cool project on Ubuntu 16.04 ( will keep updating readme on the go)
Install Wine to run GTA (I am trying it on San Andreas)
Open CV 3.2.0 for Python 3.5 (if anyone having trouble) : https://www.begueradj.com/installing-opencv-3.2.0-for-python-3.5.2-on-ubuntu-16.04.2-lts.html
Original Readme :
Explorations of Using Python to play Grand Theft Auto
Pull requests welcome.
As time goes on, I will edit this with more useful information.
The plan is to separate out the tutorial videos and "most up-to-date version." For now, I'm just exploring our possibilities of what we can actually do with Python and GTA V.
The files with "part" in them are from specific tutorials.
The actual main files here are:
main.py - runs the program directkeys.py - handles key inputs draw_lanes.py - finds the two "most likely" lanes out of all of the lines.