MVTEC HALCON

Machine Vision Adds Traceability to Packaging - Vision Sort

Vision Sort developed an automated system that identifies, analyzes, and labels fruit cartons on conveyor belts with unique GS1-128 barcodes at a rate of over 60 boxes per minute. The system utilizes MVTec HALCON and a variety of shape models.
HALCON
Packaging & Logistics
Bar Code & 2D Code Reading
Matching

Some product cases are easier to label with barcodes than others. When a single type of produce with a uniform size, weight, and variety is packed into cases over a period of many hours, for example, the same barcode can be placed repeatedly on those cases.

However, this is not the case with stone fruit such as peaches, plums, and nectarines. Boxes moving down a production line will vary randomly in case type or size, as well as the size and grade of produce. The barcode labeling process must be as dynamic as the packaging line.

To enable produce to be tracked through the supply chain, barcodes must be dynamically created and affixed to each case of produce. This barcode will contain information about the produce, its variety, relative size and packaging, the farm where it was produced, the packing company, and date of packaging. Any automated system must therefore analyze the size of each box and the identifying marks placed on them by an operator to indicate the number and variety of produce within.

At New Leaf Produce, Mike Jost required a system to place a traceable barcode label on cases of its stone fruit. Jost approached Vision Sort to develop an in-line vision-based system that can identify the type of case, produce size, and number of products packed. The data are then used to generate GS1-128 barcode labels that are affixed to cases as they travel along a conveyor at approximately 60 boxes/min.

Smart vision

As a case of produce moves under the inspection system, its presence is detected by a photodetector from Banner Engineering, which triggers a pair of 12-in. LC300 LED strobe lights from Smart Vision Lights positioned at a 30° angle and a monochrome 2-Mpixel, 2/3-in. format, 50 frames/sec ace camera from Basler.

Images from the camera are transferred over a GigE interface to an Intel-based multicore PC. To identify the types of cases, Gaddy used the HALCON 11 vision software package from MVTec Software. For the HALCON software to identify the boxes of produce, the system must first be trained. Images of each type of box to be identified are first captured as they travel through the system, and shape model files are created by analyzing the physical dimensions of the box and artwork printed on it (see Figure). In practice, some boxes require as many as six shape models per box to be captured by the system before one box can be distinguished from another.

Shape models of the cases are then compared with previously trained models to rank, or score, the potential matches that are found. All models that are found to have a score above a set minimum are then run through a scoring algorithm that ensures the correct case is identified by the software. Should two cases appear similar in all but color, a grayscale analysis is performed on the image to make the distinction between cases.

Once the case type has been identified, the location of marked checkboxes is analyzed to determine the number and size of the fruit in the case. In instances where the produce type in the cases has been defined by placing a sticker on the case, or manually stamped, an optical character recognition (OCR) function reads the characters.

The system can search through more than 100 shape models and can classify the case type and determine which checkboxes have been checked by the packers in about 65 msec, after which a label is printed and affixed to the case. The total time taken to identify and affix a label to a case is approximately 0.5 sec.

After the model of the case has been identified, a CLV620-0120 barcode reader from SICK reads a barcode sticker previously affixed to the back of the case to identify the packager of the produce. These data, together with the box identification data, are logged into a database and can be recalled later for productivity, report generation, or payroll purposes.

Having identified the case type, size, and number of items of produce, the data are used to create a barcode identifier label. This is transferred over an Ethernet link to a S84 print engine from Sato that prints the barcode label, which is affixed to the case by a 250 label applicator from IDTechnology.

System control

A graphical user interface (GUI) written in Microsoft Visual Studio C# enables the user to control all the parameters of the system from a single touch-panel and handles the interface to the vision inspection software, the label printing and application tasks, and data logging, report generation, and alarm handling functions.

In addition to identifying the cases of produce and applying a barcode label, the system also maintains a Microsoft SQL relational database that contains parameters such as where the vision software should examine images for the checkboxes on each type of case and at what location the barcode should be placed. The software can also generate Excel files on demand, which contain pertinent reporting information such as system statistics, worker productivity, piece rate tallying, and box totals.

Custom Visual Studio C# software also monitors critical system parameters, such as whether the printer is low or out of labels. If these parameters exceed alarm levels, a text message is sent to maintenance personnel. Due to the variety of different-sized cases that travel down the conveyor, it is important that the system be able to position the barcode label at specific locations according to the type of case. A custom-built positioning system aligns the boxes vertically and horizontally in front of the label application tool so they can be affixed in the exact position.

Future models

Although the systems that have currently been shipped use just one camera to identify and label the cases, future systems will employ two, or even three, cameras to further increase the functionality of the system. For example, a second camera will capture an image of the front of the cases as they move down the conveyor, enabling labels affixed to them by the packers to be automatically identified. A third camera placed in the hood of the vision system will capture images of the fruit in open cases. These images can then be analyzed to identify what type of produce is contained in them, obviating the need for packers to physically mark the checkboxes on the cases.

The Vision Sort system was developed to minimize the impact to the user's process and be fast enough that the average packing operation would only need one system per packing line rather than several systems. Two of the current single-camera systems have been in use since June 2012 at New Leaf Produce. Additional units were installed later in the summer of 2012 at two other California grower-shipper facilities. Multiple camera systems are expected to be shipped to customers during the course of 2013.

Author: Garth Gaddy

Article kindly provided by Vision Systems Design.All product names, trademarks and images of the products/trademarks are copyright by their holders.
All rights reserved.

Published on: September 09, 2013

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