Archive | OpenCV 3

Deep 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, TensorFlow, and Torch/PyTorch. Furthermore, this API for using pre-trained deep learning models is compatible with both the C++ API and the Python bindings, making it […]

Continue Reading 23

Text 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. Given an image containing a rotated block of text at an unknown angle, we need to correct the text skew by: Detecting the block of text in the […]

Continue Reading 20

macOS: Install OpenCV 3 and Python 3.5

Last week I covered how to install OpenCV 3 with Python 2.7 bindings on macOS Sierra and above. In today’s tutorial we’ll learn how to install OpenCV 3 with Python 3.5 bindings on macOS. I decided to break these install tutorials into two separate guides to keep them well organized and easy to follow. To learn how to […]

Continue Reading 127

Ubuntu 16.04: How to install OpenCV

Over the past two years running the PyImageSearch blog, I’ve authored two tutorials detailing the required steps to install OpenCV (with Python bindings) on Ubuntu. You can find the two tutorials here: Install OpenCV 3.0 and Python 2.7+ on Ubuntu 14.04 Install OpenCV 3.0 and Python 3.4+ on Ubuntu 14.04 However, with support of Ubuntu […]

Continue Reading 336