HaoQChen / log_system

This is a project use dlib and OpenCV to implement a log system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a project use dlib and OpenCV to implement a log system.

You need to install OpenCV firstly. dlib.19.16 has been in the folder.

build your log system by

cd log_system
mkdir build
cd build
cmake ..
make

then run ./log_test follow the indication

you can use pictures in the faces folder to test.

Code is based on dlib example dnn_face_recognition_ex. Save data and read data to XML file by OpenCV's FileStorage. It has been tested under Ubuntu1404 64bit, and all is well.

Code is easy to understand, at least I think so.

@ 2019.03.07

  • Change to build .so file, so add below command to CMakeLists.txt of dlib to fix bug add_compile_options(-fPIC)
  • Change to use OpenCV to load image, so we don't need to add sub cmake
  • You can use dlib load and .a version before this day

@ 2019.03.08

  • Fix a bug that will lost password
  • Add set(USE_AVX_INSTRUCTIONS ON) to dlib CMakeLists.txt. Compile use avx by default

Thank you for your star! (grinning)

About

This is a project use dlib and OpenCV to implement a log system.


Languages

Language:C++ 98.5%Language:CMake 0.6%Language:Cuda 0.5%Language:C 0.3%Language:Java 0.1%Language:Shell 0.0%Language:MATLAB 0.0%