Archive | Image Descriptors

Multiprocessing with OpenCV and Python

In this tutorial, you will learn how to use multiprocessing with OpenCV and Python to perform feature extraction. You’ll learn how to use multiprocessing with OpenCV to parallelize feature extraction across the system bus, including all processors and cores on your computer. Today’s tutorial is inspired by PyImageSearch reader, Abigail. Abigail writes: Hey Adrian, I […]

Continue Reading 27

Image Stitching with OpenCV and Python

In this tutorial, you will learn how to perform image stitching using Python, OpenCV, and the cv2.createStitcher  and cv2.Stitcher_create  functions. Using today’s code you’ll be able to stitch multiple images together, creating a panorama of stitched images. Just under two years ago I published two guides on image stitching and panorama construction: Fundamentals of image […]

Continue Reading 47

OpenCV panorama stitching

In today’s blog post, I’ll demonstrate how to perform image stitching and panorama construction using Python and OpenCV. Given two images, we’ll “stitch” them together to create a simple panorama, as seen in the example above. To construct our image panorama, we’ll utilize computer vision and image processing techniques such as: keypoint detection and local invariant […]

Continue Reading 240

HOG detectMultiScale parameters explained

Last week we discussed how to use OpenCV and Python to perform pedestrian detection. To accomplish this, we leveraged the built-in HOG + Linear SVM detector that OpenCV ships with, allowing us to detect people in images. However, one aspect of the HOG person detector we did not discuss in detail is the detectMultiScale  function; specifically, […]

Continue Reading 94

Implementing RootSIFT in Python and OpenCV

Still using the original, plain ole’ implementation of SIFT by David Lowe? Well, according to Arandjelovic and Zisserman in their 2012 paper, Three things everyone should know to improve object retrieval, you’re selling yourself (and your accuracy) short by using the original implementation. Instead, you should be utilizing a simple extension to SIFT, called RootSIFT, that can […]

Continue Reading 68

How-To: 3 Ways to Compare Histograms using OpenCV and Python

So you’ve extracted color histograms from a set of images… But how are you going to compare them for similarity? You’ll need a distance function to handle that. But which one? How you choose? And how do you compare histograms using Python and OpenCV? Don’t worry, I’ve got you covered. In this blog post I’ll […]

Continue Reading 111
[email]
[email]