Ask Your Question

Histogram of Oriented Gradients

asked 2017-09-05 01:53:54 -0500

peter_cz gravatar image


I'm looking for an example of Histogram of Oriented Gradients, is it implented within OpenCV (C/C++ implemetaion)?

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-09-05 02:12:35 -0500

Take a look at the train HOG sample, which basically takes samples, makes a HOG description of them and then trains an SVM, following the Dallal and Triggs approach.

If you only want the HOG computation, you can easily extract it from that sample!

edit flag offensive delete link more


berak gravatar imageberak ( 2017-09-05 02:41:34 -0500 )edit

Hi Steven, can I advice where to extract from?

peter_cz gravatar imagepeter_cz ( 2017-09-05 04:32:00 -0500 )edit
sturkmen gravatar imagesturkmen ( 2017-09-05 06:16:19 -0500 )edit

What do you mean with where to extract from? You can only apply a histogram of oriented gradients on an image patch...

StevenPuttemans gravatar imageStevenPuttemans ( 2017-09-05 06:37:23 -0500 )edit

Question Tools

1 follower


Asked: 2017-09-05 01:53:54 -0500

Seen: 1,810 times

Last updated: Sep 05 '17