Computer Vision with OpenCV: HOG Feature Extraction



Full course: https://www.sundog-education.com/get-computer-vision

In this excerpt from “Autonomous Cars: Deep Learning and Computer Vision with Python, ” Dr. Ryan Ahmed covers the Histogram of Gradients technique, and how OpenCV can use it to extract features from images using Python.

Related Posts

23 Comments

  1. One would think step 2 lead to the loss of information. When you bin the angle values and their intensities you discard their positions. Images are highly spatial data hence ignoring the placement of the gradients and only vectoring their angles and magnitudes seems like a way to cut corners. It must negatively impact the accuracy of neural networks being trained on these images.

  2. Each 8×8 cell is represented as a 1×9 HOG vector. How are all these vectors fed to the SVM? Do we add them up and feed the aggregate 9d vector or are the vectors appended? Thanks!

Leave a Reply

Your email address will not be published.

© 2022 Code As Pro - Theme by WPEnjoy · Powered by WordPress