Archive | OpenCV 3

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 15

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 90

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 217

Compiling OpenCV with CUDA support

Alight, so you have the NVIDIA CUDA Toolkit and cuDNN library installed on your GPU-enabled system. What next? Let’s get OpenCV installed with CUDA support as well. While OpenCV itself doesn’t play a critical role in deep learning, it is used by other deep learning libraries such as Caffe, specifically in “utility” programs (such as building a dataset […]

Continue Reading 16