Quantcast
Channel: PyImageSearch
Browsing all 195 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Automatic color correction with OpenCV and Python

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...

View Article


Image may be NSFW.
Clik here to view.

OpenCV Connected Component Labeling and Analysis

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,...

View Article


Image may be NSFW.
Clik here to view.

Adversarial attacks with FGSM (Fast Gradient Sign Method)

In this tutorial, you will learn how to perform adversarial attacks using the Fast Gradient Sign Method (FGSM). We will implement FGSM using Keras and TensorFlow. Previously, we learned how to...

View Article

Image may be NSFW.
Clik here to view.

An interview with Anthony Lowhur – Recognizing 10,000 Yugioh Cards with...

In this blog post, I interview computer vision and deep learning engineer, Anthony Lowhur. Anthony shares the algorithms and techniques that he used to build a computer vision and deep learning system...

View Article

Image may be NSFW.
Clik here to view.

Defending against adversarial image attacks with Keras and TensorFlow

In this tutorial, you will learn how to defend against adversarial image attacks using Keras and TensorFlow. So far, you have learned how to generate adversarial images using three different methods:...

View Article


Image may be NSFW.
Clik here to view.

Mixing normal images and adversarial images when training CNNs

In this tutorial, you will learn how to generate image batches of (1) normal images and (2) adversarial images during the training process. Doing so improves your model’s ability to generalize and...

View Article

Image may be NSFW.
Clik here to view.

OpenCV Template Matching ( cv2.matchTemplate )

In this tutorial, you will learn how to perform template matching using OpenCV and the cv2.matchTemplate function. Other than contour filtering and processing, template matching is arguably one of the...

View Article

Image may be NSFW.
Clik here to view.

Multi-template matching with OpenCV

In this tutorial, you will learn how to perform multi-template matching with OpenCV. Last week you discovered how to utilize OpenCV and the cv2.matchTemplate function for basic template matching. The...

View Article


Image may be NSFW.
Clik here to view.

An interview with Jagadish Mahendran, 1st place winner of the OpenCV Spatial...

In this post, I interview Jagadish Mahendran, senior Computer Vision/Artificial Intelligence (AI) engineer who recently won 1st place in the OpenCV Spatial AI Competition using the new OpenCV AI Kit...

View Article


Image may be NSFW.
Clik here to view.

OpenCV Face detection with Haar cascades

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,...

View Article

Image may be NSFW.
Clik here to view.

OpenCV Haar Cascades

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,...

View Article

Image may be NSFW.
Clik here to view.

An interview with Gary Song, deep learning practitioner at Unity Technologies

In this blog post, I interview Gary Song, a deep learning practitioner at Unity Technologies. We’re now at the one-year anniversary of COVID-19. It’s been a particularly rough year for all of us. For...

View Article

Image may be NSFW.
Clik here to view.

Your First Image Classifier: Using k-NN to Classify Images

Recently, we’ve spent a reasonable amount of time discussing image fundamentals, types of learning, and even a four-step pipeline we can follow when building our own image classifiers. But we have yet...

View Article


Image may be NSFW.
Clik here to view.

Image Classification Basics

A picture is worth a thousand words.— English idiom We’ve heard this adage countless times in our lives. It simply means that a complex idea can be conveyed in a single image. Whether examining the...

View Article

Image may be NSFW.
Clik here to view.

What is Deep Learning?

Deep learning methods are representation-learning methods with multiple levels of representation, obtained by composing simple but nonlinear modules that each transform the representation at one level...

View Article


Image may be NSFW.
Clik here to view.

The Deep Learning Classification Pipeline

Based on our previous two sections on image classification and types of learning algorithms, you might be starting to feel a bit steamrolled with new terms, considerations, and what looks to be an...

View Article

Image may be NSFW.
Clik here to view.

Face detection with dlib (HOG and CNN)

In this tutorial, you will learn how to perform face detection with the dlib library using both HOG + Linear SVM and CNNs. The dlib library is arguably one of the most utilized packages for face...

View Article


Image may be NSFW.
Clik here to view.

Face detection tips, suggestions, and best practices

In this tutorial, you will learn my tips, suggestions, and best practices to achieve high face detection accuracy with OpenCV and dlib. We’ve covered face detection four times on the PyImageSearch...

View Article

Image may be NSFW.
Clik here to view.

OpenCV Color Spaces ( cv2.cvtColor )

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...

View Article

Image may be NSFW.
Clik here to view.

OpenCV Morphological Operations

In this tutorial, you will learn about applying morphological operations with OpenCV. The morphological operations we’ll be covering include: ErosionDilationOpeningClosingMorphological gradientBlack...

View Article
Browsing all 195 articles
Browse latest View live