Python Run Error: TypeError: hog() got an unexpected keyword argument ‘visualise‘”

Running Python code reports an error “typeerror: hog() got an unexpected keyword argument ‘visualise'”

FD, hog_ image = hog(image, orientations=8, pixels_ per_ cell=(12, 12),
cells_ per_ Block = (1, 1), visualise = true) can be normal by changing visualise to visualize, that is (changing the letter S to Z):

 fd, hog_image = hog(image, orientations=8, pixels_per_cell=(12, 12),
                    cells_per_block=(1, 1), visualize=True)


Read More: