Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lane lines jittery for P2 #1

Open
marc88 opened this issue Feb 7, 2019 · 0 comments
Open

Lane lines jittery for P2 #1

marc88 opened this issue Feb 7, 2019 · 0 comments

Comments

@marc88
Copy link

marc88 commented Feb 7, 2019

It seems that you implemented the sliding window search in function find_lane_pixels, and it is called from fit_polynomial, but the function fit_polynomial is not called from the main pipeline (the call is commented out). This means that you use the proximity-search always. But for the proximity search you already have to have a good line candidate (left_fit & right_fit). Actually these variables are not set in the main pipeline, you use some fixed values from an earlier cell of the notebook. Most probably that is the reason why the pipeline does not work at the beginning when the road is curving left: the upper end of the road (on the birds-eye view image) is not within the range of those fixed lines.
Here I suggest using the sliding window algorithm first, and if you have a reliable lane lines (polynomials) you can use the proximity search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant