There are three main function in HOG.py file which are:
-
Sobel operater Takes in an image as an argument and returns edges in the image and gradients image.
-
Visualisation Histogram of Gradients Takes in HOG values and the dimensions of the image as well as the kernel dimension and size.
-
Histogram Of Gradients Takes in the edges in the image and gradient image and returns Visualisation of HOG and HOG value