Visual Inspection Toolbox
Design and test visual inspection and analysis applications
Have questions? Contact Sales.
Have questions? Contact Sales.
Visual Inspection Toolbox provides apps, algorithms, and AI models for designing, testing, and deploying visual inspection and analysis applications. You can detect anomalies, count objects, match shapes, take measurements, and generate synthetic images. Combining AI models with traditional image processing helps you develop and tune inspection and analysis workflows for reliability, accuracy, and usability across applications.
The toolbox, together with other MATLAB products, reduces the time from prototyping to production to build a complete visual inspection solution. You can:
Detect, classify, and localize anomalies using deep learning. Train with normal images, identify unknown defects, optimize thresholds, visualize defect regions, and compute metrics.
Measure distances, angles, and geometric features in calibrated world units. Correct perspective and lens distortion, use caliper tools, and perform precise dimensional inspection.
Detect, localize, and count objects for visual inspection applications. Build YOLOX-based detectors, generate training data, identify small objects in large images, and count objects using exemplar-based deep learning models.
Detect and localize objects in images using edge-based shape matching. Create shape models from template images, then search inspection images for object instances that match those models.
Generate synthetic training data for visual inspection applications. Create labeled datasets by inserting objects into images, enabling efficient training of object detection and instance segmentation models.
Deploy inspection algorithms and AI models to edge devices using generated C/C++ or CUDA® code. Export models to ONNX for external frameworks. Build standalone inspection dashboards and apps (with MATLAB Compiler).
Use Image Acquisition Toolboxto connect to GigE Vision, GenICam, and other industry-standard cameras, so you can develop and validate visual inspection algorithms using the same images captured by your production system.
Visual inspection is the process of examining manufactured parts, assemblies, or environments to identify defects, verify dimensions, and ensure compliance with quality standards commonly applied in sectors such as manufacturing, automotive, construction, and aerospace.
Automated visual inspection systems use high-resolution cameras and software that support both deep learning and traditional machine vision algorithms such as MATLAB, Visual Inspection Toolbox, and Image Acquisition Toolbox to efficiently detect microscale or nanoscale defects that are difficult for human eyes to pick up.
MATLAB supports student-teacher, PatchCore, FastFlow, and FCDD (fully convolutional data description) through the Visual Inspection Toolbox, each with different characteristics for training speed, model size, and image size handling.
Yes, MATLAB supports unsupervised anomaly detection methods when abnormal images are rare or diverse and supervised object detection methods like YOLOX when there are sufficient abnormal images for training.
The defect detection process includes three main stages: data preparation (including image preprocessing and labeling), the application of classical algorithms (measurement and shape matching) or AI modeling (training anomaly detectors or object detection models), and deployment to embedded hardware or standalone applications.
MATLAB provides functions for noise removal, edge-preserving smoothing, color space conversion, contrast enhancement, and morphology. It also includes the Registration Estimator app to align misaligned images and the Image and Video Labeler app to automate the labeling process using custom algorithms for semantic segmentation or object detection.
Yes, MATLAB enables deployment of deep learning networks and classical algorithms to various embedded hardware platforms including NVIDIA GPUs, Intel and ARM CPUs, and Xilinx and Intel SoCs and FPGAs using code generation frameworks. MATLAB also supports exporting AI models to the ONNX format, enabling integration with external frameworks.
Plansee uses MATLAB to develop an AI-based visual anomaly detection system that automatically identifies damaged furnace carriers before they enter high-temperature furnaces. This helps reduce downtime, prevent furnace damage, and improve production reliability. Musashi Seimitsu Industry uses MATLAB to inspect approximately 1.3 million automotive bevel gear parts per month, and Airbus built an AI model to automatically detect defects in multiple aircraft components before entering service.
Discover the possibilities today.
Get pricing information and explore related products.
Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.