• Skip to primary navigation
  • Skip to main content
  • Skip to footer

PyImageSearch

You can master Computer Vision, Deep Learning, and OpenCV - PyImageSearch

  • University Login
  • Get Started
  • Topics
    • Deep Learning
    • Dlib Library
    • Embedded/IoT and Computer Vision
    • Face Applications
    • Image Processing
    • Interviews
    • Keras and TensorFlow
    • Machine Learning and Computer Vision
    • Medical Computer Vision
    • Optical Character Recognition (OCR)
    • Object Detection
    • Object Tracking
    • OpenCV Tutorials
    • Raspberry Pi
  • Books and Courses
  • AI & Computer Vision Programming
  • Reviews
  • Blog
  • Consulting
  • About
  • FAQ
  • Contact
  • University Login
OpenCV Tutorials
Tutorials

OpenCV Image Histograms ( cv2.calcHist )

April 28, 2021

In this tutorial, you will learn how to compute image histograms using OpenCV and the cv2.calcHist function. Histograms are prevalent in nearly every aspect of computer vision. We use grayscale histograms for thresholding. We use histograms for white balancing. We…

Read More of OpenCV Image Histograms ( cv2.calcHist )

Image Processing, Tutorials
OpenCV Tutorials

OpenCV Color Spaces ( cv2.cvtColor )

April 28, 2021

In this tutorial, you will learn about color spaces in OpenCV, the cv2.cvtColor function, and the importance of lighting conditions/environments when building a computer vision and image processing pipeline. A dataset with images in various color spaces is useful to…

Read More of OpenCV Color Spaces ( cv2.cvtColor )

Image Processing
OpenCV Tutorials
Tutorials

OpenCV Morphological Operations

April 28, 2021

In this tutorial, you will learn about applying morphological operations with OpenCV. The morphological operations we’ll be covering include: Erosion Dilation Opening Closing Morphological gradient Black hat Top hat (also called “White hat”) These image processing operations are applied to…

Read More of OpenCV Morphological Operations

Image Processing
OpenCV Tutorials
Tutorials

OpenCV Smoothing and Blurring

April 28, 2021

In this tutorial, you will learn about smoothing and blurring with OpenCV. We will cover the following blurring operations Simple blurring (cv2.blur) Weighted Gaussian blurring (cv2.GaussianBlur) Median filtering (cv2.medianBlur) Bilateral blurring (cv2.bilateralFilter) By the end of this tutorial, you’ll be…

Read More of OpenCV Smoothing and Blurring

Image Processing
OpenCV Tutorials
Tutorials

OpenCV Thresholding ( cv2.threshold )

April 28, 2021

In this tutorial, you will learn how to use OpenCV and the cv2.threshold function to apply basic thresholding and Otsu thresholding. A dataset for this topic enables us to understand the effect of different thresholding techniques on different types of…

Read More of OpenCV Thresholding ( cv2.threshold )

Face Applications
Object Detection
OpenCV Tutorials
Tutorials

OpenCV Haar Cascades

April 12, 2021

In this tutorial, you will learn about OpenCV Haar Cascades and how to apply them to real-time video streams. Haar cascades, first introduced by Viola and Jones in their seminal 2001 publication, Rapid Object Detection using a Boosted Cascade of…

Read More of OpenCV Haar Cascades

Face Applications
OpenCV Tutorials
Tutorials

OpenCV Face detection with Haar cascades

April 5, 2021

In this tutorial, you will learn how to perform face detection with OpenCV and Haar cascades. This guide, along with the next two, were inspired by an email I received from PyImageSearch reader, Angelos: Hi Adrian, I’ve been an avid…

Read More of OpenCV Face detection with Haar cascades

OpenCV Tutorials
Tutorials

OpenCV Connected Component Labeling and Analysis

February 22, 2021

In this tutorial, you will learn how to perform connected component labeling and analysis with OpenCV. Specifically, we will focus on OpenCV’s most used connected component labeling function, cv2.connectedComponentsWithStats. Connected component labeling (also known as connected component analysis, blob extraction,…

Read More of OpenCV Connected Component Labeling and Analysis

OpenCV Tutorials
Tutorials

Automatic color correction with OpenCV and Python

February 15, 2021

In this tutorial, you will learn how to perform automatic color correction with OpenCV using a color matching/balancing card. Last week we discovered how to perform histogram matching. Using histogram matching, we can take the color distribution of one image…

Read More of Automatic color correction with OpenCV and Python

  • Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • ...
  • Page 10
  • Next Page

You can learn Computer Vision, Deep Learning, and OpenCV.

Get your FREE 17 page Computer Vision, OpenCV, and Deep Learning Resource Guide PDF. Inside you’ll find our hand-picked tutorials, books, courses, and libraries to help you master CV and DL.


Footer

Topics

  • Deep Learning
  • Dlib Library
  • Embedded/IoT and Computer Vision
  • Face Applications
  • Image Processing
  • Interviews
  • Keras & Tensorflow
  • OpenCV Install Guides
  • Machine Learning and Computer Vision
  • Medical Computer Vision
  • Optical Character Recognition (OCR)
  • Object Detection
  • Object Tracking
  • OpenCV Tutorials
  • Raspberry Pi

Books & Courses

  • PyImageSearch University
  • FREE CV, DL, and OpenCV Crash Course
  • Practical Python and OpenCV
  • Deep Learning for Computer Vision with Python
  • PyImageSearch Gurus Course
  • Raspberry Pi for Computer Vision

PyImageSearch

  • Affiliates
  • Get Started
  • About
  • Consulting
  • Coaching
  • FAQ
  • YouTube
  • Blog
  • Contact
  • Privacy Policy

© 2026 PyImageSearch. All Rights Reserved.