Dlib is a general purpose cross platform open source software library written in the C++ programming language. Its design is heavily influenced by ideas from design by contract and component-based software engineering. This means it is, first and foremost, a collection of independent software components.Since development began in 2002, dlib has grown to include a wide variety of tools.