Packaging Strategies logo
search
cart
facebook twitter linkedin youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
Packaging Strategies logo
  • FEATURED
    • Brand Packaging
    • Extended Producer Responsibility
    • New Products & Materials
      • Featured Products
    • Packaging News
    • Packaging Perspectives Podcasts
    • Steve Fairfield Innovation Award
    • Supply Side
    • Top 100 Food & Beverage Packaging Companies
      • Submit Your Company
  • FLEXIBLE PACKAGING
  • VERTICAL MARKETS
    • Beer / Wine / Spirits Packaging
    • Beverage Packaging
    • Candy / Confectionery
    • Dairy Food Packaging
    • FoodService Packaging
    • Household Packaging
    • Meat / Seafood Packaging
    • Personal Care Packaging
    • Pet Food Packaging
    • Pharma / Medical Packaging
    • Produce Packaging
    • Snack Food Packaging
  • MATERIALS
    • Adhesives / Sealants
    • Beverage Multipacks
    • Blister Packaging
    • Cans & Bottles
    • Closures/Lids
    • Films & Coatings
    • Labels
    • Material Converting
    • Paperboard / Corrugated / Cartons
    • Rigid Containers
    • Sustainable Packaging
  • MACHINERY
    • Automation / Controls
    • Case Forming / Packing / Sealing
    • Cartoning
    • Coding / Marking / Printing
    • Conveyors
    • Form-Fill-Seal / Filling & Closing
    • Inspection / Detection / Vision
    • Labeling
    • Unitizing / Palletizing
    • Robotics
    • Track & Trace / Serialization
  • DIRECTORIES
    • Packaging Strategies Resource Guide
    • Flexible Packaging Buyer's Guide
  • EVENTS
    • Converters Expo
    • Converters Expo South
    • Global Pouch Forum
    • Industry Events
    • Webinars
  • MORE
    • Videos
    • Book Store
    • Classifieds
    • Custom Content & Marketing Services
    • eXTRA Newsletter
    • Market Research
    • PACKSTRAT Wordplay
    • PS Resource Guide
    • Sponsor Insights
  • EMAG
    • eMagazines
    • Archived Issues
    • Contact Us
    • Advertise
  • SIGN UP!
New Products & MaterialsMachineryInspection/Detection/Vision

Case Study

Machine vision verifies printed codes at 800 cans per minute

July 24, 2013

A food processor fills an average of 800 cans per minute with a wide range of products such as vegetables, fruit and soup. An important challenge for the company is ensuring that the code printed on the bottom of each can matches the product in the can. A mismatch runs the risk of creating an unhappy customer or, even worse, an allergic reaction. In the past, there were concerns that operators might accidentally set up the printer to generate the wrong code or that the printer used to apply the code on the can might fail to produce a readable code. These concerns have been overcome with the installation of a machine vision system that reads the code on the bottom of the can in just 60 milliseconds, enough time to reject cans with incorrect or unreadable codes. The vision system uses pattern matching to orient the code regardless of its radial position then uses optical character recognition to read the code and match it against the product currently being produced on the line.

Current and upcoming food traceability legislation requires that food processing companies have systems in place to provide a trail of information that follows each food item through the supply chain. To ensure food safety and efficient recalls, manufacturers must be able to identify and locate any item in the food supply chain and quickly trace it back to its source and forward to its destination. To achieve this, many companies are in the process of implementing 2-D barcodes, vision systems, and image-based ID readers in order to ensure the safety of the supply chain. The food processor in this application decided to begin reading the code on the bottom of each can to be sure that it is readable and that it matches the contents of the can. The goals were to prevent mislabeled products from reaching customers, prevent accidental product mixing on the line and prevent shipping of mixed products to customers.

Application challenges

The greatest challenges of the application are the high speed of the line, the fact that the code can be oriented in any radial position on the can as it moves down the line and the varying finish of the cans which can range from dull to bright and can include water marks. The food processor asked Puffin Automation, Eden Prairie, Minnesota, to find a way to print the code, read the code and reject cans with incorrect or unreadable codes. “We had to locate the four-character code in the radial direction, then read it within the 75 milliseconds spacing between parts,” says Darin Berg, Partner with Puffin Automation. “We needed an exceptionally fast camera with the ability to quickly determine the radial position of the code and then provide a near 100% read rate in spite of inevitable distortion of characters and variation in the background.”

