视力检查

进行自动视觉检查以进行工业应用中的缺陷检测

视觉检查是对零件的基于图像的检查,其中相机扫描了测试零件的故障和质量缺陷。自动检查和缺陷检测对于生产系统中的高通量质量控制至关重要。具有高分辨率摄像头的视觉检查系统有效地检测到了显微镜甚至纳米级缺陷,这对于人眼而言很难拾起。因此,在许多行业中,它们被广泛采用,用于检测金属轨,半导体晶圆和隐形眼镜等制造表面上的缺陷。

半导体制造中缺陷检测的视觉检查。

半导体制造中缺陷检测的视觉检查。

与matlab®,,,,you can develop visual inspection systems. It supports image acquisition, algorithm development, and deployment. Interactive and easy-to-use apps in MATLAB help users explore, iterate, and automate algorithms to improve productivity. These capabilities find use in many industrial applications.

For example, automotive part manufacturer Musashi Seimitsu Industry’s manually operated visual inspection system inspected about 1.3 million parts per month. Using MATLAB to develop deep learning–based approaches to detect and localize different types of anomalies, it built an automated visual inspection system for inspecting bevel gears. The updated approach is expected to considerably reduce the company’s workload as well as its costs.

Musashi Seimitsu行业的汽车零件视觉检查系统。

Musashi Seimitsu行业的汽车零件视觉检查系统。

Similarly,Airbusbuilt a robust visual inspection artificial intelligence (AI) model for automatically detecting any defects in multiple aircraft components to ensure its airplanes have no defect before entering service. Using the MATLAB environment simplified the process of interactively prototyping and testing for defects in a short amount of time.

通过自动视觉检查检测飞机元素中的多个缺陷。

通过自动视觉检查检测飞机元素中的多个缺陷。

缺陷检测过程可以分为三个主要阶段:数据准备,AI建模和部署。

MATLAB中的端到端缺陷检测工作流。

MATLAB中的端到端缺陷检测工作流。

数据准备

Data comes from multiple sources and is usually unstructured and noisy, making data preparation and management difficult and time-consuming. Preprocessing images in the dataset will result in higher accuracy in detecting anomalies. MATLAB has several apps to support various preprocessing techniques. For example, the注册估计器应用程序使您可以探索各种算法以注册未对准的图像,从而使AI模型更容易检测缺陷。

注册估计器应用程序对齐一对以不同方向的六角螺栓的图像对齐。

注册估计器应用程序对齐一对以不同方向的六角螺栓的图像对齐。

MATLAB提供自动化功能以加速标签过程。例如,图像和视频标签app can apply custom semantic segmentation or object detection algorithms to label regions or objects in an image or video frames. For datasets other than images, MATLAB provides the音频标签and信号标签分别用于标记音频和信号数据集的应用程序。

AI Modeling

AI techniques are widely used for classification and prediction as part of defect detection. Within the MATLAB environment, you have direct access to common algorithms used for classification and prediction, from regression, to deep networks, to clustering.

在为分类任务应用深度学习时,有两种方法。一种方法是从头开始建立和训练深层网络。另一个是调整和调整一个验证的神经网络,也称为transfer learning。Both approaches are easy to implement in MATLAB.

从SCRATCH(TOP)与CNN转移学习(底部)的卷积神经网络(CNN)。

从SCRATCH(TOP)与CNN转移学习(底部)的卷积神经网络(CNN)。

MATLABprovides the深网设计师app, which lets you build, visualize, edit, and train deep learning networks. You can also analyze the network to ensure that the network architecture is defined correctly and detect problems before training.

在MATLAB中,您可以从Tensorflow™-Keras,Caffe以及从ONNX™模型格式导入网络和网络体系结构。您可以使用这些预验证的网络并编辑它们以进行转移学习。

深度学习工具箱中加载的预处理的神经网络。

深度学习工具箱中加载的预处理的神经网络。

部署

深度学习模型必须合并到更大的系统中才能有用。MATLAB提供了一个代码生成框架,该框架允许在MATLAB中开发的模型在任何地方部署,而无需重写原始模型。这使您能够在整个系统中测试和部署模型。

MATLAB使您可以将深度学习网络部署到各种嵌入式硬件平台,例如NVIDIA®GPUs, Intel®和手臂®CPU和Xilinx®and Intel SoCs and FPGAs. With the help of MathWorks tools, you can explore and target embedded hardware easily.

从MATLAB到各种嵌入式硬件平台的深度学习网络的部署。

从MATLAB到各种嵌入式硬件平台的深度学习网络的部署。

也可以看看:MATLABfor image processing and computer vision,,,,深度学习工具箱,,,,模式识别,,,,计算机视觉