wrappers/dlib/readme.md
Examples in this folder are designed to complement existing SDK examples and demonstrate how Intel RealSense cameras can be used together with dlib in domain of computer-vision.
RealSense examples have been designed and tested with dlib version 19.17, Working with newer version may require code changes.
This page is certainly not a comprehensive guide to getting started with Dlib and CMake, but it can help get on the right track.
This section describes how to use CMake to generate a VisualStudio project to build the Dlib library and a VisualStudio project to build the Dlib samples.
First, download and install CMake from cmake.org/download
C:/work/dlib-19.17)C:/work/dlib-19.17)Configure, then GenerateOpen Project to open Visual Studio (2015 or later, as required by librealsense)Ctrl+Shift+B to build solutionDlib will build as part of the librealsense build!
Set as StartUp ProjectF5 to compile and run the example~/work/dlib-19.17)librealsense from source, but:-DBUILD_DLIB_EXAMPLES=true -DDLIB_DIR=~/work/dlib-19.17 to your cmake command