OpenCV – Python plays Grand Theft Auto 5 p.2



Now that we’re confident that we can at least get the screen data, the next thing we want to do is run some OpenCV operations on the data that are typical for vision tasks.
For example, we’ll want to conver the image to grayscale to simplify things (one value vs RGB’s 3 values per pixels) and edge detection to eventually be used for finding the lines that will be our lanes.

Project Github: https://github.com/sentdex/pygta5

https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex

source

Reply

Do NOT follow this link or you will be banned from the site!