简体   繁体   中英

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. But the dlib detector is detecting no face at all. 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. 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. But false detections as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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