Lane Finding - Python plays Grand Theft Auto 5 p.6
Now, the goal is to determine from these lines, which are likely our actual lanes.
I am just going to throw my function in. It's not the best, and I am hoping someone comes up with something better. That said, while we wait for a savior, my code works in the following way:
First, find the main lines. Next, find the groups of lines that are similar to eachother (by comparing slope and bias), and save these as "the same line." Next, take the two most common lines, and assume these must be our lanes. After we've done ROI, the next most likely "line" just simply is almost certain to be the lanes. That's the hypothesis anyway!
Project Github: https://github.com/sentdex/pygta5
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex
Other Videos By sentdex
Other Statistics
Grand Theft Auto V Statistics For sentdex
At this time, sentdex has 1,697,670 views for Grand Theft Auto V spread across 10 videos. There's close to 2 hours worth of content for Grand Theft Auto V published on his channel, less than 0.88% of the total video content that sentdex has uploaded to YouTube.