简体   繁体   English

从低亮度图像中检测 Dlib 人脸

[英]Dlib face detection from low brightness image

I want to detect face from image with low brightness.我想从低亮度的图像中检测人脸。 I'm using dlib for detecting the face from image.我正在使用 dlib 从图像中检测人脸。 But the dlib detector is detecting no face at all.但是 dlib 检测器根本没有检测到人脸。 I've the following code to detect faces from image.我有以下代码来检测图像中的人脸。

detector=dlib.get_frontal_face_detector()
faces=detector(image)

when i try to print the length of the faces it displays zero.当我尝试打印面的长度时,它显示为零。 Can anybody help me, what shall I do?谁能帮帮我,我该怎么办? Is there other way to detect images from low brightness images?还有其他方法可以从低亮度图像中检测图像吗? thanks.谢谢。

Dlib face detector is a very precise one. Dlib 人脸检测器是一个非常精确的检测器。 But as a cost it has low recall, especially when images are bad and/or faces are small.但作为代价,它的召回率很低,尤其是当图像不好和/或人脸很小的时候。 Try another face detector, like Seeta https://github.com/seetaface/SeetaFaceEngine Pico https://github.com/nenadmarkus/pico or OpenCV Those may provide detections.尝试另一个人脸检测器,例如 Seeta https://github.com/seetaface/SeetaFaceEngine Pico https://github.com/nenadmarkus/pico或 OpenCV 这些可能会提供检测。 But false detections as well.但错误检测也是如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM