Automated inspection, identification & handling

Machine vision for the
food & beverage industry

Machine vision enables automated quality inspection, identification, and handling throughout food and beverage production. MVTec software helps manufacturers maintain consistent quality, reduce manual inspection, and prevent costly errors – from product and packaging inspection to high-speed bottling, OCR, code reading, and robotic handling.

Ready to optimize your application with machine vision?

Get in touch   Attend our webinar

Food & beverage production

Machine vision applications & benefits

Food and beverage manufacturers use machine vision to inspect products and packaging, verify labels and codes, control filling and bottling processes, and guide automated handling.

Reduce waste with
quality inspection

Detect defects, contamination, incorrect product characteristics, and quality deviations.

Prevent errors with
packaging inspection

Check completeness, package integrity, correct assortments, and missing or misplaced products.

Ensure correct
labels & prints

Verify label presence, position, orientation, print quality, and product information.

Improve traceability with
OCR & code reading

Read expiry dates, lot and batch codes, barcodes, Data Matrix codes, and QR codes.

Keep bottling lines running reliably

Inspect empty containers, fill levels, closures, labels, and complete packs.

Automate handling with vision-guided robotics

Locate, classify, and position products for sorting, pick-and-place, and other automation tasks.

FOOD PRODUCTS & PACKAGING

Automated quality inspection

Machine vision enables continuous inline inspection of food products and packaging at production speed, detecting defects, contamination, incorrect variants, and missing or incorrectly positioned products. Classical machine vision efficiently handles defined geometries, edges, measurements, positioning, and presence checks, while AI-based methods add robustness when products, packaging, or defects vary significantly in appearance. Both approaches can be combined in one inspection workflow to support consistent quality assurance and food safety across a wide range of products and packaging formats.

Typical inspection tasks

  • Completeness and correct product distribution.
  • Surface, shape, color, and dimensional defects.
  • Missing, duplicated, or incorrectly sorted products.
  • Foreign objects and contamination.
  • Packaging damage, folds, wrinkles, or incomplete areas.
  • Logical anomalies such as the correct component in the wrong position.
completeness checks of cheese packages with machine vision software
The cheese package is checked for completeness.
quality control of bread with machine vision software
The size of the bread is being checked.

INLINE PROCESS CONTROL

Machine vision throughout
bottling and filling lines

Beverage filling lines offer multiple inspection points for machine vision. Automated bottle and container inspection can detect defects early, verify process results, and help prevent defective products from reaching downstream processes.

Machine vision used for various tasks in a PET filling machine

Empty container inspection
Detect cracks, bottle-mouth damage, dirt, foreign objects, and wrong container types before filling.

Fill-level & contaminant inspection
Check underfill or overfill, monitor fill height, identify process deviations, and detect visible foreign objects where the imaging setup permits.

Cap & closure inspection
Verify cap presence and position, detect tilted or deformed closures, and inspect tamper-evident or tethered-cap features.

Label & print inspection
Check label presence, alignment, orientation, print quality, correct variant information, and readable codes.

Full-pack inspection
Verify that packs are complete and contain the expected number and type of containers before downstream handling.

Every hour, 12,000 bottles are inspected for all types of labels and product codes.
Bottle inspection identifies label, cap, and sleeve anomalies at high production speed. Source: ChatGPT / AI generated
Tray inspection ensures presence, position, & stability in high‑volume bottle transport systems.
Bottle tray inspection with detected clutter.
Label verification ensures that every product is correctly and completely labeled.
Label inspection verifies that the correct label is present and properly positioned on each bottle.
WEBINAR
Machine vision for food & beverage packaging

In this webinar, discover how machine vision supports packaging and bottling applications. Practical examples and live demonstrations show how it enables quality inspection, code reading, label verification, product matching, and traceability.

GET IN TOUCH
Discuss your application

We help you to find the right machine vision approach.

Contact us

IDENTIFICATION & TRACEABILITY

Reliable OCR & code reading

Reliable identification is essential for traceability and packaging quality. Machine vision can read and verify printed text and codes such as expiry or best-before dates, lot numbers, batch codes, 1D barcodes, Data Matrix codes, and QR codes. Barcode verification and 2D barcode inspection help ensure that the expected code is present, readable, and correctly printed. Food and beverage packaging creates difficult imaging conditions: characters and codes may be blurred or low-contrast, surfaces can be glossy, curved, flexible, or wet, and products move at high speed. Robust OCR and code reading help verify variable information under these conditions.

Typical tasks

  • Expiry / expiration / best-before date reading.
  • Lot and batch code recognition.
  • Comparison of recognized content with expected data.
  • Product and packaging variant verification.
OCR detects and reads printed text and variable information on food packaging.
OCR reads best-before dates on reflective and flexible packaging.

PACKAGING & SUSTAINABILITY

Adapting to changing packaging requirements

New packaging and sustainability regulations such as the EU Packaging and Packaging Waste Regulation (PPWR) are changing requirements for packaging throughout its life cycle. For food and beverage manufacturers, this increases the importance of flexible and reliable quality assurance as packaging materials, formats, labels, and designs evolve.

