Archive | dlib

Install dlib (the easy, complete guide)

The latest release of dlib is special. It completely removes the boost.python dependency, making it significantly easier to install across the board on macOS, Ubuntu, and Raspbian. Thanks to the work of Davis King (the creator and maintainer of the dlib library) and Mischan Toos-Haus (who is responsible for removing the boost.python dependency), we can […]

Continue Reading 31

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 125

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 181

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 113