Open oshlern opened 8 years ago
As of 23/2/16 we will not be able to work on this until we get a working camera. The ETA of the working camera is still TBD so we are putting this on halt.
one of the opencv examples is a camera calibration and undistortion thing
@oshlern @widakay Let's start taking steps to finish this. @widakay you told me this was semi-trivial; care to elaborate? @oshlern is our midseason camera sufficient to test this?
This is pretty trivial. There's a process (that has tutorials) for doing this (links above), we just need a running raspberry pi camera and an image of something like a chessboard. I'm assuming the two cameras are identical enough to make the inaccuracies between them negligible. We can always do this on the one on the robot too if we have a couple minutes.
The two cameras should be similar enough that we can calibrate it with one and it will work for the other.
@Shaheenthebean you mentioned you were having trouble fixing this. What was the issue?
Currently we have radial distortion on our camera, which gives us fuzzy angles at the corners of the image. There is supposed to be an opencv command to fix this. We should get that in our code.
OpenCV documentation: http://docs.opencv.org/2.4/doc/tutorials/calib3d/camera_calibration/camera_calibration.html
Tutorial: http://www.technolabsz.com/2012/07/camera-calibration-using-opencv.html
Additionally, could we put a fisheye lens on our camera? This would allow for a lot more range. I'm assuming fixing the image distortion is the same process with and without a fisheye.