hog detectmultiscale 参数解释
来源:互联网 发布:es6 对象转成数组 编辑:程序博客网 时间:2024/04/27 18:42
The size of the default people detector is 64x128, that mean that the people you would want to detect have to be atleast 64x128. For your camera resolution that would mean that a person would have to take up quite some space before getting properly detected.
Depending on your specific situation, you could try your hand at training your own HOG Descriptor, with a smaller size. You could take a look at this answer and the referenced library if you want to train your own HOG Descriptor.
For the Parameters:
win_stride: Given your input image has a size of 640 x 480, and the defaultpeopleDetector has a window size of 64x128, you can fit the HOG Detection window ( the 64x128 window) multiple times in the input image. The winstride tells HOG to move the detection window a certain amount each time. How does this work: Hog places the detection window on the top left of your input image. and moves the detection window each time by the win_stride.
Like this (small win_stride):
or like this (large win_stride)
A smaller winstride should improve accuracy, but decreases preformance, and the other way around
padding Padding adds a certain amount of extra pixels on each side of the input image. That way the detection window is placed a bit outside the input image. It's because of that padding that HOG can detect people who are very close to the edge of the input image.
group_threshold The group_treshold determines a value by when detected parts should be placed in a group. Low value provides no result grouping, a higher value provides result grouping if the amount of treshold has been found inside the detection windows. (in my own experience, I have never needed to change the default value)
- hog detectmultiscale 参数解释
- HOG detectMultiScale 参数分析
- opencv HOG中detectMultiScale()参数含义
- hog.detectMultiScale过程学习
- opencv HOG中detectMultiScale函数详解
- opencv HOG中detectMultiScale函数详解
- 学习OpenCV——Hog.detectMultiScale的心得
- 学习OpenCV——Hog.detectMultiScale的心得
- 行人检测hog.detectMultiscale()函数,终于有点眉目了
- 如何训练opencv hog.detectmultiscale 的分类器
- 学习OpenCV——Hog.detectMultiScale的心得
- 学习<opencv> CascadeClassifier::detectMultiScale 各个参数作用
- 转:HOG解释
- 使用hog的detectMultiScale出现错误 (dsize.area() > 0 || (inv_scale_x > 0 && inv_scale_y > 0))
- 关于 HOG 代码 的一些解释
- 关于 HOG 代码 的一些解释
- 关于 HOG 代码 的一些解释
- HOG参数简介及Hog特征维数的计算
- codeforce376C. Socks(并查集+贪心)
- css3动画
- 线程基础:interrupt、join
- C语言总结1
- codeforces - 273C Prime on Interval 【二分】
- hog detectmultiscale 参数解释
- JZOJ 4820. 【NOIP2016提高A组模拟10.15】最大化
- vs2010 忽略指定的warnning
- C++ Primer(第五版)练习4.22
- 半数集和半数单集问题
- Kotlin - package、import及as等关键字
- redis--事务--底层实现
- strtob 十进制整数n变为任意进制以字符串形式输出
- android:获取屏幕分辨率,屏幕密度