dlib
A toolkit for making real world machine learning and data analysis applications in C++
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
11 of 206 committers (5.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A toolkit for making real world machine learning and data analysis applications in C++
Basic Info
- Host: GitHub
- Owner: davisking
- License: bsl-1.0
- Language: C++
- Default Branch: master
- Homepage: http://dlib.net
- Size: 48 MB
Statistics
- Stars: 14,093
- Watchers: 480
- Forks: 3,439
- Open Issues: 44
- Releases: 34
Topics
Metadata Files
README.md
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:
bash
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:
bash
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:
bash
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:
bash
vcpkg install dlib
Compiling dlib Python API
Either fetch the latest stable release of dlib from PyPi and install that:
bash
pip install dlib
Or fetch the very latest version from github and install that:
bash
git clone https://github.com/davisking/dlib.git
cd dlib
pip install .
Running the unit test suite
Type the following to compile and run the dlib unit test suite:
bash
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.
Owner
- Name: Davis E. King
- Login: davisking
- Kind: user
- Location: Boston, MA
- Website: dlib.net
- Repositories: 8
- Profile: https://github.com/davisking
GitHub Events
Total
- Create event: 4
- Commit comment event: 3
- Release event: 3
- Issues event: 33
- Watch event: 658
- Delete event: 1
- Issue comment event: 256
- Push event: 39
- Pull request event: 77
- Pull request review comment event: 68
- Pull request review event: 68
- Fork event: 104
Last Year
- Create event: 4
- Commit comment event: 3
- Release event: 3
- Issues event: 33
- Watch event: 658
- Delete event: 1
- Issue comment event: 256
- Push event: 39
- Pull request event: 77
- Pull request review comment event: 68
- Pull request review event: 68
- Fork event: 104
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Davis King | d****s@d****t | 7,195 |
| Adrià Arrufat | 1****t | 179 |
| pfeatherstone | 4****e | 61 |
| Juha Reunanen | j****n@t****m | 48 |
| Fm | fm@s****u | 47 |
| Ehsan Azarnasab | d****y@g****m | 33 |
| Patrick Snape | p****e@g****m | 29 |
| Facundo Galán | f****1 | 12 |
| Cydral | 5****l | 11 |
| Séverin Lemaignan | s****n@g****g | 10 |
| sutr90 | s****0@g****m | 8 |
| Steve Taylor | s****4@g****m | 7 |
| Stefan Schweter | s****n@s****t | 7 |
| Alain Vaucher | a****r@p****h | 7 |
| Julien Schueller | s****r@p****m | 6 |
| Daniel Crispell | d****l@g****m | 6 |
| Jack Culpepper | j****r@g****m | 5 |
| elelel | e****l@3****t | 5 |
| Øystein Myrmo | o****o@g****m | 5 |
| Davis@potato-xp.localnet | D****s@p****t | 5 |
| davis@blarg-a324a5a3e.localnet | d****s@b****t | 4 |
| Dennis Francis | d****n@g****m | 4 |
| Sean Warren | s****9@i****k | 4 |
| visionworkz | 3****z | 4 |
| yuriio | y****h@g****m | 3 |
| AbdealiJK | a****i@g****m | 3 |
| Gilles Rochefort | g****t@g****m | 3 |
| Jan Rüegg | r****n@g****m | 3 |
| Jeffrey Byrne | j****e@g****m | 3 |
| Kino | h****i@g****m | 3 |
| and 176 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 199
- Total pull requests: 222
- Average time to close issues: about 1 month
- Average time to close pull requests: 25 days
- Total issue authors: 168
- Total pull request authors: 44
- Average comments per issue: 6.31
- Average comments per pull request: 5.1
- Merged pull requests: 169
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 29
- Pull requests: 83
- Average time to close issues: 30 days
- Average time to close pull requests: 13 days
- Issue authors: 27
- Pull request authors: 24
- Average comments per issue: 2.41
- Average comments per pull request: 2.73
- Merged pull requests: 53
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- pfeatherstone (9)
- arrufat (4)
- reunanen (3)
- Sahil-pixel (2)
- TonyCongqianWang (2)
- TAMILVIP007 (2)
- fatalfeel (2)
- penguinpee (2)
- pepeverde9 (2)
- xingyuezhiyun (2)
- marcjasner (2)
- tintin-py (2)
- YoucanBaby (2)
- DlibReza (2)
- Harshu2032000 (2)
Pull Request Authors
- arrufat (67)
- pfeatherstone (40)
- Cydral (31)
- reunanen (8)
- davisking (8)
- ribbon-otter (7)
- Chainfire (6)
- kSkip (6)
- penguinpee (5)
- facug91 (4)
- jschueller (4)
- yuzawa-san (4)
- Dobatymo (4)
- tabudz (4)
- r-barnes (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 9
-
Total downloads:
- pypi 156,428 last-month
- Total docker downloads: 10,346
-
Total dependent packages: 59
(may contain duplicates) -
Total dependent repositories: 3,577
(may contain duplicates) - Total versions: 79
- Total maintainers: 5
pypi.org: dlib
A toolkit for making real world machine learning and data analysis applications
- Homepage: https://github.com/davisking/dlib
- Documentation: https://dlib.readthedocs.io/
- License: Boost Software License
-
Latest release: 20.0.0
published 9 months ago
Rankings
Maintainers (1)
conda-forge.org: dlib
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.
- Homepage: http://dlib.net
- License: BSL-1.0
-
Latest release: 19.24.6
published over 1 year ago
Rankings
pypi.org: dlib-binary
A toolkit for making real world machine learning and data analysis applications
- Homepage: https://github.com/davisking/dlib
- Documentation: https://dlib-binary.readthedocs.io/
- License: Boost Software License
-
Latest release: 19.24.1
published almost 3 years ago
Rankings
Maintainers (1)
cocoapods.org: dlib
A toolkit for making real world machine learning and data analysis applications in C++
- Homepage: http://dlib.net
- Documentation: https://cocoadocs.org/docsets/dlib/
- License: Boost Software License
-
Latest release: 19.4
published almost 4 years ago
Rankings
Maintainers (1)
pypi.org: friday-dlib
A toolkit for making real world machine learning and data analysis applications
- Homepage: https://github.com/davisking/dlib
- Documentation: https://friday-dlib.readthedocs.io/
- License: Boost Software License
-
Latest release: 19.7.0
published over 8 years ago
Rankings
Maintainers (1)
pypi.org: hmcsdlib-gpu
A toolkit for making real world machine learning and data analysis applications
- Homepage: https://github.com/davisking/dlib
- Documentation: https://hmcsdlib-gpu.readthedocs.io/
- License: Boost Software License
-
Latest release: 19.22.99
published over 4 years ago
Rankings
Maintainers (1)
pypi.org: hmcsdlib
A toolkit for making real world machine learning and data analysis applications
- Homepage: https://github.com/davisking/dlib
- Documentation: https://hmcsdlib.readthedocs.io/
- License: Boost Software License
-
Latest release: 19.22.99
published over 4 years ago
Rankings
Maintainers (1)
conda-forge.org: dlib-gpu
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.
- Homepage: http://dlib.net
- License: BSL-1.0
-
Latest release: 19.24.6
published over 1 year ago
Rankings
conda-forge.org: dlib-cpu
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.
- Homepage: http://dlib.net
- License: BSL-1.0
-
Latest release: 19.24.6
published over 1 year ago
Rankings
Dependencies
- actions/cache v3 composite
- actions/checkout v2 composite
- actions/checkout v2 composite
- matlab-actions/run-command v1 composite
- matlab-actions/setup-matlab v1 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- numpy *
- opencv-python *
- cmake *