摘要: |
目的 提出一种基于机器视觉技术对人工分层装箱的扬声器进行检测的方法。方法 首先对采集的图像进行中值滤波等预处理, 然后采用canny算子进行边缘检测提取图像边缘轮廓, 并求出当前层边缘距离所选固定区域边界的像素值, 用以作为判定层数的依据。结果 通过确定的层数, 分别求解该层20个区域的平均灰度, 从而判断是否缺失扬声器。结论 该方法可以准确分辨出扬声器所在的层数与个数, 识别效果好、 检测速度快、 实时性好。 |
关键词: 扬声器 分层装箱 机器视觉 边缘检测 |
DOI: |
分类号:TB486 |
基金项目: |
|
An Online Measurement Method for Loudspeaker Layered Packaging Based on Machine Vision |
HUANG Yan-xiang, WANG Yong-qiang, XU Zeng-pu, ZHOU Cong-ling
|
Tianjin University of Science and Technology,Tianjin 300222,China
|
Abstract: |
In this paper, a method for testing the loudspeaker of artificial layered packing based on machine vision technology was put forward. First of all, the collected image underwent preprocessing such as median filtering, then, the canny operator was used for edge detection to extract the edge contour of the image, and the pixels of the distance between the current layer edge and the selected fixed area boundary were solved, which was used as the basis of determining layer amount. By determining the amount of layers, the average gray levels of the 20 regions were solved respectively, so as to determine whether there was a lack of speakers. The experimental results showed that this method could accurately distinguish the layer and number of the loudspeakers, with good recognition effect, fast detection speed, and good real-time performance. |
Key words: loudspeaker layered packing machine vision edge detection |