Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Histogram of Gradients Backend #127

Open
krisharma opened this issue Feb 27, 2021 · 0 comments
Open

Implement Histogram of Gradients Backend #127

krisharma opened this issue Feb 27, 2021 · 0 comments
Assignees
Labels
ml ML concepts/algorithm focused tickets

Comments

@krisharma
Copy link
Collaborator

Create an implementation of the HoG demo as outlined here: https://learnopencv.com/histogram-of-oriented-gradients/

We want to ensure that we store the following intermediate computations so we can show them to the students:

  • g_x: the image resulting from sliding the horizontal Sobel filter across the original image (i.e. [-1, 0, 1])
  • g_y: the image resulting from sliding the vertical Sobel filter across the original image (i.e. [-1, 0, 1]^T)
  • Result of combining g_x and g_y to obtain the final vector direction + magnitudes
  • Histogram of grouping the vectors into direction bins, the amount that goes into each bin is based on the magnitude of the vectors

Use OpenCV.js for easy computation of the Sobel operations.

@krisharma krisharma added the ml ML concepts/algorithm focused tickets label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ml ML concepts/algorithm focused tickets
Projects
None yet
Development

No branches or pull requests

3 participants