The codes are copied from here, which is a c++ implementation of Shape Matching.
I convert the code to a more suitable one for my own project.
mkdir build; cd build; cmake .. make -j4
./match