MVTEC HALCON

Fast and robust bulk code reading with MVTec HALCON

Strelen Control Systems GmbH uses MVTec HALCON for parallel, robust reading of data matrix codes on prescription medicines to comply with the EU Falsified Medicines Directive. The system reads large volumes quickly and reliably, reduces manual inspection effort, and allows flexible adjustments for different customer requirements.
HALCON
Medical Supplies & Pharmaceutical
Bar Code & 2D Code Reading
Object Detection

The challenge: EU Falsified Medicines Directive

The pharmaceutical industry in particular has strict guidelines pertaining to the safety, labeling, and documentation of medicines. The EU Falsified Medicines Directive, which has been in force in Europe since February 9, 2019, requires all prescription drugs to be authenticated before being dispensed to patients.

This is done using a safety feature in the form of a data matrix code that must be attached to all prescription medicines. The code contains the product and serial numbers, expiration date, and batch number. A product’s authenticity can be verified at any time by comparing it with a database containing every medicine currently in circulation. This requirement results in a great deal of effort for manufacturers and distributors when it comes to packaging as well as checking this variable code, which must be printed on every box. To shorten the process time, this data is aggregated when the product is packed in boxes and when it is inspected on receipt. For this purpose, large quantities of data must be read simultaneously.

The solution

The way to meet the above-mentioned challenges is with a complete, integrated solution that focuses on different technical features. Safe-Ident Code is a new product from Strelen Control Systems GmbH, a machine vision company with headquarters near Frankfurt, Germany, and in Eastern Switzerland. Compared to the conventional practice of reading each individual code with a handheld scanner, the complete solution offers considerable benefit by speeding up processing by a factor of 100.

The machine vision software

The solution is based on the machine vision library in the standard machine vision software MVTec HALCON that is integrated into the inspection system's graphical user interface and ensures high reading quality and fast processing. MVTec HALCON is used to decode the data matrix codes in the camera image. The camera image is first read in. Following a number of preprocessing steps, the data matrix codes are detected and decoded, and the resulting data is finally output. The primary purpose of preprocessing is to read all the codes quickly but extremely robustly, which is crucial for large data volumes such as those produced with a 21 MP camera.

With the aid of various morphological operations performed by the HALCON library, it is possible to reduce the data to be processed to a fraction of its volume in just a few steps. The images are then evaluated. A model of the codes to be identified is first created using the HALCON operator create_data_code_2d_model. For this purpose, the user can define certain parameters, such as the polarity of the code to be read. In the next step, HALCON detects the codes in the image that correspond to the model based on the find_data_code_2d operator and reads out the information they contain. The information thus obtained is output in the form of decoded strings and additional control output parameters, such as the position of the code or a surrounding rectangle (iconic output parameters).

Customer benefits

Since the application is designed to be very broad and flexible, the user needs to make very few modifications. However, if the customer has different requirements, changes within the machine vision system can be made simply and easily and implemented in just a few minutes.

Text kindly provided by Strelen Control Systems GmbH.

Download the full success story here

Published on: January 22, 2020

Weitere Stories

