Ubuntu 18.04: How to install OpenCV
In this blog post you will learn how to install OpenCV on Ubuntu 18.04. In the past, I’ve authored a handful of installation guides for Ubuntu: Ubuntu 16.04: How to install OpenCV with Python 2.7 and...
View ArticleFace 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...
View ArticleDeep learning: How OpenCV’s blobFromImage works
Today’s blog post is inspired by a number of PyImageSearch readers who have commented on previous deep learning tutorials wanting to understand what exactly OpenCV’s blobFromImage function is doing...
View ArticleRaspberry Pi: Deep learning object detection with OpenCV
A few weeks ago I demonstrated how to perform real-time object detection using deep learning and OpenCV on a standard laptop/desktop. After the post was published I received a number of emails from...
View ArticleOptimizing OpenCV on the Raspberry Pi
This tutorial is meant for advanced Raspberry Pi users who are looking to milk every last bit of performance out of their Pi for computer vision and image processing using OpenCV. I’ll be assuming:...
View ArticleReal-time object detection with deep learning and OpenCV
Today’s blog post was inspired by PyImageSearch reader, Emmanuel. Emmanuel emailed me after last week’s tutorial on object detection with deep learning + OpenCV and asked: “Hi Adrian, I really enjoyed...
View ArticleObject detection with deep learning and OpenCV
A couple weeks ago we learned how to classify images using deep learning and OpenCV 3.3’s deep neural network (dnn ) module. While this original blog post demonstrated how we can categorize an image...
View ArticleRaspbian Stretch: Install OpenCV 3 + Python on your Raspberry Pi
It’s been over two years since the release of Raspbian Jessie. As of August 17th, 2017, the Raspberry Pi foundation has officially released the successor to Raspbian Jessie — Raspbian Stretch. Just as...
View ArticleDeep Learning with OpenCV
Two weeks ago OpenCV 3.3 was officially released, bringing with it a highly improved deep learning (dnn ) module. This module now supports a number of deep learning frameworks, including Caffe,...
View ArticleResolving macOS, OpenCV, and Homebrew install errors
As you undoubtedly know, configuring and installing OpenCV on your macOS machine can be a bit of a pain. To help you and other PyImageSearch readers get OpenCV installed faster (and with less...
View ArticleText skew correction with OpenCV and Python
Today’s tutorial is a Python implementation of my favorite blog post by Félix Abecassis on the process of text skew correction (i.e., “deskewing text”) using OpenCV and image processing functions....
View ArticleRecognizing digits with OpenCV and Python
Today’s tutorial is inspired by a post I saw a few weeks back on /r/computervision asking how to recognize digits in an image containing a thermostat identical to the one at the top of this post. As...
View ArticleFaster video file FPS with cv2.VideoCapture and OpenCV
Have you ever worked with a video file via OpenCV’s cv2.VideoCapture function and found that reading frames just felt slow and sluggish? I’ve been there — and I know exactly how it feels. Your entire...
View ArticleRotate images (correctly) with OpenCV and Python
Let me tell you an embarrassing story of how I wasted three weeks of research time during graduate school six years ago. It was the end of my second semester of coursework. I had taken all of my exams...
View ArticleInstall OpenCV 3 on macOS with Homebrew (the easy way)
Over the past few weeks I have demonstrated how to compile OpenCV 3 on macOS with Python (2.7, 3.5) bindings from source. Compiling OpenCV via source gives you complete and total control over which...
View ArticleReal-time object detection with deep learning and OpenCV
Today’s blog post was inspired by PyImageSearch reader, Emmanuel. Emmanuel emailed me after last week’s tutorial on object detection with deep learning + OpenCV and asked: “Hi Adrian, I really enjoyed...
View ArticleObject detection with deep learning and OpenCV
A couple weeks ago we learned how to classify images using deep learning and OpenCV 3.3’s deep neural network (dnn ) module. While this original blog post demonstrated how we can categorize an image...
View ArticleRaspbian Stretch: Install OpenCV 3 + Python on your Raspberry Pi
It’s been over two years since the release of Raspbian Jessie. As of August 17th, 2017, the Raspberry Pi foundation has officially released the successor to Raspbian Jessie — Raspbian Stretch. Just as...
View ArticleDeep Learning with OpenCV
Two weeks ago OpenCV 3.3 was officially released, bringing with it a highly improved deep learning (dnn ) module. This module now supports a number of deep learning frameworks, including Caffe,...
View ArticleResolving macOS, OpenCV, and Homebrew install errors
As you undoubtedly know, configuring and installing OpenCV on your macOS machine can be a bit of a pain. To help you and other PyImageSearch readers get OpenCV installed faster (and with less...
View Article