AI for post-harvest sorting and packing: understanding the options for your business
Setting the right grading tolerance takes time, discussion, and no small amount of effort. And if there’s one constant in the fresh produce industry—it’s that every season brings change. TOMRA Food’s AI-powered solutions are designed to help you navigate that change with confidence.
From advanced deep learning to straightforward machine learning applications, TOMRA Food's AI features and capabilities are built to support your strategic decisions and lighten the load for your operators. The result? It's how you get the right product in the right pack, season after season.
What is artificial intelligence?
Artificial intelligence is an umbrella term that encompasses models of various complexities that all work empower your machine to sense, reason, act, and adapt.
In other words, these tools mimic human decision-making. And when there's a human-in-the-loop (your skilled operator), they do so with greater speed, consistency, and accuracy than is possible when making decisions manually.
At TOMRA Food, AI is at the core of our optical sorting and grading equipment. It helps ensure that no matter the variety, conditions, or volume, the right product always goes into the right pack.
The key element of any artificial intelligence product is the data used to train the algorithm. For sorting machines, this data comes in the form of training images. The availability of training images (combined with accurate labelling) is what gets any form of AI off to a rolling start in terms of its real-life performance.
If you're a food grower, packer, or processor, you want an AI product that's trained on not just a huge variety of data (all your varieties, defects, seasonality, etc.) but also quality data. High quality images (combined with high performance sensors on your sorting machine) set you on the fast track to performance.
This is where TOMRA excels. Our precision-engineered optical sorters, equipped with advanced camera and sensor technology, are built to capture the highest quality images of your product. Combine that with our global reach across commodities and regions, and you’ve got AI models trained on some of the best produce data in the world.
Better training data. Better machine performance. Smarter results.

SmartSort: Dive deeper into machine learning
At TOMRA Food, we’ve been deploying a form of AI called machine learning in our products for over a decade. These models are the processing power behind our sorting equipment: we refer to them as SmartSort.SmartSort machine learning uses algorithms that detect patterns in data from past examples. For food growers, packers, and processers, machine learning is ideal for:
- Identifying foreign materials
- Detecting structural product defects (non-size related)
- Spotting color-related issues (like black spots on green)
When we talk about machine learning at TOMRA Food, we're talking about a wide spectrum of both models and applications that range from simple predictions to multivariate decision making. In other words, very simple programs all the way through to a program that takes many different considerations into account when it makes a prediction.
In summary, it can be incredibly precise, which empowers your expert operators. When you interact with machine learning within the TOMRA 5B or 5C, you're able to set the tolerances on shape, size, and biological characteristics that set your business apart and make your customers happy -- and you can trust that the machine will do all the work for you. As you run the machine, the model learns on site and adapts with your operation. In time, it enhances the performance of your operators and can even open up new revenue streams.
Customers who use machine learning built into the 5B and 5C find they're able to easily exceed even the strictest product safety standards and quickly adapt to meet changing customer requirements and expectations.
Machine learning is also built into the 3A and 5A, and it's the processing power of these machines. At Sackett Ranch, the team uses a combination of the TOMRA 3A and TOMRA 5A to be able to tell their customers the size and profile of every single load. Their 3A is ideal for eliminating foreign materials, like stones, corn cobs, dirt clods, and green potatoes before storage. Then, the 5A serves as a final inspection tool: the multivariate classifier (a complex form of machine learning) then categorizes potatoes by size and quality and eliminates green and undesirable potatoes to meet the strict 2% threshold of green, undersized, oversized, and potatoes with defects.
What is deep learning?
Deep learning represents the most advanced form of machine learning currently available on the market for food growers, packers, and processors. It uses more complex neural networks to deliver superior consistency, simplicity for operators, and high-performance grading. At TOMRA Food, we use convolutional neural networks (or CNNs) to build our flagship deep learning product called LUCAi™. CNNs use layered filters to “scan” images and extract meaningful features—textures, edges, colors—automatically.
To understand convolutional neural networks, it's simplest to think of them as a structural network that is inspired (but doesn't replicate) by how the human brain processes visual input.
If you have unimpaired vision, consider your own experience of standing in a field. When you look around, you don't see soil, plants, and weather in isolation. Your eyes see these things, and your brain sees that the soil is dry, the weather is sunny, and the plants are wilting. So, you can predict that you'll need to water your field. CNNs allow our machines to think in a similar way: instead of seeing dry soil, sunny weather, and wilting plants individually and largely still reaching the decision that you need to irrigate based on the wilting plant alone, the deep layers and training data that comprise a CNN will better understand why the plant is wilting and have not only greater confidence in the prediction but also understand the severity of the wilting leaves.
Applying deep learning to predict the severity of a defect or a blemish is unique to TOMRA, and it unlocks even greater precision and customization for growers and packers.
Why a convolutional neural network compared to an alternative? They just so happen to be perfect for food sorting and grading because the nature of these complex models offer:
- Precision: Perfect for identifying blemishes, bruises, and subtle defects
- Layered Learning: Understands both simple and complex visual patterns
- Adaptability: Handles different varieties, lighting conditions, and growing environments
- Reliability: Delivers consistent results—even across shifts and operators
How LUCAi™ achieves 99%+ defect detection
Traditional grading models based on less complex machine learning work by analyzing sections of a fruit—just a few pixels at a time. Because of the CNNs we just described, LUCAi™ takes a different approach. It mimics the human brain’s visual cortex, understanding an entire image before making a smart, context-aware prediction.
In this sense, It doesn’t just flag rot or defects—it understands what they are and how severe they might be and what that means for that fruit in the context of your grading tolerances.
LUCAi™ classifies based on:
- Defect Type: What’s wrong with the product
- Confidence: Certainty of the classification
- Severity Rating: A 0–100 scale measuring how significant the defect is
This gives your operators the data they need to stay in control while removing inconsistency from the process.

