You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Artem-Darius Weber
bb2dc1e41e
|
2 months ago | |
---|---|---|
.. | ||
face | 2 months ago | |
CMakeLists.txt | 2 months ago | |
readme.md | 2 months ago | |
rs_frame_image.h | 2 months ago |
readme.md
Dlib Samples for Intel® RealSense™ cameras
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.
List of Samples:
- Face - Facial recognition with simple anti-spoofing
Getting Started:
This page is certainly not a comprehensive guide to getting started with Dlib and CMake, but it can help get on the right track.
Windows
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
Building the Dlib samples as part of librealsense's VisualStudio project
- Download the latest Dlib release from dlib.net and extract into a local directory (
C:/work/dlib-19.17
) - Enable the ENABLED_DLIB_EXAMPLES entry in the CMake configuration for your copy of librealsense
- Point the DLIB_DIR entry to the location of your Dlib installation (
C:/work/dlib-19.17
) - Click
Configure
, thenGenerate
- Click
Open Project
to open Visual Studio (2015 or later, as required by librealsense) - Press
Ctrl+Shift+B
to build solution
Dlib will build as part of the librealsense build!
- Right-click on one of the examples to
Set as StartUp Project
- Press
F5
to compile and run the example
Linux
- Download the latest Dlib release from dlib.net and extract into a local directory (
~/work/dlib-19.17
) - Follow the instructions to build
librealsense
from source, but:
- Add
-DBUILD_DLIB_EXAMPLES=true -DDLIB_DIR=~/work/dlib-19.17
to yourcmake
command