Book Image

OpenCV 3 Blueprints

Book Image

OpenCV 3 Blueprints

Overview of this book

Table of Contents (14 chapters)
OpenCV 3 Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Further reading


We have introduced a basic system for facial expression. If you are really interested in this topic, you may want to read this section for more guidance on how to improve the performance of the system. In this section, we will introduce you to compiling the opencv_contrib module, the Kaggle facial expression dataset, and the k-cross validation approach. We will also give you some suggestions on how to get better feature extraction.

Compiling the opencv_contrib module

In this section, we will introduce the process for compiling opencv_contrib in Linux-based systems. If you use Windows, you can use the Cmake GUI with the same options.

First, clone the opencv repository to your local machine:

git clone https://github.com/Itseez/opencv.git --depth=1

Second, clone the opencv_contrib repository to your local machine:

git clone https://github.com/Itseez/opencv_contrib --depth=1

Change directory to the opencv folder and make a build directory:

cd opencv
mkdir build
cd build

Build OpenCV...