Get HOG image features from OpenCV + Python?

前端 未结 7 577
小鲜肉
小鲜肉 2020-11-30 18:58

I\'ve read this post about how to use OpenCV\'s HOG-based pedestrian detector: How can I detect and track people using OpenCV?

I want to use HOG for detecting othe

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 19:48

    I would not recommend using HOG features for detecting objects other than pedestrians. In the original HOG paper by Dalal and Triggs, they specifically mentioned that their detector is built around pedestrian detection in allowing for significant degrees of freedom in the limbs while using strong structural hints around human body.

    Instead, try looking at OpenCV's HaarDetectObjects. You can learn how to train your own cascades here.

提交回复
热议问题