Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Libfacedetection face detection

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report