Skip to content

Shivani1796/Undistort_Fisheye_Images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

This is to undistort fisheye images to a normal image (pin hole model).

Prepared By: Shivani Baldwa & Raghav Jethliya

In this go to directory undistort_fisheye_images ----->Intel T265.

NOTE : Please check the OpenCV version(3.4.2) as same as program otherwise it won't give the same result !!!!

Step 1:

Calibrate your camera

Run calibrate.py :

python calibrate.py

RESULT:

NOTE: Here you need to correct you image folder path.In this program we have kept image folder, calibrate.py and undistort.py files at the same place.

Step 2:

Undistort your images

Undistort all images together compile : python undistort.py

Run undistort.py

python undistort.py input_img_foldername output_img_foldername 
(For Example: python undistort.py input output)

RESULT:

NOTE:

  1. Here you need to check the calibration parameter must be same as result obtained from calibrate.py.

  2. Make sure that all parameters are correct.

  3. Check the input and output foldername while you compile and run program.

This is the output result you will obtained after performing OpenCV calibration:

Releases

No releases published

Packages

No packages published

Languages