MVTec HALCON product icon
Projektion der von einer Kamera erkannten Pupillenkoordinaten auf das Bild einer zweiten Kamera zur exakten Bestimmung der Glasposition.
Image Processing Automates Eyeglass Fitting for Rodenstock
Imagine that you wear varifocal glasses and need new ones. You go to an optometrist and, without time-consuming adaptations, measuring or trying on frame after frame, you look at yourself in a mirror and - voila! - your chosen frame is on your nose.
Show full Story
HALCON
Glass, Metal, Paper, Foil & Printing
Classification
Matching
Measuring
MVTec HALCON product icon
Visualisierung eines People-Counting-Systems am Gebäudeeingang mit 3D-Erfassungsbereich, Ein- und Ausgangsmarkierungen sowie Anzeige zur aktuellen Personenzahl zur sicheren Zutrittskontrolle.
Simple and reliable control of the number of persons within a building with MVTec HALCON
Strelen Control Systems GmbH is a Certified Integration Partner of MVTec with seat in Büttelborn, close to Darmstadt, Germany. The solutions developed by Strelen are suitable for the inspection and analysis as well as for the automation and regulatio…
Show full Story
HALCON
Security & Surveillance
Blob Analysis
Morphology
MVTec HALCON product icon
Battery laser welding system used in automated battery production with integrated machine vision inspection.
Full quality control with HALCON´s deep learning functions
One of the key challenges in automated battery production is achieving stable welds without damaging the housing. To meet strict automotive quality standards while reducing costs, Manz AG is developing inline inspection systems that enable full proce…
Show full Story
HALCON
Battery Production
Electric Components
Machinery
Anomaly Detection
Deep Learning
Inspection
MVTec HALCON product icon
Camera test chart with line patterns and a Siemens star used for measuring resolution, contrast, and optical performance.
DCTau: A photographer's tool for testing digital cameras based on HALCON
DCTau by Anders Uschold, Munich, provides a standardized test for evaluating digital cameras with minimal operator input. Designed for both beginners and professionals, it measures resolution, contrast, noise, sharpening, distortion, and brightness l…
Show full Story
HALCON
Education, Research & Science
Measuring
MVTec HALCON product icon
HERON - Middleware for Image Retrieval Using Graphical Features Extracted by HALCON
The interdisciplinary HERON project aims to find images in digital libraries or large archives without detailed domain knowledge. Initially applied to heraldry, the methods can also be used in medical imaging or trademark collections. HERON uses inno…
Show full Story
HALCON
Education, Research & Science
Classification
Filtering
Matching
MVTec HALCON product icon
Support of Intelligent Rooms by Image Processing
In recent years, rooms with intelligence are studied. This kind of rooms is becoming important not only for medical or welfare use, but also at offices or ordinary houses. Obviously, the man-machine interface to communicate human intention is a subst…
Show full Story
HALCON
Education, Research & Science
Classification
Filtering
MVTec HALCON product icon
Machine Vision Solves "Needle-in-a-haystack" Problem for Small Parts Manufacturer, Developed by Data Systems
Data Systems solves the “needle-in-a-haystack” challenge for a small parts manufacturer using HALCON-based machine vision. The system automatically inspects, sorts, and classifies over 300,000 part variations, checking size, type, coating, and laser…
Show full Story
HALCON
Machinery
Packaging & Logistics
Matching
OCR
MVTec HALCON product icon
Package label with barcode and printed text used for automated barcode reading and OCR.
Machine Vision Speeds Package Bar Code Reading at Quelle GmbH
At Quelle GmbH's logistics center in Leipzig, 80,000 packages are processed daily. To enhance efficiency, the company employs a combined machine vision system with barcode reading and OCR. Utilizing Baumer i-Cam 108 cameras and MVTec's HALCON softwar…
Show full Story
HALCON
Machinery
Packaging & Logistics
Bar Code & 2D Code Reading
OCR
MVTec HALCON product icon
Manual handling of a helicopter on a ship deck under rough sea conditions.
Automatic Helicopter Handling System from FHS Förder- und Hebesysteme GmbH
FHS Förder- und Hebesysteme GmbH is a leading supplier of defense technology and naval technology. The company has a long experience and competences in development and production of systems and machines with electrical hydraulical drives and control…
Show full Story
HALCON
Robotics
Calibration
Measuring
MVTec HALCON product icon
The Presetter and Measuring Machine SATURN from Zoller – Measurement of Tools with HALCON
The ZOLLER SATURN measuring machine employs HALCON for precise tool measurement in the micrometer range. Subpixel algorithms automatically extract geometric properties from the tool shape. Camera calibration ensures consistent precision across the en…
Show full Story
HALCON
Machinery
Calibration
Measuring
MVTec Software