Puffin Automation selected an In-Sight® 5600 series vision system from Cognex (www.cognex.com), which is the company’s fastest vision system. In-Sight vision systems use PatMax®, a patented geometric pattern-matching technology for part and feature location. PatMax dramatically improves the ability to find objects despite changes in angle, size and shading by learning an object’s geometry using a set of boundary curves that are not tied to a pixel grid, and then looking for similar shapes in the image without relying on specific gray levels. In-Sight vision systems also offer the OCRMax optical character reading tool. OCRMax segments a string of alphanumeric characters into individual regions that each contains one letter or number. OCRMax achieves high read rates, even when reading distorted, touching and variably spaced characters or characters printed on uneven or reflective surfaces that cause lighting variations and background noise.

Operation of inspection system

The cans come into the inspection station in single file. An inkjet printer prints the code on each can and also prints fiducials around the product code. A photo eye detects each can and sends a signal to the programmable logic controller (PLC) which in turn commands the vision system to acquire an image of the bottom of the can. The PatMax pattern matching algorithm detects the fiducials and uses them to determine the radial orientation of the can.

The OCRMax tool then performs pre-processing to improve contrast and image correction to improve contrast, correct for changing light conditions and filter out background noise in the image. Puffin Automation engineers used the segmentation rules in the OCRMax tool to train the system on the printed font used on the cans. They also used classification and fielding to improve read accuracy based on knowledge of what characters were likely to appear in each digit of the code. Classification is used to specify the probability of a specific digit being certain characters. For example, a digit might be much more likely to be the letter “B” rather than the number “8”. Fielding is used to specify whether each character is allowed to be a letter or a number or either.

Reads code in 60 milliseconds

Within 60 milliseconds, the In-Sight 5600 vision system acquires the image on the bottom of the can, locates the code and performs optical character recognition. The OCRMax tool returns not only the value of each character but also the certainty of each character on a scale from 1 to 100. Puffin Automation engineers configured the software so that if one or more characters does not achieve a 60% score or if any character is incorrect than the code fails. If all four characters pass with a 60% score then the code is verified. The vision system then sends the inspection results to the inspection system PLC.

When a code is not readable, the bad can is tracked using photo eyes for a few can spaces to the servo reject kicker. Each time the first photo eye is triggered a number is added to a buffer in the inspection system PLC and each time the second photo eye is triggered a number is removed from the buffer. Then when the bad can hits the servo reject kicker station, the inspection system PLC activates the servo reject kicker to remove the can. Another photo eye located just after this station checks to make sure that the can was removed.

The user interface displays the number of passes and fails, and displays the image of the last bad code. The operator can easily switch to another screen that displays index, test, and home buttons for the servo reject kicker, along with alarms and error messages. The fully adjustable vision system enclosure can be quickly resized in every axis to run all of the various sized cans. The operator sets the vision system to the correct height based on a scale.

Currently, operators manually enter the can code to be inspected into the inspection system. Future plans will have the can code loaded automatically over the plant network. The PLC connects to the In-Sight vision system using Ethernet and digital IO. Digital IO delivers pass-fail results from the vision system to the PLC because it provides the highest possible speed. Ethernet is used to transfer the can code from the PLC to the camera.

“The food processing industry is putting increasing emphasis on traceability in the supply chain,” concludes Russ Butchart, Partner with Puffin Automation. “Food and beverage manufacturers can use OCR to check that product descriptions and tracking have been printed on the product, that the label matches the product and that the correct characters are printed clearly for customer safety and brand management. The food processor in this application has used OCR to make immediately improvements in productivity, product documentation and supply chain management. The food processor now has two of these systems in operation at their plant and six more are on the way. The systems have demonstrated the ability to consistently identify and reject cans with the wrong code or with an unreadable code. One key to the success of this application was the use of a vision system with the speed and accuracy to handle the requirements of this application, as well as the flexibility to adapt to the plant’s entire production with very fast changeover.” 

KEYWORDS: inspection vision inspection vision systems

Share This Story

Looking for a reprint of this article?
From high-res PDFs to custom plaques, order your copy today!

Recommended Content