Machine vision supports automated packaging inspection by verifying characteristics such as completeness, dimensions, positioning, labels, printed information, and codes directly during production. Inspection workflows can be adapted to new packaging variants while maintaining consistent quality at production speed.

THE SHIFT TO 2D BARCODES

GS1 Sunrise 2027

The retail industry is transitioning from traditional 1D barcodes to more data-rich 2D barcodes. The goal for the end of 2027 is for point-of-sale systems to be capable of reading and processing a defined set of 2D barcodes based on GS1 standards in addition to existing linear barcodes.

For food and beverage manufacturers, 2D codes can support greater traceability by carrying more information in a compact area, such as product identifiers, batch or lot information, and expiry dates. The transition also increases the importance of reliable 1D and 2D barcode inspection and verification in production.

Typical inspection tasks

  • Read and distinguish relevant 1D and 2D code types.
  • Verify that the expected code is present on the correct product or packaging variant.
  • Inspect code position, print quality, and visible defects.
  • Reliably read poorly printed or low-contrast codes where imaging conditions permit.
  • Handle challenging surfaces such as curved, reflective, flexible, or moving packaging.
  • Combine decoded data with OCR and other inspection results for traceability workflows.

Relevant GS1 standards include GS1 DataMatrix as well as QR Codes and Data Matrix codes using GS1 Digital Link URI syntax. Existing linear barcodes are expected to coexist with 2D barcodes during the transition.

SUCCESS STORIES

Food & beverage applications in practice

