how to correctly use peopledetect.py in opencv?

前端 未结 1 730
庸人自扰
庸人自扰 2021-01-17 01:58

I\'m newbie of opencv and I have real need for detecting people/human within some images, I find python interface named peopledetect.py and I look through code just like t

相关标签:
1条回答
  • 2021-01-17 02:26

    This code is using OpenCV's implementation of the HOG detector, see this tutorial for a good explanation of the algorithm. This classifier is trained on whole body images of people standing more or less upright, and that is what it will detect. If you want to detect people when you can see their face, but not the whole of their body, then take a look at OpenCV's face detection algorithms instead.

    0 讨论(0)
提交回复
热议问题