基于机器视觉的布匹瑕疵在线检测

Detection of fabric flaws based on machine vision

  • 摘要: 为实现图案布匹瑕疵在编织过程中的实时检测,提出一种通过区域差影自动分割瑕疵区域的检测方法。通过求取水平和竖直两方向距离叠加函数极值,并对极值做权重分析,精确求取纹理基元周期;根据所求纹理基元周期确定区域差影的区域大小,并对区域差影图像求取梯度,再进行标记分水岭分割,能够快速准确地分割出纹理瑕疵区域。实验结果表明:该算法能够准确地检测出纹理布匹瑕疵的位置,检测一帧用时200 ms,准确率均达98%以上,实时性强,检测精度高,满足工业现场要求。

     

    Abstract: In order to realize the real-time detection of pattern fabric defects in the process of weaving, a machine vision-based rapid real-time detection method using area subtraction and automatic segmentation was proposed.This method first calculates the minimums of the horizonal and vertical superposition distance matching functions (DFMs) and analyzes the weight of every minimum, obtains the element period of pattern fabric accurately; then it determines the size of the area to be subtracted, calculates the gradient of the subtracted image, segments the gradient image with a marker-based watershed algorithm, it can fastly and accurately segment out the flaws area. Experiments shows that, the method can accurately test the flaws area, and has a high instantaneity that an average time of detection is about 200 ms and a low fallout ratio that the accuracy rate is above 98%, which fully meet the requirements of the industrial field.

     

/

返回文章
返回