4.Face detection

4.1 Dlib

DLIB is a modern C++toolkit that includes machine learning algorithms and tools for creating complex software in C++to solve real-world problems. It is widely applied in fields such as machines, embedded devices, mobile phones, and high-performance computing environments in the industry and academia. The dlib library uses 68 points to mark important parts of the face, such as the right eyebrow at 18-22 points and the mouth at 51-68 points. Get the dlib library_ Frontal_ Face_ The detector module detects a face, causing a shape_ Predictor_ 68_ Face_ Landmarks. dat feature data predicts facial feature values.

image-20231016102437500

4.2 Face detection

1) Start

Input following command:

image-20231016102952427

2) Code

Code path: /home/yahboom/orbbec_ws/src/yahboomcar_mediapipe/scripts/04_FaceMesh.py