Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    Kraft Heinz's cucumber AI pilot lifts plant efficiency

    Kraft Heinz trained a camera-fed vision system on its quality team's grading to sort incoming cucumbers by size and defect at the Illinois plant that makes every Claussen pickle.

    Kraft HeinzUnited States (Woodstock, Illinois)Food and beveragePilot
    Scale
    One plant, the Claussen factory in Woodstock, Illinois, as of March 2025
    Scenario
    Incoming ingredient inspection with computer vision
    Business function
    Manufacturing and quality
    Who built it
    Built in-house
    Organization
    Enterprise
    AI types
    Computer vision

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Food Dive

    2. Supply Chain Dive

    3. WGN Radio

    4. Bernard Marr

    5. Amazon Web Services

    6. Automation World

    7. Kraft Heinz

    tl;drIn the pilot at the Claussen pickle plant, efficiency rose 12% after AI began grading cucumbers.See the results

    View the solutionBuild this solution yourself

    Kraft Heinz taught a camera-fed vision system to grade incoming cucumbers by size and defect at the Woodstock, Illinois factory that makes every Claussen pickle sold in the US1, 3.

    The model learned the job from the plant’s quality team, which graded photographed batches against specification until the machine could do the same task1. Once the system could judge each batch, the plant knew where in the factory to send it and could tell suppliers about problem loads in real time1.

    In February 2025, Bill Durbin, head of North America logistics and planning at Kraft Heinz, said efficiency on pickles at the plant had risen 12% since the system was put in place1. In March 2025, the company described the proprietary vision system, meant for ingredients received from suppliers, as being piloted with Claussen pickles. It said the system could pick out a defective cucumber from a truckload of thousands7.

    Before the deployment

    Sorting the cucumbers had been a human job3. It was done at the plant where more than 300 people produce every pickle that Claussen sells3. Claussen is a large operation on a tight clock, for the following reasons:

    • Volume: Kraft Heinz turns approximately 60 million cucumbers a year into roughly 42 million jars of the country’s top-selling refrigerated pickle1.
    • Time: The cucumbers go from vine to brine in 10 days or fewer. They come from fields close to the plant for part of the year and from warmer regions in winter, when the trucks take longer1.
    • Variation: Circumference, size, length, and bend all change how a batch is handled. Varying cucumbers can wreak havoc on planning and force changes to the production line where the spears are processed1.
    • No buffer: In much of Kraft Heinz’s business, goods that arrive slightly off specification can be covered from inventory. A 10-day chain for a fresh vegetable leaves no such cushion1.
    • A quality gate: A batch that fails specification can’t be run. “If the quality does not meet our specifications, we can’t run it,” Durbin said1.

    “with such a short supply chain, it’s super important that we identify issues as fast as possible and then make sure that we get the sizing correct so we can get the best efficiency as we run those things down the line.”

    Bill Durbin, head of North America logistics and planning at Kraft Heinz1

    The cucumbers were also part of a wider program. Since 2022, Kraft Heinz has run a transformation that it calls Agile@Scale, with an autonomous supply chain as one of its pillars2. Cucumbers came first among the raw materials because, in Durbin’s words, “There was, to be honest, almost a greater need on the cucumber because of how truly short that shelf life is”1.

    What was built

    The system judged each incoming batch of cucumbers by its defects and sizes1, 3. Each answer fed two decisions in the plant1. The work was divided as follows:

    • Vision model: Detected different types of defects and different sizes from the camera images3.
    • Quality team: Graded photographed batches against specification, including their sizing. Those grades were what the machine was trained on1.
    • Operator: Validated the model’s calls while it began identifying the variations, until it could identify them on its own1.
    • Plant: Knew where to send each batch within the factory, and could give the supplier real-time feedback on a batch with a problem1.

    Because a different cucumber size can mean changing the line, it’s most likely the plant’s supervisors or schedulers who act on the system’s output.

    In October 2024, Helen Davis, senior vice president and head of North America operations, described the model’s checks4. Before the cucumbers reached the factory lines, it checked whether the density, the length, and the circumference were right4. She gave the reason as “Because we need to make sure that that crunch that everybody wants in their pickles is perfect”4.

    Kraft Heinz has said that it wants to automate supply chain processes where it makes sense “while ensuring humans are in the loop and their efforts are focused where needed most”2. It also builds AI recommendations into existing management routines, such as the Kraft Heinz Management System in its factories4.

    Figure 1How the vision system learned to grade cucumbers
    How the vision system learned to grade cucumbersKraft Heinz photographed incoming batches of cucumbers, and the quality team graded them against specification. The machine was trained on those grades and began identifying defects and sizes while an operator validated its calls. Over time the system came to identify the variations on its own. The next step, inspecting cucumbers where they are loaded onto trucks, was being explored in early 2025. No step is inferred.batch photos (data) · Documented in source [1]grades (data) · Documented in source [1] (trigger or control) · Documented in source [1]calls (handoff to people) · Documented in source [1]over time (trigger or control) · Documented in source [1]next step (trigger or control) · Documented in source [1]Photograph incoming batches · Step · Documented in source [1]Photographincoming batchesQuality team grades to spec · Step · Documented in source [1]Quality teamgrades to specTrain model on graded photos · Step · Documented in source [1]Train model ongraded photosModel flags defects and sizes · Step · Documented in sources [1] [3]Model flagsdefects and sizesOperator validates calls · Step · Documented in source [1]Operator validates callsModel identifies on its own · Step · Documented in source [1]Model identifieson its ownInspect at truck (explored) · Step · Documented in source [1]Inspect at truck(explored)batch photosgradescallsover timenext step
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    Sources [1][3]
    The model moved from copying the quality team's grades to making the calls itself; inspection at the truck was still being explored in 2025.

    Rollout

    The cucumber work had the following dated steps:

    • About a year before February 2025: The cucumber work started, by Durbin’s account1.
    • October 2024: Davis described the vision system as implemented at the company’s pickle factories4.
    • February 2025: The model was identifying the variations on its own at the factory1.
    • Plans in February 2025: Moving the inspection upstream to truck loading would give the company more time to work with suppliers and to schedule the factory for the sizes on the way. Applying the method to tomatoes, judged on size and color, and to potatoes for Ore-Ida French fries was also a plan, and neither was in place1.
    • March 2025: Kraft Heinz listed the system among the solutions in its supply chain digital ecosystem7.

    Technology and architecture

    Figure 2Where AI vision sits in the Claussen plant
    Where AI vision sits in the Claussen plantCucumber suppliers deliver batches to the Claussen plant in Woodstock, Illinois. A series of cameras captures the cucumbers and feeds the images to Kraft Heinz's proprietary AI vision system. The quality team graded photos of earlier batches against specification, and those graded photos trained the system. The system's size and defect calls decide where each batch is routed within the factory, and problem batches go back to suppliers as real-time feedback. The plant staff who act on the calls are inferred.cucumber batches (handoff to people) · Documented in sources [1] [3]grades to spec (data) · Documented in source [1]training (data) · Documented in source [1]images (data) · Documented in source [3]size and defect calls (data) · Documented in sources [1] [3]routes each batch (trigger or control) · Documented in source [1]real-time feedback (feedback) · Documented in source [1]CLAUSSEN PLANT, WOODSTOCKCucumber suppliers · External · Documented in source [1]EXTERNALCucumbersuppliersCameras · Device · Documented in source [3]DEVICECamerasQuality team · Team · Documented in source [1]TEAMQuality teamGraded batch photos · Data · Documented in source [1]DATAGradedbatch photosProprietary AI vision system · AI model · Documented in sources [2] [3] [7]AI MODELProprietary AIvision systemPlant staff · Team · Inferred, not documented in the sourcesTEAM · INFERREDPlant staffFactory lines · Step · Documented in sources [1] [4]Factory linescucumberbatchesgrades to spectrainingimagessize anddefect callsrouteseach batchreal-timefeedbackWhere AI vision sits in the Claussen plantCucumber suppliers deliver batches to the Claussen plant in Woodstock, Illinois. A series of cameras captures the cucumbers and feeds the images to Kraft Heinz's proprietary AI vision system. The quality team graded photos of earlier batches against specification, and those graded photos trained the system. The system's size and defect calls decide where each batch is routed within the factory, and problem batches go back to suppliers as real-time feedback. The plant staff who act on the calls are inferred.cucumber batches (handoff to people) · Documented in sources [1] [3]grades to spec (data) · Documented in source [1]training (data) · Documented in source [1]images (data) · Documented in source [3]size and defect calls (data) · Documented in sources [1] [3]routes each batch (trigger or control) · Documented in source [1]real-time feedback (feedback) · Documented in source [1]CLAUSSEN PLANT, WOODSTOCKCucumber suppliers · External · Documented in source [1]EXTERNALCucumber suppliersCameras · Device · Documented in source [3]DEVICECamerasQuality team · Team · Documented in source [1]TEAMQuality teamGraded batch photos · Data · Documented in source [1]DATAGraded batch photosProprietary AI vision system · AI model · Documented in sources [2] [3] [7]AI MODELProprietary AIvision systemPlant staff · Team · Inferred, not documented in the sourcesTEAM · INFERREDPlant staffFactory lines · Step · Documented in sources [1] [4]Factory linescucumber batchesgrades to spectrainingimagessize and defect callsroutes each batchreal-time feedback
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    • Inferred, not documented
    Sources [1][2][3][4][7]
    Cameras feed a model trained on the quality team's grades, and its calls decide where each batch goes and what the supplier hears.

    Kraft Heinz built the vision system itself and calls the technology proprietary AI vision2, 7. The company’s March 2025 description puts it to work on the quality and specifications of ingredients received from suppliers, with the cucumber as its first case7. The company also built its own internal AI engine, and it uses its internal AI capabilities on ingredient quality, with cucumber inspection as its example2.

    The following table lists the components of the solution.

    Layer What they used Role Source
    Vision model Proprietary AI vision system Detects different types of defects and sizes in each batch of cucumbers 1, 2, 3, 7
    Cameras and imaging Cameras Capture the cucumbers and feed the images to the plant’s AI system 3

    The model used the following data:

    • Graded batch photos: The plant’s own data trained the model. These were the photographed batches that the quality team graded against specification1.
    • Camera images: In use, the model worked from the images that a series of cameras captured of the incoming cucumbers3.

    Results

    The pilot at the Woodstock plant has one headline result, which Durbin gave in February 20251.

    Metric Before After Scope and timeframe Reported by
    Efficiency on pickles Not disclosed 12% increase Pilot at the Woodstock, Illinois plant, since the system was put in place, as of February 2025 Kraft Heinz, pilot1, 3

    The following points explain the result:

    • What drove it: Durbin tied the gain to routing pickles to the right place for the best efficiency and to giving suppliers feedback1. He said better quality from the start got more cases out of the factory, which meant better service for customers1.
    • When it was given: Durbin gave the figure a month before the company described the system as being piloted with Claussen pickles1, 7. He repeated it for the Woodstock factory on WGN Radio in March 20253.
    • Jobs: Asked whether the AI had cost jobs, Durbin said the opposite had happened. More efficient sorting meant more pickles made and packed3.

    Lessons learned

    The deployment started with the shortest-lived raw material, where a slow answer hurt most, before tomatoes or potatoes. Kraft Heinz trained the model on the quality team’s own judgments, so the system learned the plant’s specification instead of a generic one. An operator checked the model’s calls before it was left to identify variations on its own1.

    The main limit is where the inspection sat, at the factory after the cucumbers had traveled from the field. For a load already at the plant, a defect could most likely be reported to the supplier but not prevented. Durbin framed the move to truck loading as a way to get more time with suppliers and to schedule the factory for the sizes coming in, and in February 2025 that move was still being explored1.

    The accounts differ on how far the system had gone. Davis described it as implemented at the company’s pickle factories in October 20244, and Durbin had it identifying variations on its own in February 20251. The company’s March 2025 release called it a pilot with Claussen pickles7. Both can be true for a working system at one plant that the company treated as the pilot of a wider one, and the company’s own word for it is the pilot.

    Every figure comes from Kraft Heinz executives in interviews. The three outlets that carry the 12% all trace it back to Durbin, so they don’t confirm each other. Supply Chain Dive took it from the Food Dive interview2, and WGN Radio heard it from Durbin again3. The volume figures differ too: Food Dive gives approximately 60 million cucumbers a year1 and WGN Radio approximately 60 million pounds3, both for roughly 42 million jars.

    The claim that the system can pick out a defective cucumber from a truckload2, 7 describes a capability, not a measured detection rate. Two other figures sometimes quoted beside it aren’t this system’s results. The double-digit increases in engagement scores cover every area where Kraft Heinz implemented these technologies4. The 40% cut in waste covers the whole North American supply chain and all its digital solutions together7.

    Davis drew the organizational lessons in October 2024. AI needs senior leadership support, a willingness to invest, and a willingness to “fail, fail fast and pivot”, as long as the failures are ones the company can learn from. AI recommendations have to be built into existing management routines for the insights to be used4.

    Case study scorecard

    • 12% increase in efficiency on pickles at the Claussen plant, in the pilot1, 3PilotRelayed

    Build this solution yourself

    Analysis

    What you need

    To build this solution, you need the following in place:

    • A quality team whose grading the plant trusts: Those grades became the model’s definition of a good cucumber, and an operator had to keep checking its calls until it could be left alone1.
    • A place for the cameras before the line: The deployment needed cameras where a batch could be seen before it was committed to a line.
    • A plant that can act on the answer: The deployment needed a plant able to act on each grade by re-routing a batch or changing the line.
    • Suppliers who can respond: The supplier feedback only pays off if the relationship lets a supplier change something within a 10-day chain1.

    Reference architecture

    Visual inspection and monitoring

    A visual inspection and monitoring solution uses a vision model to read images from cameras and find or measure defects, objects, events, or conditions that people or systems then act on. The vision model reads each image, and rules send each detection to a line controller, a business system, or a person. People confirm or correct the findings and tune the process from the measurements, and their verdicts and newly labeled images keep the model current.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    • PepsiCo: At Frito-Lay, a vision system looks at every potato going through the peeling process, and an algorithm estimates the percent peel6. An engineer there estimated in 2019 that it would save over a million dollars a year in the US6.
    • Tyson Foods: A model built with Amazon Lookout for Vision runs at the edge on an AWS Panorama Appliance and inspects the plastic pins that hold product carriers in its poultry plants5. It can save 15,000 hours of skilled labor a year in a single facility5.

    Cite this case study

    Enterprise AI Case Studies. "Kraft Heinz's cucumber AI pilot lifts plant efficiency." Updated Nov 19, 2026. https://case-studies.ai/case-studies/production-and-quality/PQ-009-food-beverage-production-quality/

    @misc{csai-pq-009,
      author = {{Enterprise AI Case Studies}},
      title = {{Kraft Heinz's cucumber AI pilot lifts plant efficiency}},
      year = {2026},
      note = {Updated 2026-11-19},
      url = {https://case-studies.ai/case-studies/production-and-quality/PQ-009-food-beverage-production-quality/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      How Kraft Heinz is using artificial intelligence to produce a better Claussen pickle

      IndependentFood Dive, Feb 20, 202520 Feb 2025By Christopher DoeringAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (26)
      • Brand owner Kraft Heinz processes approximately 60 million cucumbers annually to make roughly 42 million jars of Claussen, the country’s top-selling refrigerated pickle brand.
      • The cucumbers that turn into Claussen pickles move from vine to brine in 10 days or fewer, giving Kraft Heinz little room for error.
      • varying circumferences, lengths and bends can wreak havoc on planning and require changes to the production line where the spears are processed.
      • Bill Durbin, the head of North America logistics and planning at Kraft Heinz
      • then rolling that out across our 60 manufacturing facilities, warehouses and distribution centers
      • leveraging things like machine learning, we've been able to get people out of those manual transactions
      • We started this about a year ago. Our cucumber supply chain is a very short one. It's 10 days from the field to when it comes into the jar.
      • During certain times of the year, we source cucumbers from fields closer to the manufacturing facility, and during the winter, we source from warmer regions which leads to longer transit time.
      • In a lot of our processes, we can buffer with inventory if the goods are received and they're not exactly the specification.
      • with such a short supply chain, it's super important that we identify issues as fast as possible and then make sure that we get the sizing correct so we can get the best efficiency as we run those things down the line.
      • With pickles, the circumference matters, the size matters, the length matters, the bend of the cucumber
      • If the quality does not meet our specifications, we can't run it.
      • We started by bringing in batches of cucumbers, taking pictures of those batches and the quality team was getting the feedback on which ones were to specification, like validating, sizing them. We were training the machine to do that same task.
      • over time, we trained and then saw different types of defects, different types of sizes, what those things meant.
      • beginning to identify these variations, and the operator would validate those things. So now it's able to identify those things on its own.
      • we know where to send it within the factory, or if it's an issue, we can get that real-time feedback to the suppliers to be able to address.
      • Today, we're doing this at the factory where the cucumber becomes a pickle in the jar that goes in the case
      • we're starting to explore how we introduce this technology earlier in the supply chain so it's where the cucumber goes on the truck.
      • There we get more time or more responsiveness on being able to work with the supplier or to identify the sizes coming in so that we can schedule the factory correctly for those different sizes.
      • On pickles, specifically, we've seen, since we put this in place, we've seen a 12% increase in efficiency from that.
      • we've been able to make sure that the pickles are getting routed to the right place to give us the best efficiency possible, and also to give that feedback to the suppliers.
      • We are getting better quality from the start. That's allowed us to get more cases out of that factory
      • which means better service for our customers
      • We're starting to look at those opportunities as well, so we haven't put them in place. For tomatoes, it's the size, it's the color.
      • we're looking at tomatoes, potatoes for Ore-Ida French fries on how we can now scale this across those other operations.
      • There was, to be honest, almost a greater need on the cucumber because of how truly short that shelf life is.
    2. Source 2:

      AI, automation enrich Kraft Heinz's supply chain

      IndependentSupply Chain Dive, Mar 17, 202517 Mar 2025By Phil NeufferAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (10)
      • The food product maker has been on a transformation journey it calls “Agile@Scale” since 2022, and upgrading its technology capabilities in pursuit of an autonomous supply chain is a key pillar.
      • A proprietary control tower built in partnership with Microsoft is at the core of Kraft Heinz’s digital ecosystem.
      • Dubbed Kraft Heinz Lighthouse, the tower provides real-time information and visibility across the company’s supply chain, including plant operations and distribution channels, per the spokesperson.
      • The company built its own internal AI engine, according to Abrams-Rivera
      • It is also using its internal AI capabilities to further enhance the quality of ingredients it uses for its products.
      • As an example, the AI system automates cucumber quality inspections to increase precision and efficiency for its Claussen pickles production.
      • We’re using proprietary AI vision to improve ingredient quality so precisely, that our technology can pick out a defective cucumber from a truckload
      • Using AI enabled Kraft Heinz to up pickle production efficiency by 12%, Bill Durbin, head of North America logistics and planning, told Food Dive in February.
      • We want to automate processes where it makes sense while ensuring humans are in the loop and their efforts are focused where needed most
      • CEO Carlos Abrams-Rivera said at the Consumer Analyst Group of New York Conference in February.
    3. Source 3:

      The Pickle Capital of the World

      IndependentWGN Radio, Mar 25, 202525 Mar 2025By Steve AlexanderAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (7)
      • Every Claussen's pickle chomped on in the U.S. is made at a factory in Woodstock, Illinois, and A.I. is now part of the pickle making process.
      • the Claussen pickle factory, where more than 300 people produce every pickle that Claussen’s sells
      • The Woodstock plant processes approximately 60 million pounds of cucumbers annually to make roughly 42 million jars of Claussen
      • Sorting had been human job, but artificial intelligence is now lending a hand.
      • Durbin says a series of cameras feeds information into the plant’s A.I. system which has been trained to detect different types of defects and different types of sizes.
      • Durbin says since A.I. has been implemented, the Woodstock factory has seen a 12% increase in efficiency.
      • Durbin tells Alexander that just the opposite has happened, with increased efficiency in sorting the cukes leading to more pickles being made and packed.
    4. Source 4:

      AI And Cucumbers: The Amazing Ways Kraft Heinz Is Using Artificial Intelligence

      IndependentBernard Marr, Oct 22, 202422 Oct 2024By Bernard MarrAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (11)
      • I recently had the oppoortunity to speak with Helen Davis, Senior Vice President and Head of North America Operations at Kraft Heinz
      • To address this, Kraft Heinz implemented an AI vision system at its pickle factories.
      • Before it comes into the factory lines, we put AI vision systems in to understand is the density right? Is the length of the cucumber right? Is the circumference of the cucumber right?
      • Because we need to make sure that that crunch that everybody wants in their pickles is perfect.
      • That transactional data is coming up to our cloud system, and we have our Kraft Heinz Lighthouse that sits on top of all this transactional data and really gives us visibility from farm to fork of our entire supply chain.
      • in areas where these technologies have been implemented
      • double-digit increases in our engagement scores
      • You have to have senior leadership support. You have to be willing to do the investment. And you have to be willing to fail, fail fast and pivot.
      • those that you can learn from and use to improve
      • incorporating AI recommendations into their management routines, such as the Kraft Heinz Management System in factories and the Logistics Operating System in planning and logistics
      • This integration ensures that the insights generated by AI are actually used to drive improvements.
    5. Source 5:

      Tyson Foods Boosts Efficiency with Computer Vision and Machine Learning from AWS

      Partner or vendorAmazon Web Services, Jul 27, 202227 Jul 2022By Chelsea RenderAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • Tyson Foods also aimed to automate the task of recurring inspection of the plastic pins used to hold product carriers in place in its poultry production facilities.
      • For this solution, Tyson Foods turned to Amazon Lookout for Vision, an ML service that uses CV to spot product defects in objects at scale.
      • Tyson Foods deployed this model at the edge on an AWS Panorama Appliance
      • which can save the company 15,000 hours of skilled labor annually in a single facility.
    6. Source 6:

      How Frito-Lay Applies Machine Learning

      IndependentAutomation World, Mar 7, 20197 Mar 2019Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • Shahmeer Mirza, senior research and development engineer at PepsiCo.
      • we have a vision system that looks at every potato going through our peeling process
      • I wrote an algorithm that can tell us what our percent peel is
      • Mirza said this project, which is still in process, is estimated to save the company over a million dollars a year based on its ability to optimize the potato peeling process in the U.S. alone.
    7. Source 7:

      Kraft Heinz Named to Fast Company's Annual List of the World's Most Innovative Companies for Third Year in a Row

      OrganizationKraft Heinz, Mar 18, 202518 Mar 2025Accessed Nov 16, 202616 Nov 2026Archived copy

      Supporting excerpts (4)
      • Kraft Heinz’s proprietary AI computer vision system analyzes the quality and specifications of ingredients received from suppliers and is currently being piloted with Claussen pickles.
      • It can pick out a defective cucumber from a truckload of thousands.
      • Since launching these innovations Kraft Heinz has significantly improved its operational efficiency.
      • In North America, the Company has reduced waste across its supply chain by 40 percent.

    More in Production & Quality

    View all