Success Story

Machine vision for every taste

The Dutch company PackCheck BV ensures packaging quality in the food industry with a modular solution. Part of the solution is the machine vision software HALCON from MVTec Software GmbH. This enables the company to increase the efficiency of packaging management and significantly reduce the number of recalls.
HALCON
Food & Beverage
Bar Code & 2D Code Reading
Blob Analysis
Matching
OCR

High demands on food packaging

The Dutch company PackCheck BV offers visual quality control solutions for the food and beverage industries, agribusiness, and logistics. In discussions with customers, PackCheck BV found that they were looking for ways to ensure consistently correct packaging in all their packaging lines. In addition to the packaging quality, this also involves checking barcodes and data codes. In production lines that are not fully automated, quality control is carried out manually and randomly by employees, which results in a high susceptibility to errors. As a result, products with quality deficiencies can end up in retail, leading to product recalls due to packaging defects or incorrect or missing allergen markings on packaging or labels.

Consistent quality control thanks to a modular machine vision solution

To automate the process, PackCheck BV has developed a modular inspection platform for food producers with multiple production lines. The platform uses the ViTrack system control software developed by PackCheck BV, within which the MVTec HALCON machine vision software takes care of image processing. The platform enables companies to inspect many different products in a short time period. The goal is to minimize the number of recalls through inline quality control while gaining better insights into their own processes. Thus, in the event of recurring defects conclusions can be drawn to optimize the production process and reduce rejects.

Comprehensive consulting from MVTec

PackCheck BV customers who use the inspection platform in their packaging process need machine vision for quality control of packaging and for verifying labels and markings. Within milliseconds, the technology can perform a surface inspection, recognize codes and characters and also read them. Users can thus access all product information at any time, such as the packaging quality, location, best-before date or list of allergens. MVTec HALCON was selected as the machine vision software. The decisive factor for this choice was that PackCheck BV was looking for a fully integrable solution when developing its scalable and modular platform. They wanted to be hardware-independent and at the same time have a powerful and programmable software in order to flexibly adapt to different circumstances. In addition to MVTec HALCON with its library of over 2,100 operators, the company also leveraged MVTec's consulting services to address the final structural challenges in image processing for matching applications.

Robust detection rates thanks to the combination of image processing methods

In the modular inspection system, camera systems with up to four cameras and a track controller are used at the relevant points of the production line. The modular design of the platform theoretically allows for an infinite number of camera systems to be used. The system is controlled via ViTrack. To ensure smooth interaction between hardware and software, PackCheck BV relies on the robust OPC UA interface, a machine-to-machine communication protocol for industrial automation that simplifies the networking of devices, automation systems and software applications.

Modular inspection platform in practice

To use the platform, the corresponding inspection program for the product to be inspected is first selected and loaded, and the inspection process begins. As soon as a product enters the camera’s field of view, image acquisition is initiated and the image is stored in the local memory. The tracking controller generates an ID and sends it to the vision controller, where the actual inspection of the acquired image takes place using machine vision with MVTec HALCON, based on the inspection program. Depending on the requirements, machine vision technologies such as blob analysis, matching, barcode and datacode reading or OCR are available. OCR is used, for example, to determine the best-before date and listing of allergens on the label. Barcode and datacode reading determines whether the product in question is labeled correctly. Blob analysis and matching methods are used to inspect the packaging surface by comparing the product against the template. The result is securely transmitted to the tracking controller via the OPC UA interface, among other methods. By matching the result with the ID, it is always clear which product is being inspected. The tracking controller then proceeds correctly with the product based on the inspection result. A defective product is sorted out, while a defect-free one is further processed. In this way, the inspection platform is capable of performing the complex inspection processes at a speed of 100 packaging units per minute.

Consumers demand seamless quality control

Since the beginning of 2023, the inspection platform has been implemented by companies in the food industry to automate the inspection of multiple production lines, each producing different products. PackCheck BVs' customers have achieved improved efficiency, better utilization of their workforce, and reduced waste with the platform. The inline quality inspection checks every single product, leading to a significant reduction in product recalls, allowing food producers to respond to the demands of critical consumers. In addition, food manufacturers gain valuable insights into their own production processes, leading to further automation of processes for the benefit of customers.

Further articles

