摘要:随着科技的发展,作为人类替代品的机器人在越来越多的领域中得到了广泛的应用,机器人技术也日益发达。机器人视觉是机器人系统中非常重要的组成部分,它主要包括了图像的采集,预处理和图像检测几部分。本文主要研究了机器人视觉系统中对图像的处理和对运动物体的检测。本文对颜色模型和视频图像序列进行了研究,通过对图像的调整和变化,使图像更容易识别和处理,防止了因各种干扰对图像参数的不利影响,以利于信息选取或抑制。运用visual studio软件,通过对图像的处理,检测出目标,并进行定位。植入opencv图像处理库,在分析了背景差分,帧差分,光流场法等多种检测方法特点的基础上,运用这几种不同的方法分别对运动目标进行检测处理,并实验证明了其可行性和可靠性。20048
关键词:灰度化,预处理,模糊处理,帧差法,高斯背景建模,光流
Study on the method of object detection based on openCV
Abstract: With the development of science and technology,as the human alternative, the robots have been widely used in more and more fields. And the robot technology is also increasingly developed.Robot vision is a very important part in a robot system. It mainly includes image acquisition, pre-processing and image detection part. This paper mainly studies the robot vision system for image preprocess and detection of moving objects. This paper studied the color model and the video image sequence, the image adjustments and changes, make the image more easily identify and deal with, avoid the interference of various adverse effects on the image parameter, in order to facilitate the information selection or inhibition. The use of Visual Studio software, through image processing, target detection, and position。Then we implanted OpenCV image processing library, in the analysis of the background difference, frame difference,optical flow method based features and other detection methods, the moving target detection are using thesedifferent methods, and the experiments proved the feasibility and reliability.
key words:Gray, Pretreatment,Fuzzy processing,Frame difference method,The background difference method,Optical flow method