From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Histograms of oriented gradients implementation

Hello,

 

you need to check the block diagram - you can see that there is a diagram disable structure, where the image already in memory is used to calculate the Hog descriptors. You need to disable this and enable the "load image" part!

 

As for tweaking other parameters (i.e. gamma correction, detection windows size, etc...) you can easily implement them in the source code and rebuild the .dll. Tweaking the parameters should give you better results for your application.

 

Best regards,

K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 21 of 24
(1,829 Views)

Hello,

Thanks a lot for your help,but can your VI be improved to detect a "rotated" human? ..For example a human that is lying horizontally on the ground.

0 Kudos
Message 22 of 24
(1,813 Views)

Hello,

 

you can use OpenCV to train your custom HOG descriptors. For example just one of the tutorials:

 

https://github.com/DaHoC/trainHOG/wiki/trainHOG-Tutorial

 

Best regards,


K


https://decibel.ni.com/content/blogs/kl3m3n



"Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."
0 Kudos
Message 23 of 24
(1,803 Views)

According to the paper published by Dalal and Triggs, they suggest gamma correction is not necessary. I have the doubt about whether correcting gamma is a good option to go for or not. If Gamma correction is necessary what is the gamma value I have to take for better performance. Awaiting for reply.!!! thanks in advance!!

0 Kudos
Message 24 of 24
(1,466 Views)