Archive | Libraries

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 56

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 79

Seam carving with OpenCV, Python, and scikit-image

Easily one of my all-time favorite papers in computer vision literature is Seam Carving for Content-Aware Image Resizing by Avidan and Shamir from Mitsubishi Electric Research Labs (MERL). Originally published in the SIGGRAPH 2007 proceedings, I read this paper for the first time during my computational photography class as an undergraduate student. This paper, along with […]

Continue Reading 20

Installing Keras with TensorFlow backend

A few months ago I demonstrated how to install the Keras deep learning library with a Theano backend. In today’s blog post I provide detailed, step-by-step instructions to install Keras using a TensorFlow backend, originally developed by the researchers and engineers on the Google Brain Team. I’ll also (optionally) demonstrate how you can integrate OpenCV into […]

Continue Reading 54

Unifying picamera and cv2.VideoCapture into a single class with OpenCV

Over the past two weeks on the PyImageSearch blog, we have discussed how to use threading to increase our FPS processing rate on both built-in/USB webcams, along with the Raspberry Pi camera module. By utilizing threading, we learned that we can substantially reduce the affects of I/O latency, leaving the main thread to run without being blocked as […]

Continue Reading 67