ShiqiYu / ShiqiYu/libfacedetection

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

Open
#283 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.8k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running make and inspect Makefile line 21 alongside libfacedetect-example.cpp, where the four undefined detection symbols are referenced. Trace the build inputs for those symbols and confirm the example links successfully, then verify how the 68-keypoint detection path is intended to be used.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.