AI engineering glossary · Computer vision

What is HOG (histogram of oriented gradients)?

Histogram of oriented gradients (also called HOG): A hand-designed feature that divides an image into small cells and records a histogram of gradient directions in each, normalised over larger blocks. It captures shape and was the basis of classic pedestrian detectors paired with a linear SVM.

Level: advancedTopic: Computer vision

Histogram of oriented gradients: an example

A 64 x 128 pedestrian window produces a feature vector of 3,780 numbers with the standard HOG settings.

Related terms

More Computer vision terms

Where you learn it

Histogram of oriented gradients is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.