MVTEC HALCON

Machine vision validates printed text – PHILRO Industrial Ltd.

PHILRO Industrial Ltd. uses a vision-based inspection system with MVTec HALCON to detect printing errors on margarine packaging and automatically remove defective products. Basler cameras and sensors check text lines for readability and completeness.
HALCON
Food & Beverage
Alignment
Blob Analysis
Filtering
Matching
Morphology
OCR

One of the leading companies for consumer goods in Romania is using a vision-based inspection system that can detect any kind of printed errors on margarine packages, signaling real time elimination of the illegible ones from the production line.

With an experience of over ten years in industrial automation, PHILRO Industrial (Voluntari, Romania)   develops, produces and delivers machine-vision systems for any industry where such solutions are needed. PHILRO Industrial‘s Machine Vision Division (Bucharest, Romania) is offering all-inclusive solutions, covering all necessary aspects for optimal realization of every kind of project, including feasibility studies and case analysis. Unilever, one of the leading companies for consumer goods in Romania, is present on the Romanian market since 1995. A significant portion of Unilever production is made on the industrial platform in Ploiești. On the production line of Rama margarine packages, errors happen to occur with the printed identification codes and expiry date: Missing characters, complete lack of all characters, illegible printing, scratches, etc. These errors makes the information written on the margarine packages illegible and creates unwanted problems at the end of the distribution chain. The quality control was done by human operators visually verifying every packet of margarine out of the band, with specific characteristics of this method: An increasing margin of error as the eye gets tired, a need for many operators to cover the production line's capacity, possible production line standstills and more. To solve their quality control problems, Unilever implemented a feasible solution, using the expertise of PHILRO Industrial‘s Machine Vision Division specialists. The result is a vision-based inspection system that can detect any kind of errors on printed packages and command their elimination from the production line. PHILRO Industrial installed a machine-vision-based quality control system on the production line of RAMA. On the fast moving production line, the professional video camera "reads" the printed characters on packets of margarine. When errors are detected (missing characters, line character errors, illegible printing etc.), the system commands the removal of the defective packet from the production line.  The system has the following components:

  • Basler Ace aca1300-30gm cameras with 16 mm lenses;
  • NUC6i5SIH computer for image processing;
  • ADAM 6052 to drive control elements;
  • Sick inductive sensor to trigger the image capture procedure.

The margarine pack passes through the sensor, which triggers the image acquisition procedure. The image is retrieved and then processed. HALCON imaging software is used in the customized software application, which identifies the characters on each row of text for every package, and checks if there were any print errors using HALCON functions. The application is using several HALCON operators to accomplish the task:

  • find_shape_model: Find the “L” letter on the package, searching for the “L” model in the image previously created and saved as a reference. Because the characters are not printed  in the same place on the package all the time, we need to detect where we can look for the beginning of the text.
  • rectangle: After the “L” letter is found, two ROIs (regions of interest) are created, representing the two printed rows with alphanumeric characters on the margarine package.

From here, the program is divided into two processes, looking for the text in the two rows. Both processes are identical from the operators' point of view, only the parameters used are different. The operators used for a row are:

  • reduce domain: Reduces image domain at one row of characters;
  • text_line_orientation: Finds the angle of the text with the horizontal;
  • rotate_image: Rotates the image with this angle;
  • equ_histo_image: Increases the contrast of the image, using a histogram mediation;
  • mean_image: Mediates the image;
  • binary_threshold: Classify the image parts into two categories: the white parts and the black parts, to extract the characters written in black;
  • closing_circle: Fill the holes in the characters;
  • connection: The characters are extracted;
  • partition_dynamic: Partition characters according to width and length;
  • select shape: Select only those components that have a certain area, equivalent to the corresponding character area;
  • count_obj: Counts these components and compares them to the number of characters to be printed on margarine package.

The system is able to check up to 300 packages per minute. If a package is detected as having illegible characters, an alarm is triggered for a real time removal from the production line. The application can store all gathered data in a database and can be connected with company’s ERP for statistical purposes and enhanced traceability. The solution implemented by PHILRO Industrial allows for a much higher productivity and a led to a significant reduction in the undetected defect rate. It also allowed a reduction in staff costs due to the automation of the verification process. With an experience of over 10 years in industrial automation, PHILRO Industrial (Voluntari, Romania; www.philro.ro) develop, produce and deliver machine-vision systems for any industry where such solutions are needed. PHILRO Industrial‘s Machine Vision Division (Bucharest, Romania; www.detectievideo.com) is offering all-inclusive solutions, covering all necessary aspects for optimal realization of every kind of project, including feasibility studies and case analysis.

Authors: Mihai Nasta, Mădălin Roventa PHILRO Industrial Ltd. is a MVTec Certified Integration Partner.

Article kindly provided by PHILRO Industrial Ltd. All product names, trademarks and images of the products/trademarks are copyright by their holders. All rights reserved.

Published on: December 14, 2017

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