{"repo":"davisking/dlib","free":true,"listed":false,"github":"https://github.com/davisking/dlib","clone":"git clone https://github.com/davisking/dlib.git","description":"A toolkit for making real world machine learning and data analysis applications in C++","language":"C++","stars":14432,"topics":["machine-learning","deep-learning","c-plus-plus","python","computer-vision","machine-learning-library","dlib"],"license":"BSL-1.0","category":"machine-learning","readme_excerpt":"dlib C++ library Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. See http://dlib.net for the main project documentation and API reference. Compiling dlib C++ example programs Go into the examples folder and type: That will build all the examples. If you have a CPU that supports AVX instructions then turn them on like this: Doing so will make some things run faster. Finally, Visual Studio users should usually do everything in 64bit mode. By default Visual Studio is 32bit, both in its outputs and its own execution, so you have to explicitly tell it to use 64bits. Since it's not the 1990s anymore you probably want to use 64bits. Do that with a cmake invocation like this: Compiling your own C++ programs that use dlib The examples folder has a CMake tutorial that tells you what to do. There are also additional instructions on the dlib web site. Alternatively, if you are using the vcpkg dependency manager you can download and install dlib with CMake integration in a single command: Compiling dlib Python API Either fetch the latest stable release of dlib from PyPi and install that: Or fetch the very latest version from github and install that: It's possible to change build settings by passing parameters to setup.py or DLIB environment variables. For example, setting the environment variable DLIB NO GUI SUPPORT to ON will add the cmake option -DDLIB NO GUI SUPPORT=ON . Running the unit te","default_branch":null,"files":null,"tree":[],"storefront":"/r/davisking","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/davisking/dlib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}