udacity / self-driving-car-sim

A self-driving car simulator built with Unity
http://udacity.com/self-driving-car
MIT License
3.91k stars 1.51k forks source link

Camera distortion correction needed? #16

Closed ahnwarez closed 6 years ago

ahnwarez commented 7 years ago

I'm interested in applying all the knowledge I gained in the Advanced Lane Detection project and put it into the Car Simulator.

How do I know that the left, right and center camera are corrected or non-corrected?

ahnwarez commented 7 years ago

I managed to find the camera matrix and distortion coefficients by downloading the source code project and unity and then took many screenshots of the chessboard.

Here is a notebook that I wrote on how I did it. https://github.com/AhmedAnwarHafez/SDC-Advanced-Lane-Finding-In-Simulator/blob/master/Camera%20Caliberation%20for%20Udacity's%20Car%20Simulator.ipynb

baumanab commented 6 years ago

That is awesome, way to take the initiative!