Algorithm to compute HOG descriptors

The following steps describe the algorithm:

  1. If you wish to, you can globally normalize the image
  2. Compute the horizontal and vertical gradient images
  3. Compute the gradient histograms
  4. Normalize across blocks
  5. Flatten into a feature descriptor vector

HOG descriptors are the normalized block descriptors finally obtained by using the algorithm

Get Hands-On Image Processing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.