ShiqiYu / libfacedetection

An open source library for face detection in images. The face detection speed can reach 1000FPS.
Other
12.27k stars 3.05k forks source link

想使用68个关键点的检测,不知道怎么使用libfacedetect-example.cpp,我make后报下面的错误,不知道什么原因 #283

Open berylyellow opened 3 years ago

berylyellow commented 3 years ago

libfacedetect-example.o:在函数‘main’中: libfacedetect-example.cpp:(.text+0x258):对‘facedetect_frontal(unsigned char, unsigned char, int, int, int, float, int, int, int, int)’未定义的引用 libfacedetect-example.cpp:(.text+0x67d):对‘facedetect_frontal_surveillance(unsigned char, unsigned char, int, int, int, float, int, int, int, int)’未定义的引用 libfacedetect-example.cpp:(.text+0xaa2):对‘facedetect_multiview(unsigned char, unsigned char, int, int, int, float, int, int, int, int)’未定义的引用 libfacedetect-example.cpp:(.text+0xec7):对‘facedetect_multiview_reinforce(unsigned char, unsigned char, int, int, int, float, int, int, int, int)’未定义的引用 collect2: error: ld returned 1 exit status Makefile:21: recipe for target 'libfacedetect-example' failed make: *** [libfacedetect-example] Error 1

LuanZhanKuangGe commented 3 years ago

typedef struct FaceRect_ { float score; int x; int y; int w; int h; int lm[10]; }FaceRect;

就支持10个landmark吧

fengyuentau commented 3 years ago

目前尚不支持68个关键点的检测,但是我们最近会更新一个版本支持,请留意我们的更新。