Visualize Object Model 3D
Improve your surface-based matching with two helpful features
Do you sometimes have objects, which have rather small symmetry-breaking elements (such as small boreholes on an object)? Does your surface-based 3D matching not find the correct orientation?
Read more
Developers Corner
Deep OCR Interface
Deep OCR recognition training – the next level
HALCON’s Deep OCR is very powerful and can detect and recognize text in various industrial scenes. However, what if you have a special font, or want to read foreign characters? With HALCON 22.05 it is possible to train the recognition model to read s…
Read more
Developers Corner
Fitted primitives distance threshold
Metrology Model – Quality of Fit
"For most applications, the standard parameter values are sufficient." This sentence is often read in the HALCON Solution Guide. But what if the results do not meet your expectations? The Metrology Model allows lightning-fast measurement of geometric…
Read more
Developers Corner
Review of Acquisition Modes
This article gives an overview of HALCON’s image acquisition modes, explaining how continuous, triggered, and synchronous acquisition work, and clarifying common misconceptions for practical applications.
Read more
Developers Corner
Deep OCR – Tips and Tricks
Have you already experienced the performance boost by using Deep OCR compared to the classical rule‑based approaches? In this article, we’ll show you practical tips and tricks to further improve your Deep OCR results.
Read more
Developers Corner
Easy text and code reading with MERLIC standard tools
If you want to build an MVApp that reads for example QR codes or bar codes you can do so with just a few clicks. You can even combine the tools to get all available information printed on a product in different formats without the need for programmin…
Read more
Developers Corner
About MVTec's Heatmap
Imagine you intend to deliver a HALCON deep-learning-based classification application. And you are about to evaluate a trained model. You are therefore looking for feedback about this model, i.e. about its performances, biases, and other possible def…
Read more
Developers Corner
Gabor filter: What is it for?
Gabor filters, which are well known in the realm of time series analyses, can also be used in HALCON for 2D image analysis. They are particularly useful for detecting textures, patterns, and orientations in complex images.
Read more
Developers Corner
Introduction to new sub-pixel feature of bar code reader
Do you have small resolution bar codes to read but don't get any good results? Then please try our new feature – the subpixel bar code reader.
Read more
Developers Corner
Introduction to XYZ-Mappings (part 2)
This technical article continues our introduction to XYZ-mappings. In the last article, we answered the question "What are XYZ-mappings?" and gave a short preview towards "Why is using XYZ-mappings beneficial for many 3D applications?". Today, we wil…
Read more
Developers Corner
Introduction to XYZ-Mappings (part 1)
This technical article explores the benefits of XYZ-mappings in HALCON, showing how they increase speed, flexibility, and ease of use for many 3D applications.
Read more
Developers Corner
Deep learning: Why is the dataset key for a success result?
Deep learning success starts with the dataset: Learn why acquiring high-quality, well-labeled training data is crucial for reliable classification, detection, segmentation, and anomaly detection in your machine vision applications.
Read more
Developers Corner
How to prepare 3D height images for further processing with MERLIC’s standard tools
Learn how to prepare 3D height images in MERLIC for further processing: convert non-byte images to byte images to enable alignment, embossed text reading, and defect detection with standard easyTouch tools.
Read more
Developers Corner
Deflectrometry demo HALCON
Inspection of specular surfaces with deflectometry in HALCON
Inspect flat and curved reflective surfaces quickly and reliably with HALCON deflectometry: detect scratches, dents, and other defects with synchronized image acquisition and flexible image processing.
Read more
Developers Corner
Deep Learning classifier HALCON
Training a deep learning classifier with HALCON on the embedded board Jetson TX2
Learn how to train a deep learning classifier with HALCON on both a PC and an embedded Jetson TX2 board, from image acquisition to model training and inference, for efficient machine vision applications.
Read more
Developers Corner
Add touch input to the HSmartWindowControlWPF
Learn how to easily add touch input, including pinch-to-zoom, to the HSmartWindowControlWPF in HALCON, leveraging WPF’s built-in multi-touch events for intuitive image control.
Read more
Developers Corner
Increasing Speed in Deflectometry Set-ups
Discover three approaches to increase speed in deflectometry setups, from simple software-based synchronization to hardware triggers and FPGA-based real-time control, enabling faster and more precise inspection of reflective surfaces.
Read more
Developers Corner
HDevelop matching assistant speedup greediness
Speeding up shape-based matching with "Greediness"
Learn how the 'Greediness' parameter in shape-based matching balances speed and detection completeness, enabling faster searches while maintaining robust results in HALCON.
Read more
Developers Corner
Best practice for classification and OCR
Discover best practices for setting up classification and OCR in HALCON using the HDevelop OCR Training File Browser – quickly review, correct, and optimize your training data to improve segmentation and classification results.
Read more
Developers Corner
Rejection all classes 1.5
How to use rejection classes in MVTec HALCON
Learn how to handle outlier samples in MVTec HALCON by using rejection classes in MLP classifiers – automatically generate samples outside the training classes to improve classification reliability.
Read more
Developers Corner
MVTec Software