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

单人脸图片检测出多个人脸 #156

Closed zoushipeng closed 5 years ago

zoushipeng commented 5 years ago

image 有部分照片检测算法检出多个人脸,图片来源LFW

zoushipeng commented 5 years ago

Abdullah_al-Attiyah_0003 Aaron_Pena_0001 原图

zoushipeng commented 5 years ago

通过简单测试,可用置信度进行过滤,大部分检测出多张照片但是实际无人脸的,置信度一般低于60,综合实际情况,可设置过滤阈值为70,已过滤此类情况。

yongxiangzheng commented 5 years ago

你好,我这边测试单人脸检测结果多人脸,有两个位置置信度都高,但是位置都错误,似乎用阈值过滤也是没有用。 测试人脸: 微信截图_20190709140609 程序运行结果: 微信截图_20190709141208

人脸原图: Tom_Cruise_avp_2014_4

zoushipeng commented 5 years ago

可以尝试用图片进行resize,我这边按照将最大边压缩为480像素,可以得到正常的结果。这个应该是跟训练算法采用的图片和参数有关。 image

ShiqiYu commented 5 years ago

是的,训练图像最大边是320

On Tue, Jul 9, 2019 at 2:22 PM zoushipeng notifications@github.com wrote:

可以尝试用图片进行resize,我这边按照将最大边压缩未480像素,可以得到正常的结果。这个应该是跟训练算法采用的图片和参数有关。 [image: image] https://user-images.githubusercontent.com/19241583/60864029-fe5d7100-a254-11e9-9d66-a44b6da7c229.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ShiqiYu/libfacedetection/issues/156?email_source=notifications&email_token=ABWR4HLLTVDUOWZJDCV4T3DP6QVDVA5CNFSM4HRQOXW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZPHEZA#issuecomment-509506148, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWR4HLKDWWUMYNMYVPA4VDP6QVDVANCNFSM4HRQOXWQ .

yongxiangzheng commented 5 years ago

好的,那我明白了,谢谢老师们的解答。