davisking/dlib


A toolkit for making real world machine learning and data analysis applications in C++

dlib.net

Language: C++

Keywords: c-plus-plus, computer-vision, deep-learning, machine-learning, machine-learning-library, python


dlib C++ library Travis Status

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:

mkdir build; cd build; cmake .. ; cmake --build .

That will build all the examples. If you have a CPU that supports AVX instructions then turn them on like this:

mkdir build; cd build; cmake .. -DUSE_AVX_INSTRUCTIONS=1; cmake --build .

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:

cmake .. -G "Visual Studio 14 2015 Win64" -T host=x64 

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:

vcpkg install dlib

Compiling dlib Python API

Before you can run the Python example programs you must compile dlib. Type:

python setup.py install

Running the unit test suite

Type the following to compile and run the dlib unit test suite:

cd dlib/test
mkdir build
cd build
cmake ..
cmake --build . --config Release
./dtest --runall

Note that on windows your compiler might put the test executable in a subfolder called Release. If that's the case then you have to go to that folder before running the test.

This library is licensed under the Boost Software License, which can be found in dlib/LICENSE.txt. The long and short of the license is that you can use dlib however you like, even in closed source commercial software.

dlib sponsors

This research is based in part upon work supported by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA) under contract number 2014-14071600010. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of ODNI, IARPA, or the U.S. Government.

Project Statistics

Sourcerank 14
Repository Size 22.2 MB
Stars 9,088
Forks 2,694
Watchers 508
Open issues 44
Dependencies 3
Contributors 147
Tags 52
Created
Last updated
Last pushed

Top Contributors See all

Davis E. King Evgeniy Fominov Juha Reunanen Ehsan Azar Patrick Snape Adrià Arrufat Séverin Lemaignan Facundo Galán Alain Vaucher Stefan Schweter steve98654 Daniel Crispell bjc MBWFL Leo Sean Warren visionworkz Dennis Francis ernestotapiar virgile devaux

Packages Referencing this Repo

dlib
A toolkit for making real world machine learning and data analysis applications
Latest release 19.20.0 - Updated - 9.09K stars
dlib
A toolkit for making real world machine learning and data analysis applications in C++
Latest release 19.4 - Updated - 9.09K stars

Recent Tags See all

v19.20 June 06, 2020
v19.19 December 14, 2019
v19.18 September 22, 2019
v19.17 March 10, 2019
v19.16 September 29, 2018
v19.15 July 13, 2018
v19.14 July 07, 2018
v19.13 May 26, 2018
v19.12 May 19, 2018
v19.11 May 18, 2018
v19.10 March 19, 2018
v19.9 January 23, 2018
v19.8 December 20, 2017
v19.7 September 17, 2017
v19.6 August 28, 2017

Interesting Forks See all

spmallick/dlib
A toolkit for making real world machine learning and data analysis applications in C++
C++ - Last pushed - 633 stars - 365 forks
ageitgey/dlib
A toolkit for making real world machine learning and data analysis applications in C++
C++ - Last pushed - 3 stars - 2 forks
hunter-packages/dlib
A toolkit for making real world machine learning and data analysis applications in C++
C++ - Last pushed - 2 stars - 2 forks
SuperV1234/dlib
A toolkit for making real world machine learning and data analysis applications in C++
C++ - Last pushed - 2 stars
e-fominov/dlib
A toolkit for making real world machine learning and data analysis applications in C++
C++ - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2020-06-06 19:05:31 UTC

Login to resync this repository