Archive | OpenCV 3

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 46

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 119

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 11

Writing to video with OpenCV

Let me just start this blog post by saying that writing to video with OpenCV can be a huge pain in the ass. My intention with this tutorial is to help you get started writing videos to file with OpenCV 3, provide (and explain) some boilerplate code, and detail how I got video writing to work on […]

Continue Reading 39