This project shows how to use optical flow and direct method to estimate pose of camera.
OpenCV
OpenCV Contrib
http://eigen.tuxfamily.org/index.php?title=Main_Page
cd [path-to-Eigen]
mkdir build
cd build
cmake ..
make
sudo make install
sudo updatedb
locate eigen3
default location "/usr/include/eigen3"
https://github.com/HugoNip/Sophus
cd [path-to-pangolin]
mkdir build
cd build
cmake ..
make
sudo make install
mkdir build
cd build
cmake ..
make
./optical_flow
./direct_method