Skip to content

dlib_install

Moscowsky Anton edited this page Mar 31, 2021 · 7 revisions

Dlib provides impressive functionality for image processing, primarily with trainable approaches. The following functionality is available in this package:

Install

1. Choose directory for source

cd
mkdir Lib
cd Lib

2. Clone repository from github

git clone https://github.com/davisking/dlib

3. Tell the package to use dlib

In file CMakeLists.txt of extended_object_detection replace line

set(DLib OFF)

with

set(DLib ON)

Also in line

add_subdirectory(/home/anton/Lib/dlib dlib_build)

Check the path is correct. It must match the path to which was chosen in paragraph 1.

4. Rebuild project

cd catkin_ws
catkin_make

or

cd catkin_ws
catkin build extended_object_detection
Clone this wiki locally