开发者

Signed HOG descriptor

开发者 https://www.devze.com 2023-04-04 17:56 出处:网络
I am using the HOGDescriptor class in OpenCV for object detection. It seem开发者_StackOverflows to me that the implementation only uses unsigned gradients, so it\'s unable to make the distinction betw

I am using the HOGDescriptor class in OpenCV for object detection. It seem开发者_StackOverflows to me that the implementation only uses unsigned gradients, so it's unable to make the distinction between light->dark and dark->light transitions, a feature I would really need. Does anyone know an implementation of HOG that uses signed gradients?

Thanks!


I guess you can use the 'unsigned' and 'signed' parameter with OpenCV implementation, you only need specify the degrees. The orientation bins are evenly spaced over 0◦ – 180◦ (“unsigned” gradient) or 0◦ –360◦ (“signed” gradient).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号