Traditional machine learning vs. deep learning: What’s right for your operation?
Both machine learning and deep learning offer real precision and ease-of-use for your sorting and grading operation. They're equally suited to detecting foreign materials, environmental materials and defects and helping you get the right product in the right pack.
But how do you compare?
Feature | Machine Learning | Deep Learning (LUCAi™) |
---|---|---|
Model Type | Traditional ML algorithms | Convolutional Neural Networks (CNNs) |
Data Complexity | From simple to multivariate with pixel-level detail | |
Operator Setup | Requires expert configuration | Standardized setup by lead operator |
Adaptability | Needs on-site retraining for new defects | Global model updates by TOMRA |
Performance | Excels with skilled operators | High accuracy from setup |
Consistency | Reliable when configured | Uniform across shifts and seasons |
Data Ownership | Local to your system | Contributes to and benefits from global model |
Both are incredibly powerful tools, but they serve different needs. Machine learning is extremely powerful, flexible, and operator-friendly. Deep learning can add even more precision, but it also brings consistency, and reduced training needs both on the technology and overall.
Are you a TOMRA customer? You're likely already using AI. Stay up-to-date with the latest technology advancements in TOMRA Food.
TOMRA Food is committed to expanding the reach and capabilities of its deep learning models. New technologies are emerging faster than ever, and our focus remains on helping customers like you improve precision, enhance usability, and stay ahead of change. Reach out to your account manager or click the Contact Us button to send us a message.
Learn more about TOMRA's AI-enabled sorting and grading machines
.jpg?hash=710850f6c133d40d8a5491713393fd1347ac3fb0fadde7a53581b9fe085a5bdc&w=710&h=398&q=75&fit=crop&format=webp)
TOMRA 3A
Applications: Field Potatoes, Fresh Pack Potatoes, Onions, Beets
.jpg?hash=aadbf590d6bd4ba4413f12a036aa06dfc44027c4a3fe30086851834b999169b6&w=710&h=398&q=75&fit=crop&format=webp)
TOMRA 5A
Applications: Fresh Pack Potatoes, Beets, Brussel Sprouts, Peppers, Gherkins, Radishes, Peaches

TOMRA 5B
Applications: Berries, Cherries, Mangoes, Pineapple, Stonefruit, Dried Fruit, Almonds, Cashews, Hazelnuts, Peanuts, Raisins, Walnuts, French fries, Potato Crisps, Beans, Bell Peppers, Broccoli Carrots, Cauliflower, Corn, Garlic, Green Beans, Leafy Greens, Mushrooms, Onions, Peas, Gherkins, Radishes, Spinach

TOMRA 5C
Applications: Berries, Dried Fruit, Almonds, Cashews, Hazelnuts, Macadamia Nuts, Peanuts, Pecans, Pistachios, Raisins, Walnuts, Leafy Greens; IQF fruit and vegetables

KATO260 with LUCAi™
Applications: Blueberries

InVision² with LUCAi™
Applications: Cherries

Spectrim with LUCAi™
Applications: Apples, Avocados, Citrus, Kiwifruits, Stonefruits
.png?hash=df4db680298aef1d14493a95a8b7545a5b1e9dbbc31c3b3b93592f5fbef3d4e3&w=710&h=398&q=75&fit=crop&format=webp)
TOMRA Neon
Applications: Blueberries