MVTec HALCON product icon
Warehouse where cheese wheels age during the ripening process
Revolutionizing cheese production with AI and machine vision
The food industry is experiencing a transformative shift in quality control, due in part to advances in artificial intelligence (AI). When combined with rule-based machine vision, AI is enabling automation of processes that were previously impossible…
Show full story
HALCON
Food & Beverage
Robotics
Anomaly Detection
Deep Learning
MVTec HALCON product icon
Aluminum bottles on a production line identified by OCR using machine vision for automated quality control.
Empty bottle? Not with Deep OCR
To identify products quickly and reliably, even in difficult circumstances, machine vision has proven its worth. The company Visione Artificiale also relies on machine vision for its system to trace aluminum bottles during production. Within this sys…
Show full story
HALCON
Food & Beverage
OCR
MVTec HALCON product icon
Operating personnel using the PackCheck machine vision solution for quality control in food packaging production.
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 packagi…
Show full story
HALCON
Food & Beverage
Bar Code & 2D Code Reading
Blob Analysis
Matching
OCR
MVTec HALCON product icon
Fully automated packaging inspection system using machine vision for inline quality control in food packaging.
Deep learning detects defects in the food industry
Automation specialist INNDEO has developed a sophisticated automation solution for quality control in the packaging industry. Thanks to machine vision and deep learning technologies, high speeds and defect detection rates are no longer a problem.
Show full story
HALCON
Food & Beverage
Deep Learning
OCR
MVTec HALCON product icon
Bottle caps inspected by machine vision to verify print quality in beverage production.
Beverage industry: HALCON reliably checks bottle cap imprints
Machine vision offers enormous advantages for quality control applications. High accuracy and speed as well as high flexibility and availability are important for practical use. K&S Anlagenbau GmbH has implemented such an application for the beverage…
Show full story
HALCON
Food & Beverage
Blob Analysis
Calibration
Matching
MVTec MERLIC product icon
Accurate eyes for the robot – automation in the food industry
Anlagenbau Habeck GmbH & Co. KG has developed a robot-based pick and place machine for the food industry based on machine vision. Thanks to the MERLIC machine vision software from MVTec Software GmbH, the robot reliably picks up unsorted objects of t…
Show full story
MERLIC
Robotics
Food & Beverage
Classification
Matching
MVTec MERLIC product icon
Classification heatmap generated by MERLIC 5 highlighting defect areas on toast packaging using deep learning.
How MERLIC simply optimizes quality control in the food industry
Using MVTec MERLIC with deep learning, an Integration Partner built an automated inspection system for toast packaging. Two cameras detect missing clips or misaligned wrapping, and MERLIC automatically classifies and rejects defective items — reducin…
Show full story
MERLIC
Food & Beverage
Packaging & Logistics
Classification
Deep Learning
MVTec HALCON product icon
Automated inspection device using machine vision to analyze rice grains for quality assessment.
Fast and performant inspection of rice grains with HALCON Embedded
The Japanese company Kett Electric Laboratory researches, develops and sells agricultural measuring devices, among other things. For a company that offers rice, they developed an automated inspection system for rice grains in cooperation with LINX Co…
Show full story
HALCON
Agriculture
Food & Beverage
Calibration
Classification
Embedded Vision
Inspection
Semantic Segmentation
MVTec HALCON product icon
Automatic gas cylinder re-test line powered by HALCON
The Swiss Safety Center AG, a MVTec Certified Integration Partner, is a member of the SVTI Group and thus part of a center of excellence in technical safety and risk management. They offer a comprehensive portfolio of services for industry, retail an…
Show full story
HALCON
Agriculture
Food & Beverage
Blob Analysis
Inspection
OCR
MVTec HALCON product icon
Highest level of quality control thanks to HALCON's deep learning
Robotics & Vision Technologies (RVT) developed an automated quality control system for a Spanish frozen dough and bakery manufacturer using MVTec HALCON. Up to 140 products per minute are inspected in 2D and 3D and classified with deep learning, enab…
Show full story
HALCON
Food & Beverage
Classification
Deep Learning
MVTec HALCON product icon
Object detection of ripe sweet peppers using MVTec HALCON with color- and shape-based analysis from RGB-D camera data.
The sweet pepper robot SWEEPER detects and picks ripe crops using MVTec HALCON
The Wageningen University & Research (WUR) in the Netherlands developed a greenhouse harvesting robot, which is able to pick ripe crops. The shape- and color-based detection algorithm for this task was implemented using MVTec HALCON.
Show full story
HALCON
Robotics
Agriculture
Food & Beverage
3D Vision
Classification
Matching
MVTec HALCON product icon
Margarine packages transported on a conveyor system during food production.
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.
Show full story
HALCON
Food & Beverage
Alignment
Blob Analysis
Filtering
Matching
Morphology
OCR
MVTec HALCON product icon
Machine vision checks ice cream – PHILRO Industrial Ltd.
PHILRO Industrial Ltd. developed a vision-based inspection system using MVTec HALCON to check ice cream products for shape defects, breakages, or incomplete pieces. The system enables rapid identification and removal of defective products directly on…
Show full story
HALCON
Industries
Food & Beverage
Blob Analysis
Morphology
MVTec HALCON product icon
Automated quality control and inspection system for food industry plastic molding using machine vision.
Molds in the Machine - Machine Vision Technology Ltd.
Machine Vision Technology Ltd. developed an automated system to inspect plastic moldings in the food industry at up to 1200 parts per minute. MVTec HALCON analyzes parts for alignment, surface defects, and dimensional accuracy. Using AVT cameras and…
Show full story
HALCON
Food & Beverage
Inspection
MVTec HALCON product icon
Vision Automates Jar Inspection - Adbro Controls Ltd.
Adbro Controls Ltd. uses an automated vision system with five cameras and MVTec HALCON to inspect jars on conveyor belts for labels, seals, and expiry codes. Defective products are automatically rejected.
Show full story
HALCON
Food & Beverage
Packaging & Logistics
Matching
MVTec HALCON product icon
Vision system sorts tomato seedlings - University of Wageningen
The University of Wageningen’s system automates the sorting of tomato seedlings at a rate of up to 18,000 plants per hour. Using ten cameras and 3D modelling, the biomass of each seedling is calculated and classified into quality categories automatic…
Show full story
HALCON
Agriculture
Food & Beverage
3D Vision
Calibration
MVTec HALCON product icon
Biscuits arranged on a conveyor belt for automated size and dimension inspection using machine vision.
Machine Vision Inspects Biscuits – Machine Vision Technology Ltd.
Machine Vision Technology Ltd. developed an automated system for size and weight control for a leading biscuit manufacturer. Using MVTec HALCON, 30 rows of freshly baked biscuits are measured in real-time on a conveyor belt. The system stores process…
Show full story
HALCON
Food & Beverage
Packaging & Logistics
3D Vision
Measuring
MVTec HALCON product icon
Wheat grains imaged for machine-vision-based quality classification showing variation in size, shape, and color.
Measuring Wheat Quality – TU Ilmenau
TU Ilmenau has developed an automated system for quality analysis of wheat samples. Using MVTec HALCON, 23 classes such as sound wheat, ergot, and foreign seeds are precisely detected. The system processes 50 g of wheat per minute, providing fast and…
Show full story
HALCON
Agriculture
Food & Beverage
Classification
MVTec HALCON product icon
Robotic apple picker mounted on a tractor using machine vision for automated fruit harvesting.
Vision System Simplifies Robotic Fruit Picking – ACRO Institute
The ACRO Institute developed a mobile apple-picking robot equipped with a camera inside the gripper and MVTec HALCON image processing software. The robot identifies ripe apples, calculates their position, and performs precise gripping movements. This…
Show full story
HALCON
Robotics
Agriculture
Food & Beverage
Packaging & Logistics
3D Vision
Classification
Filtering
Matching
Measuring
MVTec HALCON product icon
Machine vision system inspecting swing-cap bottles and labels during high-speed quality control.
Bottle Inspection with High Speed – BBull STRATEC BC 3000W
BBull TECHNOLOGY's STRATEC BC 3000W inspects up to 100,000 bottles per hour. It checks labels, expiration dates, logos, scratches, barcodes, and swing-top closures. MVTec's HALCON software processes four camera images in parallel, ensuring high speed…
Show full story
HALCON
Food & Beverage
Bar Code & 2D Code Reading
Classification
Matching
Measuring
OCR
MVTec Software