博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Demo3:视频人体检测
阅读量:4298 次
发布时间:2019-05-27

本文共 463 字,大约阅读时间需要 1 分钟。



#include 
#include
#include
#include
#include
#include
#include
using namespace std;using namespace cv; int main(){ Mat src = imread("10.jpg"); HOGDescriptor hog;//HOG特征检测器 hog.setSVMDetector(HOGDescriptor::getDefaultPeopleDetector());//设置SVM分类器为默认参数 vector
found, found_filtered;//矩形框数组 hog.detectMultiScale(src, found, 0, Size(8,8), Size(32,32), 1.05, 2);//对图像进行多尺度检测,检测窗口移动步长为(8,8) cout<<"矩形个数:"<
<

 

转载地址:http://oosws.baihongyu.com/

你可能感兴趣的文章
Python+Selenium练习篇之20-获取元素上面的文字
查看>>
Python+Selenium练习篇之21-验证控件是否被选中
查看>>
Python+Selenium练习篇之22-获取页面元素大小
查看>>
Python+Selenium练习篇之23-组合键-全选文字
查看>>
Python+Selenium练习篇之24-组合键-退格键删除文字
查看>>
Python+Selenium练习篇之25-鼠标右键
查看>>
Python+Selenium练习篇之26-执行JavaScript
查看>>
Python+Selenium练习篇之27-多窗口之间切换
查看>>
Python+Selenium练习篇之28-处理iframe切换
查看>>
Python+Selenium练习篇之29-处理Alert弹窗
查看>>
Python+Selenium练习篇之30-获取当前页面全部图片信息
查看>>
Python+Selenium练习篇之31-获取页面元素的href属性
查看>>
Python+Selenium练习篇之32-如何截图并保存
查看>>
Python+Selenium中级篇之0-设计自动化测试框架的前提技能介绍
查看>>
Python+Selenium中级篇之1-Python IDE工具-PyCharm的安装和简单使用
查看>>
Python+Selenium中级篇之2-Python中类/函数/模块的简单介绍和方法调用
查看>>
Python+Selenium中级篇之3-二次封装Selenium中几个方法
查看>>
Python+Selenium中级篇之4-封装一个自己的类-浏览器引擎类
查看>>
Python+Selenium中级篇之5-Python读取配置文件内容
查看>>
Python+Selenium中级篇之6-Python获取系统时间和格式化时间显示
查看>>