diff --git a/skimage/feature/_hog.py b/skimage/feature/_hog.py index 0b7d20e6286..3f8dc0b8b54 100644 --- a/skimage/feature/_hog.py +++ b/skimage/feature/_hog.py @@ -121,7 +121,7 @@ def hog(image, orientations=9, pixels_per_cell=(8, 8), # Normalize to ensure that values fit in dtype_limits hog_image /= hog_image.max() - # The fourth stage computes normalisation, which takes local groups of + # The fourth stage computes normalisation n_blocksx = (n_cellsx - bx) + 1 n_blocksy = (n_cellsy - by) + 1