Author Archive | Adrian Rosebrock

PyImageConf 2018 Recap

PyImageConf 2018, PyImageSearch’s very own computer vision and deep learning education conference, took place August 26th-28th in San Francisco, CA at the Regency Hyatt. It was an amazing conference and based on attendee feedback, it was HUGE success. Today I want to recap the conference, share some highlights, and perhaps most importantly, discuss aspects of […]

Continue Reading 15

Install OpenCV 4 on your Raspberry Pi

Today I’m going to show you how to compile and install OpenCV 4 on your Raspberry Pi. OpenCV 4 was officially released on November 20th, 2018. This blog post was updated subsequently on November 28th to accommodate the changes to the install (previously these instructions linked to the alpha release source code). It is also […]

Continue Reading 108

OpenCV Face Recognition

In this tutorial, you will learn how to use OpenCV to perform face recognition. To build our face recognition system, we’ll first perform face detection, extract face embeddings from each face using deep learning, train a face recognition model on the embeddings, and then finally recognize faces in both images and video streams with OpenCV. […]

Continue Reading 119

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 71

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 97

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 80

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 95

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 57

Install OpenCV 4 on macOS

This tutorial provides step-by-step instructions to install OpenCV 4 (with Python bindings) on your macOS machine. OpenCV 4 was released on November 20th, 2018. I originally wrote this blog post when the alpha version was released, and it has now been updated on November 30th, 2018 to support the official release. OpenCV 4 comes with […]

Continue Reading 52