SaddlebackCollegeRobotics / .github

0 stars 0 forks source link

Remove Image Distortion #164

Closed Supernova1114 closed 4 months ago

Supernova1114 commented 5 months ago

Attempt at removing distortion from fish eye lens camera with OpenCV. We'd use a chessboard, take at least 10 images and find a distortion calibration matrix.

Initial Research:

  1. Example Dataset shown by OpenCV (left01-14): https://github.com/opencv/opencv/tree/4.x/samples/data
  2. OpenCV Docs: https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html
  3. Video Tutorial: https://www.youtube.com/watch?v=H5qbRTikxI4

Task timeline: Should be done in a day or two.

Supernova1114 commented 4 months ago

We should be using the calibration tool and the v4l2 ros2 node. https://navigation.ros.org/tutorials/docs/camera_calibration.html https://index.ros.org/r/v4l2_camera/#humble

For viewing the camera topic, you can use the rqt image view node, which is shows in the v4l2 camera link above.