{"id":13399892,"url":"https://github.com/davisking/dlib","last_synced_at":"2025-05-12T20:41:27.008Z","repository":{"id":13637899,"uuid":"16331291","full_name":"davisking/dlib","owner":"davisking","description":"A toolkit for making real world machine learning and data analysis applications in C++","archived":false,"fork":false,"pushed_at":"2025-05-03T15:17:38.000Z","size":50030,"stargazers_count":13979,"open_issues_count":46,"forks_count":3423,"subscribers_count":480,"default_branch":"master","last_synced_at":"2025-05-05T16:04:58.547Z","etag":null,"topics":["c-plus-plus","computer-vision","deep-learning","dlib","machine-learning","machine-learning-library","python"],"latest_commit_sha":null,"homepage":"http://dlib.net","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davisking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-01-29T00:45:33.000Z","updated_at":"2025-05-05T14:40:12.000Z","dependencies_parsed_at":"2024-05-12T01:23:45.570Z","dependency_job_id":"3951f6f6-199f-47a1-b63c-ef606a506ce1","html_url":"https://github.com/davisking/dlib","commit_stats":{"total_commits":7864,"total_committers":202,"mean_commits":38.93069306930693,"dds":0.09155645981688709,"last_synced_commit":"f7d99ae0dc97c00c1690863881709b7a8b89bb40"},"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davisking%2Fdlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davisking%2Fdlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davisking%2Fdlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davisking%2Fdlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davisking","download_url":"https://codeload.github.com/davisking/dlib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253817849,"owners_count":21969053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","computer-vision","deep-learning","dlib","machine-learning","machine-learning-library","python"],"created_at":"2024-07-30T19:00:44.724Z","updated_at":"2025-05-12T20:41:26.968Z","avatar_url":"https://github.com/davisking.png","language":"C++","readme":"# dlib C++ library  [![GitHub Actions C++ Status](https://github.com/davisking/dlib/actions/workflows/build_cpp.yml/badge.svg)](https://github.com/davisking/dlib/actions/workflows/build_cpp.yml) [![GitHub Actions Python Status](https://github.com/davisking/dlib/actions/workflows/build_python.yml/badge.svg)](https://github.com/davisking/dlib/actions/workflows/build_python.yml)\n\nDlib 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](http://dlib.net) for the main project documentation and API reference.\n\n\n\n## Compiling dlib C++ example programs\n\nGo into the examples folder and type:\n\n```bash\nmkdir build; cd build; cmake .. ; cmake --build .\n```\n\nThat will build all the examples.\nIf you have a CPU that supports AVX instructions then turn them on like this:\n\n```bash\nmkdir build; cd build; cmake .. -DUSE_AVX_INSTRUCTIONS=1; cmake --build .\n```\n\nDoing so will make some things run faster.\n\nFinally, 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:\n```bash\ncmake .. -G \"Visual Studio 14 2015 Win64\" -T host=x64 \n```\n\n## Compiling your own C++ programs that use dlib\n\nThe examples folder has a [CMake tutorial](https://github.com/davisking/dlib/blob/master/examples/CMakeLists.txt) that tells you what to do.  There are also additional instructions on the [dlib web site](http://dlib.net/compile.html).\n\nAlternatively, if you are using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager you can download and install dlib with CMake integration in a single command:\n```bash\nvcpkg install dlib\n```\n\n## Compiling dlib Python API\n\nBefore you can run the Python example programs you must install the build requirement.\n```bash\npython -m venv venv\npip install build\n```\n\nThen you must compile dlib and install it in your environment. Type:\n```bash\npython -m build --wheel\npip install dist/dlib-\u003cversion\u003e.whl\n```\n\nOr download dlib using PyPi:\n```bash\npip install dlib\n```\n\n## Running the unit test suite\n\nType the following to compile and run the dlib unit test suite:\n\n```bash\ncd dlib/test\nmkdir build\ncd build\ncmake ..\ncmake --build . --config Release\n./dtest --runall\n```\n\nNote 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.\n\nThis library is licensed under the Boost Software License, which can be found in [dlib/LICENSE.txt](https://github.com/davisking/dlib/blob/master/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.\n\n## dlib sponsors\n\nThis 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.\n\n","funding_links":[],"categories":["Uncategorized","C++","Frameworks","The Data Science Toolbox","Machine Learning","机器学习框架","Sensor Processing","其他_机器学习与深度学习","进程间通信","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++","🤖 Machine Learning \u0026 AI"],"sub_categories":["Uncategorized","General Machine Learning Packages","General Purpose Machine Learning","Machine Learning","机器学习","Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavisking%2Fdlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavisking%2Fdlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavisking%2Fdlib/lists"}