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

Meters to Pixel Conversion #5

Open
drofp opened this issue Jul 26, 2018 · 0 comments
Open

Meters to Pixel Conversion #5

drofp opened this issue Jul 26, 2018 · 0 comments

Comments

@drofp
Copy link

drofp commented Jul 26, 2018

How were the meters to pixel values found in line_fit.py?

I'm assuming the standard width of a highway lane (3.7m) was used for the x-direction, and you simply found the difference of x-values between the two lanes after the polyfit.

I am still unsure, however, of how you found the y-direction values. Did you measure out the length to the horizon? or is this the vertical length that can be detected by polyfit? What was your procedure for calibrating and finding these values?

ym_per_pix = 30/720 # meters per pixel in y dimension

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