Series
Guide
compile
1 | git clone https://github.com/davisking/dlib.git |
with options
CMAKE_INSTALL_PREFIX C:/Program Files/dlib
configure and compile with Visual Studio 2015 and install to C:/Program Files/dlib.
By default,
dlib19.10.0_release_64bit_msvc1900.libwill be generated.
CMakeLists.txt
1 | cmake_minimum_required(VERSION 2.8.12) |
or
1 | find_package(dlib REQUIRED) |
dlib for python api
1 | cd tools/python |
compile dlib_python with Visual Studio 2015 and dlib.pyd will be generated.
copy dlib.pyd to C:\Python27\Lib\site-packages.
test dlib for python
1 | import dlib |
Reference
History
- 20180330: created.