pip install opencv

In this tutorial you will will learn how to pip install OpenCV on Ubuntu, macOS, and the Raspberry Pi. In previous OpenCV install tutorials I have recommended compiling from source; however, in the past year it has become possible to install OpenCV via pip, Python’s very own package manager. While installing from source will give […]

Continue Reading 20

OpenCV OCR and text recognition with Tesseract

In this tutorial, you will learn how to apply OpenCV OCR (Optical Character Recognition). We will perform both (1) text detection and (2) text recognition using OpenCV, Python, and Tesseract. A few weeks ago I showed you how to perform text detection using OpenCV’s EAST deep learning model. Using this model we were able to […]

Continue Reading 49

Keras Tutorial: How to get started with Keras, Deep Learning, and Python

Inside this Keras tutorial, you will discover how easy it is to get started with deep learning and Python. You will use the Keras deep learning library to train your first neural network on a custom image dataset, and from there, you’ll implement your first Convolutional Neural Network (CNN) as well. The inspiration for this […]

Continue Reading 29

Semantic segmentation with OpenCV and deep learning

In this tutorial, you will learn how to perform semantic segmentation using OpenCV, deep learning, and the ENet architecture. After reading today’s guide, you will be able to apply semantic segmentation to images and video using OpenCV. Deep learning has helped facilitate unprecedented accuracy in computer vision, including image classification, object detection, and now even […]

Continue Reading 73

Neural Style Transfer with OpenCV

In this tutorial, you will learn how to apply neural style transfer to both images and real-time video using OpenCV, Python, and deep learning. By the end of this guide, you’ll be able to generate beautiful works of art with neural style transfer. The original neural style transfer algorithm was introduced by Gatys et al. […]

Continue Reading 49

Install OpenCV 4 on macOS

This tutorial provides step-by-step instructions to install OpenCV 4 (with Python bindings) on your macOS machine. While OpenCV 4 has not been officially released yet, a release is expected in autumn 2018. In the meantime, you can compile and install OpenCV 4 from source on your macOS system using the pre-release on GitHub. Once OpenCV 4 […]

Continue Reading 31

How to install OpenCV 4 on Ubuntu

In this tutorial you will learn how to install OpenCV 4 on your Ubuntu system. OpenCV 4 has not been officially released yet; however, a release is expected in autumn 2018. In the meantime, we can compile and install OpenCV 4 from source using the pre-release on GitHub. Once OpenCV 4 is officially released I […]

Continue Reading 58

OpenCV People Counter

In this tutorial you will learn how to build a “people counter” with OpenCV and Python. Using OpenCV, we’ll count the number of people who are heading “in” or “out” of a department store in real-time. Building a person counter with OpenCV has been one of the most-requested topics here on the PyImageSearch and I’ve […]

Continue Reading 121