<p>For illustration, we describe the 2D HOG feature computation process. Here, we consider a single pixel, the one shown in red, whose neighbors have intensities 56, 93, 94, and 55. The blue arrow is the sample gradient, computed as described below. (This figure is best viewed in color.)</p