JOIN TODAY
to unlock your recommendations.

Already have an account? Sign In

  • Golden award trophy in the shape of a star. Text: 2026 Top 100 Food and Beverage Companies

    Top 100 Food and Beverage Packaging Companies of 2026

    Celebrating 30 years as a B2B journalist, I’ve revisited...
    Materials
    By: Brad Addington
  • Women In Packaging 2025 homepage hero

    Women in Packaging: Seizing Opportunities, Pushing Boundaries

    Seven women share their personal journeys in the...
    Material Converting
    By: Brad Addington
  • Image of the Spyder Pick and Place Joint Robot sorting pre-rolls.

    Cannabis Packaging Goes High-Tech

    Packaging Strategies doesn't often cover cannabis...
    Robotics
    By: Brad Addington
Subscription Center
  • eMagazine Subscription
  • Manage My Preferences
  • Newsletters
  • Subscription Customer Service
  • Online Registration

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Packaging Strategies audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of Packaging Strategies or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • Hand Holding Various Semaglutide and Insulin Injection Pens for different stages of the treatment.
    Sponsored byInline Plastics

    How GLP-1 Is Reshaping Food Packaging, and Why It Matters More Than You Think

  • A stack of clear plastic containers, the bottom full of mixed fruit
    Sponsored byInline Plastics

    Packaging Trends Shaping 2026: Where Trust Is Won

Popular Stories

Podcast | Packaging EPR’s 2026 Reality Check” with guest Anna Kendall headshot and title. Also pictured Cardboard boxes on conveyor belt.

PODCAST | Packaging EPR’s 2026 Reality Check

Logo for New Earth Ventures

Atlantic Packaging Launches New Earth Ventures to Accelerate Packaging Technology

Main image for podcast with Kevin Kelly regarding Flexible Packaging for Produce. Main image includes Kevin Kelly’s headshot and an image of potatoes in a bag incorporating 30% PCR content.

Looking Forward to Global Pouch Forum

See the Top 100 Food and Beverage Packaging Companies of 2026

Products

Advances in Sustainable Food Packaging Technology

Advances in Sustainable Food Packaging Technology

See More Products

Packaging Perspectives Podcast

Play Packaging Strategies' captivating WordPlay game, PackStrat! There's a new word every Tuesday.

Related Articles

  • Vision Inspection System Sees Increased Speeds to 1,200 Bottles per Minute

    Vision Inspection System Sees Increased Speeds to 1,200 Bottles per Minute

    See More
  • New unscrambler handles most bottle types at speeds over 300 per minute

    See More
  • Inspection/rejection capping solution achieves rates greater than 900 bottles per-minute

    See More

Related Products

See More Products
  • handbook high rez.jpg

    Packaging Machinery Handbook

  • nonthermal.jpg

    Packaging for Nonthermal Processing of Food, 2nd Edition

  • Smart Packaging Technologies for Fast Moving Consumer Goods

See More Products

Related Directories

  • Ben Clements and Sons Inc.

    Tach-It represents many internationally recognized companies supplying tape dispensing and application equipment, label dispensing and applicating equipment and twist tie machinery, materials and bag sealing equipment and supplies. You can view our product line at www.tach-it.com or for information call us at 800-222-5540
  • Douglas Machine Inc.

    Drawing from 60+ years of experience, Douglas provides automated secondary packaging solutions for paperboard, corrugate, and shrink film. We specialize in the design and manufacturing of case and tray packers, shrink wrap systems, cartoners and sleevers while dedicating service programs and field support to the lifetime of our equipment.
  • Douglas Machine Inc.

    For 60 years, Douglas has provided customers with high-quality automated packaging solutions for paperboard, corrugated and shrink-film. We specialize in the design and manufacture of case and tray packers, shrink wrap systems, cartoners, sleevers, and variety pack systems. Based in Alexandria, Minnesota, USA, Douglas is a 100% employee-owned company.
×

Keep the info flowing with our Newsletters!

Get the latest industry updates tailored your way.

JOIN TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Directories
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletter
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Reprints
    • Market Research
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • YouTube
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2026. All Rights Reserved BNP Media, Inc. and BNP Media II, LLC.

Design, CMS, Hosting & Web Development :: ePublishing