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

Problem with other videos #3

Open
Kuppharish opened this issue Jun 5, 2017 · 2 comments
Open

Problem with other videos #3

Kuppharish opened this issue Jun 5, 2017 · 2 comments

Comments

@Kuppharish
Copy link

When I use a different video I get an error in np.polyfit that the input is empty and when I see the values of leftx and lefty in lane.py, they are empty arrays. Is there any fix for this.

@JunshengFu
Copy link
Owner

@KuppamCR7 There are hard coded values in my lane detections, especially the four corners selected as for bird's view image warping. If your camera is installed differently than mine (which is very possible), and it will give you wrong warped bird view image. If you want to work with your own video, you might need to calibrate the camera by yourself.

For this project, the goal is for vehicle detection, and the lane finding is just an extra feature. If you want to know more about how the lane finding works in my project, you can see another repository: https://github.com/JunshengFu/driving-lane-departure-warning

Hope it helps.

@lyxlty
Copy link

lyxlty commented Apr 1, 2018

@JunshengFu use your video can work normally,when I want to use a different video and I get an error,I need to calibrate the camera by myself?? but I don't know calibrate the camera
thank you!

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

3 participants