Skip to content

Heinlein-vi/face-recognition-ncnn

 
 

Repository files navigation

face-recognition-ncnn

Network

face detection netword:RetinaFace MobileNet0.25

face recognition:mobilenet v2 faecnet mobilenet v2 faecnet

Test

  • for x86_64 linux with no vulkan
mkdir build
cd build
cmake ../
make -j4
./face_ncnn ../test_pic/2.jpg ../test_pic/4.jpg
  • for jetson agx
    交叉编译armv8版本的ncnn, 使用install/lib、install/include 替换本项目中的lib、include.
    在jetson agx下执行:
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/jetson.toolchain.cmake ../
make -j4
./face_ncnn ../test_pic/2.jpg ../test_pic/4.jpg
  • 测试图片放在test_pic

  • 结果放在output_pic

  • References

https://github.com/Tencent/ncnn

https://github.com/Charrin/RetinaFace-Cpp

https://github.com/deepinsight/insightface

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.8%
  • C 3.8%
  • CMake 3.4%