
Otherwise, simply follow along with this tutorial and you’ll have OpenCV 3.0 and Python 3.4+ installed on your Ubuntu system in less than 10 minutes. If you would like to full explanation of each step, please refer to the previous OpenCV 3.0 article. In general, you’ll find this tutorial very similar to the previous one on installing OpenCV 3.0 and Python2.7 on Ubuntu, so I’m going to condense my explanations of each of the steps as necessary. Important scientific libraries such as NumPy, SciPy, and scikit-learn are now providing Python 3 support. As scientific developers and researchers, it’s a pretty standard assumption that we’ll be sequestered to Python 2.7. That’s right, up until the v3.0 release, OpenCV only provided bindings to the Python 2.7 programming language.Īnd for many of us, that was okay. This tutorial still works perfectly, but if you want to install OpenCV on the newer Ubuntu 16.04 with OpenCV 3.1 and Python 3.5+, please use this freshly updated tutorial:Ī few weeks ago I covered how to install OpenCV 3.0 and Python 2.7+ on Ubuntu, and while this was a great tutorial (since many of us are still using Python 2.7), I think it’s really missing out on one of the major aspects of OpenCV 3.0 - Python 3.4+ support! UPDATE: The tutorial you are reading now covers how to install OpenCV 3.0 with Python 3.4+ bindings on Ubuntu 14.04. That said, be sure to pay special attention when we start working with CMake later in this tutorial to ensure you are compiling OpenCV 3.0 with Python 3.4+ support! How to Install OpenCV 3.0 and Python 3.4+ on Ubuntu

If you have followed along from the previous tutorial, you’ll notice that many of the steps are the same (or at least very similar), so I have condensed this article a bit. In the remainder of this blog post, I’ll detail how to install OpenCV 3.0 with Python 3.4+ bindings on your Ubuntu 14.04+ system.

But now, we can finally leverage Python 3.4+ in our new projects. In the previous 2.4.X releases of OpenCV, only Python 2.7+ was supported. However, one of the huge benefits of migrating to OpenCV 3.0 is the new Python 3.4+ support. Click here to download the source code to this postĪ couple weeks ago I provided step-by-step install instructions to setup OpenCV 3.0 and Python 2.7+ on your Ubuntu machine.
