Tag Archives | face detection

Face detection with OpenCV and deep learning

Today I’m going to share a little known secret with you regarding the OpenCV library: You can perform fast, accurate face detection with OpenCV using a pre-trained deep learning face detector model shipped with the library. You may already know that OpenCV ships out-of-the-box with pre-trained Haar cascades that can be used for face detection… […]

Continue Reading 56

Raspberry Pi: Facial landmarks + drowsiness detection with OpenCV and dlib

Today’s blog post is the long-awaited tutorial on real-time drowsiness detection on the Raspberry Pi! Back in May I wrote a (laptop-based) drowsiness detector that can be used to detect if the driver of a motor vehicle was getting tired and potentially falling asleep at the wheel. The driver drowsiness detector project was inspired by […]

Continue Reading 95

Eye blink detection with OpenCV, Python, and dlib

In last week’s blog post, I demonstrated how to perform facial landmark detection in real-time in video streams. Today, we are going to build upon this knowledge and develop a computer vision application that is capable of detecting and counting blinks in video streams using facial landmarks and OpenCV. To build our blink detector, we’ll be […]

Continue Reading 131

Real-time facial landmark detection with OpenCV, Python, and dlib

Over the past few weeks we have been discussing facial landmarks and the role they play in computer vision and image processing. We’ve started off by learning how to detect facial landmarks in an image. We then discovered how to label and annotate each of the facial regions, such as eyes, eyebrows, nose, mouth, and jawline. Today […]

Continue Reading 101

Detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python

Today’s blog post is part three in our current series on facial landmark detection and their applications to computer vision and image processing. Two weeks ago I demonstrated how to install the dlib library which we are using for facial landmark detection. Then, last week I discussed how to use dlib to actually detect facial landmarks in […]

Continue Reading 101

Announcing the PyImageSearch Web API

Today I am super excited to officially announce the PyImageSearch web API. I’ve been planning on building this API for awhile now, and finally last weeks blog post on building a face detection Web API was just the kick in the ass I needed to finish up the project and push it online. The PyImageSearch Web […]

Continue Reading 6