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 ArticleOpenCV 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 ArticleAdversarial 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 ArticleAn 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 ArticleDefending 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 ArticleMixing 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 ArticleOpenCV 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 ArticleMulti-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 ArticleAn 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 ArticleOpenCV 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 ArticleOpenCV 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 ArticleAn 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 ArticleYour 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 ArticleImage 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 ArticleWhat 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 ArticleThe 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 ArticleFace 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 ArticleFace 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 ArticleOpenCV 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 ArticleOpenCV 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