Tag Archives | opencv

alexas_fotos-A0qtF_zwx_M-unsplash

Extracting Histogram of Gradients with OpenCV

Besides the feature descriptor generated by SIFT, SURF, and ORB, as in the previous post, the Histogram of Oriented Gradients (HOG) is another feature descriptor you can obtain using OpenCV. HOG is a robust feature descriptor widely used in computer vision and image processing for object detection and recognition tasks. It captures the distribution of […]

Continue Reading
michael-barth-7Yp3v4Ol1jI-unsplash

Image Feature Extraction in OpenCV: Edges and Corners

In the world of computer vision and image processing, the ability to extract meaningful features from images is important. These features serve as vital inputs for various downstream tasks, such as object detection and classification. There are multiple ways to find these features. The naive way is to count the pixels. But in OpenCV, there […]

Continue Reading
kNN_cover

K-Nearest Neighbors Classification Using OpenCV

The OpenCV library has a module that implements the k-Nearest Neighbors algorithm for machine learning applications.  In this tutorial, you will learn how to apply OpenCV’s k-Nearest Neighbors algorithm for classifying handwritten digits. After completing this tutorial, you will know: Several of the most important characteristics of the k-Nearest Neighbors algorithm. How to use the […]

Continue Reading
kmeans_class_cover

K-Means Clustering for Image Classification Using OpenCV

In a previous tutorial, we explored using the k-means clustering algorithm as an unsupervised machine learning technique that seeks to group similar data into distinct clusters to uncover patterns in the data.  So far, we have seen how to apply the k-means clustering algorithm to a simple two-dimensional dataset containing distinct clusters and the problem […]

Continue Reading
video_basics_cover

How to Read and Display Videos Using OpenCV

Digital videos are close relatives of digital images because they are made up of many digital images sequentially displayed in rapid succession to create the effect of moving visual data.  The OpenCV library provides several methods to work with videos, such as reading video data from different sources and accessing several of their properties. In […]

Continue Reading
opencv_intro_cover

A Gentle Introduction to OpenCV: An Open Source Library for Computer Vision and Machine Learning

If you are interested in working with images and video and would like to introduce machine learning into your computer vision applications, then OpenCV is a library you will need to get hold of.  OpenCV is a huge open source library that can interface with various programming languages, including Python, and is extensively used by […]

Continue Reading