From the course: Computer Vision on the Raspberry Pi 4
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Forming histograms of gradients (HOGs)
From the course: Computer Vision on the Raspberry Pi 4
Forming histograms of gradients (HOGs)
- Now that you understand what image gradients are, you're ready to see how they're used in computer vision. This video presents an important operation called the Histogram of Oriented Gradients method. Also called the HOG method. This has three steps, and the first is to compute image gradients for the pixels in a region. Then it combines these image gradients to form histograms, and concatenates the histograms to create a feature descriptor for the region. Like a fingerprint, a feature descriptor serves as a unique identifier for a set of pixels. Object detection relies on these feature descriptors to determine if an object is present in the region before proceeding further, I'd like to review the topic of histograms. A histogram divides a range of values into intervals and counts how many values fall into each interval. For example, suppose you own a store and you want to study the ages of your customers a graph that…