tags: dlib Face Recognition
dlib library support cnn algorithm, c ++ and python version version, to achieve the python version, and then implement C ++ version, the final realization of android version.
Download dlib archive,http://dlib.net/The latest version is version 19.15, after extracting open README.md, to see how to compile, or view:http://dlib.net/compile.html。
Note, also need to install libx11-dev library, use the command:
sudo apt-get install libx11-dev
Command in the dlib-19.15 Contents:
mkdir build; cd build; cmake .. ; cmake --build .
then at dlib-19.15 directory, execute the command:
python setup.py install
Enter python_examples directory, open cnn_face_detector.py file, or face_detector.py files, the top tells how to run the python script, such as:
./cnn_face_detector.py mmod_human_face_detector.dat ../examples/faces/*.jpg
Which, mmod_human_face_detector.dat file to be downloaded in http://dlib.net/files/mmod_human_face_detector.dat.bz2.
Run the following commands in the directory dlib-19.15:
cd examples mkdir build cd build cmake .. cmake --build . --config Release
After compilation, execution:
./dnn_mmod_face_detection_ex mmod_human_face_detector.dat ../faces/*.jpg
The results are as follows:
The main reference:https://github.com/gv22ga/dlib-face-recognition-android
From the above experimental point of view, dlib program, face detection by conventional methods without the cnn, cnn with face recognition method, and the results were good, a feed to be optimized.
! Disclaimer! The following are all personal understanding, newcomers are inevitably wrong, I hope to correct. First, function learning 1、perspective_window::overlay_dot (one of the class perspective_...
Dlib is a toolkit written in C++. Compared to deep learning libraries, dlib internally encapsulates many more traditions.Machine learningComputational functions, such as regression analysis, support v...
The dlib library has a corresponding python extension interface package. After installation, you can use python to call the ldib library writer. Obtain From the official websiteDlib official websiteOr...
[Deep learning tool]·Minimal installation of Dlib face recognition library Introduction to Dlib Dlib is a modern C++ toolbox that contains machine learning algorithms and tools for creating com...
Installation and configuration of vs2013+DLib machine learning library under win10 This blog mainly uses two methods to compile and generate dlib.lib: Generate dlib.lib file with Cmake compilation too...
Recently, I was studying the direction of face recognition, and I downloaded some code for face recognition on the Internet, and found that basically one sentence impot dlib is used. Let me first talk...
1 DLIB introduction DLIB is a modern C ++ toolbox containing machine learning algorithms and tools, which can create complex software with C ++ to solve practical problems. It is widely used in indust...
In the official documentation, the result of dlib compilation is only the static library dlib.a, and my program needs to use the dynamic library link, so it needs to be recompiled into a dynamic libra...
table of Contents: Foreword Problem Description Foreword Originally, I have written several methods for installing various libraries, and even installed the anaconda artifact, but I still encountered ...
Anaconda install Dlib library In order to install the Dlib library, I found a lot of tutorials on the Internet, because I use python3.7, and there is no suitable Dhl library whl file on the Internet, ...