Tag Archives | 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 23

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

How to install dlib

Two weeks ago I interviewed Davis King, the creator and chief maintainer of the dlib library. Today I am going to demonstrate how to install dlib with Python bindings on both macOS and Ubuntu. I highly encourage you to take the time to install dlib on your system over the next couple of days. Starting next week we’ll […]

Continue Reading 115