Code Monkey home page Code Monkey logo

Comments (5)

JunshengFu avatar JunshengFu commented on June 19, 2024

Calibrate your camera. I use hard-coded values for my camera setup. And my transformation is not suitable for yours, see your bird-view as an example: if your camera is calibrated, you should see two parallel lanes.

from driving-lane-departure-warning.

Mojzaar avatar Mojzaar commented on June 19, 2024

Thanks for your prompt answer.

I saw that there is a camera_cal folder in your source code. I have to put the camera's outputs there and run the code. Will the transformation be updated automatically or I should change it inside the code?

Actually, I'm using the simulator's camera. Should I take image inside the simulator's environment or is there any other way to calibrate the camera?

from driving-lane-departure-warning.

JunshengFu avatar JunshengFu commented on June 19, 2024

please read https://github.com/JunshengFu/driving-lane-departure-warning#3-how-to-run-the-code
and https://github.com/JunshengFu/driving-lane-departure-warning#3-use-perspective-transform-to-see-the-image-in-bird-view

from driving-lane-departure-warning.

Mojzaar avatar Mojzaar commented on June 19, 2024

I read the document and also I calibrated the camera with calibration.py. But the calculated offset is still wrong. Have I forgotten another thing?

Thanks for your guidance.

my

from driving-lane-departure-warning.

JunshengFu avatar JunshengFu commented on June 19, 2024

https://github.com/JunshengFu/driving-lane-departure-warning#3-use-perspective-transform-to-see-the-image-in-bird-view
If you did above step right, you should already see the correct bird view.

from driving-lane-departure-warning.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.