Skip to content

Meters to Pixel Conversion #5

@drofp

Description

@drofp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions