The histogram of oriented gradients (HOG) implemented in tensorflow. Based on the codes from digamma-ai's tfcv, where I made the following changes:
- Fixing the bugs when running with newer version tensorflow (>=1.4).
- Completing the orientation function.
- Modifying the bin partition function to suit the orientation function.
- Automatically pad the input images.
- Masking the unwanted gradients of edge pixels.
- Visualizing HOG image (use the codes from skimage v0.14).