bundle_adjustment for detail explanation, please refer https://zhuanlan.zhihu.com/p/78670676. Build the program mkdir build cd build cmake .. make Run bin/tes_bundle_adjustment