dlib

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

https://github.com/davisking/dlib

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

c-plus-plus computer-vision deep-learning dlib machine-learning machine-learning-library python

Keywords from Contributors

closember tensor autograd convolutional-neural-networks alignment flexible deep-neural-networks distributed transformer pretrained-models
Last synced: 6 months ago · JSON representation

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
c-plus-plus computer-vision deep-learning dlib machine-learning machine-learning-library python
Created about 12 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

dlib C++ library GitHub Actions C++ Status GitHub Actions Python 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:

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

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

All Time
  • Total Commits: 7,946
  • Total Committers: 206
  • Avg Commits per committer: 38.573
  • Development Distribution Score (DDS): 0.095
Past Year
  • Commits: 50
  • Committers: 13
  • Avg Commits per committer: 3.846
  • Development Distribution Score (DDS): 0.64
Top Committers
Name Email 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...

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
inactive (87) bug (20) help wanted (4) enhancement (3)
Pull Request Labels
inactive (11) enhancement (7)

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

  • Versions: 41
  • Dependent Packages: 51
  • Dependent Repositories: 3,530
  • Downloads: 155,236 Last month
  • Docker Downloads: 10,346
Rankings
Stargazers count: 0.2%
Dependent repos count: 0.2%
Forks count: 0.2%
Dependent packages count: 0.3%
Average: 0.5%
Downloads: 0.8%
Docker downloads count: 1.3%
Maintainers (1)
Last synced: 6 months ago
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
  • Versions: 21
  • Dependent Packages: 8
  • Dependent Repositories: 38
Rankings
Forks count: 1.9%
Stargazers count: 2.5%
Average: 4.8%
Dependent repos count: 5.9%
Dependent packages count: 9.0%
Last synced: 6 months ago
pypi.org: dlib-binary

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

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 6
  • Downloads: 1,144 Last month
Rankings
Stargazers count: 0.2%
Forks count: 0.2%
Average: 5.0%
Dependent repos count: 6.0%
Downloads: 8.6%
Dependent packages count: 10.0%
Maintainers (1)
Last synced: 7 months ago
cocoapods.org: dlib

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

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 0.1%
Stargazers count: 0.1%
Dependent packages count: 11.9%
Average: 13.2%
Dependent repos count: 40.7%
Maintainers (1)
Last synced: 7 months ago
pypi.org: friday-dlib

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 9 Last month
Rankings
Stargazers count: 0.2%
Forks count: 0.2%
Dependent packages count: 10.0%
Average: 20.4%
Dependent repos count: 21.7%
Downloads: 69.7%
Maintainers (1)
Last synced: 7 months ago
pypi.org: hmcsdlib-gpu

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 16 Last month
Rankings
Stargazers count: 0.2%
Forks count: 0.2%
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Average: 23.6%
Downloads: 86.0%
Maintainers (1)
Last synced: 7 months ago
pypi.org: hmcsdlib

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

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 23 Last month
Rankings
Stargazers count: 0.2%
Forks count: 0.2%
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Average: 24.0%
Downloads: 88.0%
Maintainers (1)
Last synced: 7 months ago
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
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 39.7%
Average: 45.7%
Dependent packages count: 51.6%
Last synced: 6 months ago
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
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 39.7%
Average: 45.7%
Dependent packages count: 51.6%
Last synced: 7 months ago

Dependencies

.github/workflows/build_cpp.yml actions
  • actions/cache v3 composite
  • actions/checkout v2 composite
.github/workflows/build_matlab.yml actions
  • actions/checkout v2 composite
  • matlab-actions/run-command v1 composite
  • matlab-actions/setup-matlab v1 composite
.github/workflows/build_python.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
dlib/external/pybind11/tools/pyproject.toml pypi
pyproject.toml pypi
python_examples/requirements.txt pypi
  • numpy *
  • opencv-python *
setup.py pypi
  • cmake *