The file named fisheye_calibrate.cpp is used to calibrate the fisheye camera online or using image file. The file named camere_calibrate.cpp is used to calibrate the pin-hole camera online, which I refer to the book .
- Opencv2
You can use cmake to use this project.
mkdir build
cd build
cmake ..
make
./fiseye_calibrate
You need to edit the CMakeLists.txt first and then compile the code.