Here I am assuming the chessboard is fixed on the (x, y) plane at z=0, such that the object points are the same for each calibration image. I start by preparing “object points”, which will be the (x, y, z) coordinates of the chessboard corners in the world. The code for this step is contained in the calibration.py. OpenCV provides some very useful functions to perform this task. Since we want to grasp a view of the surroundings as accurately as possible, we need to correct this distortion. I wrote the main part of the algorithm in detect.py.Įach camera have a particular lens that distort the captured image in a certain way compared to the reality.In test.py is all my code for saving functions outputs for visual testing and filling in this report.I my calibration code in calibration.py.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |