基于OpenCV的人体轮廓检测算法

收稿日期:2019-09-17      修回日期:2020-01-17
基金项目:全国大学生创新和创业培训计划(201810616070)
作者简介:张 艺(1996-),女,硕士研究生,研究方向为图像处理㊂基于OpenCV 的人体轮廓检测算法
张 艺,匡 毅,王 梅,黄志远,胡 松
(成都理工大学信息科学与技术学院,四川成都610059)
摘 要:人体轮廓检测一直都是图像处理领域研究的热点问题,在监控系统㊁军事扫描搜寻㊁无人驾驶以及机场的安全等方面都有着息息相关的应用㊂针对目前在地下停车场或者机场等不方便进行人工监督的地方,为了保障行人安全,提出了一种基于OpenCV 的人体轮廓检测研究方法㊂对所标记和存储的人体图像进行去噪和图像形态学处理,通过Canny 边缘检测和膨胀及腐蚀处理,以阈值化等方法得到图像轮廓㊂同时对于人体轮廓的边缘检测,选用最优的Sobel 算子作为边缘检测算子;然后从图像中检索并绘制出人体轮廓,把人体区域提取出来并保存㊂通过实验证明,提出算法的平均人体轮廓检测正确率为91.7%,除了准确性,该方法的运算时间与中值滤波相比,缩短了80%㊂因此,该方法既能够保证人体检测的准确性,又能够实现快速检测,在机场等人流量大,检测不便的应用场合具有较强的适用性㊂
马克思主义为什么行
关键词:OpenCV;图像处理;高斯滤波;Sobel 检测算子;轮廓检测
中图分类号:TP301.6      文献标识码:A      文章编号:1673-629X (2020)08-0081-05
doi:10.3969/j.issn.1673-629X.2020.08.013
Human Contour Detection Algorithm Based on OpenCV
ZHANG Yi ,KUANG Yi ,WANG Mei ,HUANG Zhi -yuan ,HU Song
(School of Information Science and Technology ,Chengdu University of Technology ,Chengdu 610059,China )Abstract :Human contour detection has always been a hot issue in the field of image processing ,and it has closely related applications in monitoring systems ,military scanning search ,unmanned driving and airport security.In order to ensure the safety of pedestrians in places where it is not convenient to carry out manual supervision in underground parking lots or airports ,we propose a human contour detection method based on OpenCV.The labeled and stored human images are denoised and morphologically processed.Through Canny edge detection and expansion and erosion processing ,image contours are obtained by thresholding methods.At the same time ,the optimal Sobel operator is selected as the edge detection operator for human body contour ,and then
北京青年报网站
the human body contour is retrieved from the image and drawn ,and the human body region is extracted and saved.Experiment shows that the average human contour detection accuracy of the algorithm is 91.7%.In addition to accuracy ,its calculation time is shortened by 80%compared with the median filtering.Therefore ,the proposed method can not only ensure the accuracy of human body detection ,but also achieve rapid detection ,which has strong applicability in airports and other applications where the human flow is large and the detection is inconvenient.Key words :OpenCV ;image processing ;Gaussian filtering ;Sobel edge detection operator ;contour detection 0 引 言
近年来,随着人工智能与计算机视觉不断地融入
pc133
人们的生活,与之相关的人体轮廓检测技术变得越来
越重要㊂人体轮廓检测除了民用,还广泛运用于如机
汽水分离场社会安全以及军事侦察扫描等领域㊂下面根据人体
rtsp轮廓检测在现实中的各个领域的应用作简要说明:
在自动驾驶方面,人体轮廓检测可以运用于实现
车辆或驾驶人员对于路况信息的实时精准判断,并对
即将可能发生的危险进行提前预警,以减少由于驾驶纳米机器人
人员注意力不集中或者疲劳驾驶等原因造成的车祸等
安全隐患;在监控系统方面,人体轮廓检测可以运用于家庭㊁学校㊁银行㊁医院等私人或公共领域场所,在遇到可疑人员靠近时可以通过人体轮廓检测提前做出预警反应;在机场安全方面,人体轮廓检测可以帮助机场安全监管人员及时发现机场的安全隐患,对于机场的可疑人员或闲杂人等进行提前预警,以减少不必要的安全事故;在军事侦察方面,人体轮廓检测可以帮助士兵或作战指挥人员在战场或演习过程中及时提早发现可疑人员或隐蔽的敌人㊂对于无人机侦察以及飞机障碍规避等方面都有较大的作用㊂第30卷 第8期2020年8月          计算机技术与发展COMPUTER TECHNOLOGY AND DEVELOPMENT
          Vol.30 No.8Aug. 2020

本文发布于:2024-09-22 20:31:57,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/85577.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:检测   人体   轮廓   人员   方面   机场   进行   方法
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议