Ubuntu16.04编译libfacedetection
首先下载libfacedetection的源代码,源码地址:https://github.com/ShiqiYu/libfacedetection
然后进入目录,创建目录build,然后进入build文件,进行cmake
cmake..
然后make,修改src/facedetectcnn.h 中注释掉
//#define _ENABLE_AVX2 //Please enable it if X64 CPU
//#define _ENABLE_NEON //Please enable it if ARM CPU
然后make,成功
make编译结束后,进行demo测试,输入指令./fdt_demo ../images/chloecalmon.png最后输出测试图片的运行结果
谢谢!