Libfacedetection face detection
Library description
The libfacedetection library, launched by Yu Shiqi of Shenzhen University, is used for face detection in images. Libfacedetection is an open source library for face detection based on CNN. The CNN model has been converted to stastic variales in the C source file. The source code does not depend on any other libraries, all you need is a C++ compiler. You can use the C + + compiler to compile the source code on Windows,Linux,ARM and any platform. Currently, open source code does not support face logo detection. Download address: https://github.com/ShiqiYu/libfacedetection
Compile
CMake generates the solution. According to whether the computer's CPU supports instruction sets, select AVX2 or NEON, check demo, and generate test examples.
Be careful
Turn on facedetectcnn.h and block CPU acceleration, because the computer does not support the instruction set AVX2 of CPU acceleration.
/ / # define _ ENABLE_AVX2 / / Please enable it if X64 CPU
/ / # define _ ENABLE_NEON / / Please enable it if ARM CPU
Otherwise, run and save
Inline int dotProductUint8Int8 (unsigned char * p1, signed char * p2, int num, int lengthInBytes)
_ m256i ones16 = _ mm256_set1_epi16 (1)
There is an unhandled exception at 0x00007FF7ED5C6FB8 (in testface.exe): 0xC000001D: Illegal Instruction. There it is.