NVIDIA-AI-IOT / redtail

Perception and AI components for autonomous mobile robotics.
BSD 3-Clause "New" or "Revised" License
1.01k stars 346 forks source link

Problems with Calibrating GoPro Cameras #125

Open daylanc opened 5 years ago

daylanc commented 5 years ago

@Alexey-Kamenev I am at the step to calibrate my gopro cameras. I followed your "Datasets" page on your wiki to properly calibrate. I took a video of the checkerboard image and parsed it using your videoParser.py script, which yielded about 25 images. These are some of the original images: GOPR2950_MP4 savath_calibration0000 GOPR2950_MP4 savath_calibration0005 GOPR2950_MP4 savath_calibration0010

I then used the CameraCalibration script to calibrate. Here are some of the resulting images (original and undistorted): GOPR2950_MP4 savath_calibration0000 GOPR2950_MP4 savath_calibration0005 GOPR2950_MP4 savath_calibration0010 Undistorted: undist_GOPR2950_MP4 savath_calibration0000 undist_GOPR2950_MP4 savath_calibration0005 undist_GOPR2950_MP4 savath_calibration0010

This doesn't seem correct... Are we doing something wrong?

FYI: We run the CameraCalibration script with the following command: ./main CameraCalibration -input=<path_to_images> -results=<path_to_images> We compiled this CameraCalibration script using the following command: g++ -std=c++11 main.cpp 'pkg-config --libs --cflags opencv' -o main We tried compiling it with just g++ main.cpp but that did not work. Did we compile this correctly?

Thanks.