Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques.