Best Vision-Based Fill Level Inspection Software for Food

By James Smith on October 24, 2026

best-vision-based-fill-level-inspection-software-for-food

A bottle can look full and still be short, because a squeezed wall or a dented can changes the volume inside without changing the level much. Fill inspection that ignores package shape misses these cases. Food plants can see fill level and container shape checked in the same frame with iFactory AI.

Fill Level Inspection · Food Packaging Defect Detection

Check the Level and the Container Together

iFactory AI vision reads fill level against the container itself, so dented, squeezed and leaning packs are caught, not passed.

Five containers on a line, illustrative

Under

Good

Over

Dented

Good
The dented container shows the right level, but holds less product. Dashed line marks target level.

What “Best” Should Mean for a Fill Level System

The best system is not the one with the longest feature list. It is the one that proves net content, protects margin and does not send good product to the reject bin. This guide gives you the criteria to judge any platform fairly.

1

Protect the customer

Packs must carry the amount the label promises, every time and not only on average.

2

Protect the margin

Overfill is free product given away, thousands of times a shift on a fast line.

3

Protect the brand

Shoppers notice half-empty looking packs, dented cans and leaning bottles.

4

Protect the audit

Every reject and every pass has an image and a time stamp behind it.

Claims that one technology beats all others on speed, cost and cleanliness deserve a test on your own line before they deserve your trust.

The Rule Behind the Label

In the United States, the National Institute of Standards and Technology publishes the method that weights and measures officials use to check packaged goods. Its public FAQ gives the idea in plain terms. Rules in other countries differ, so check your own markets.

The average requirement
The average net quantity of the lot must at least equal the label amount
Overfill on some packs cannot hide a lower average
The process target must therefore sit above the label amount by a margin
The individual package requirement
No pack may be short by an unreasonably large amount
A maximum allowable variation sets the limit for each label size
Overfilled packs in other parts of the lot do not offset a short one
Summary of the NIST net contents FAQ. The maximum allowable variation values are set out in Handbook 133, Appendix A, and your regulatory adviser should confirm the figures for your products.
Both requirements push the same way: control the spread of the fill, not just the average. Inspection that sees every pack makes that possible.

Which Technology Fits Which Container

No single method suits every pack. Honest buyers compare technologies by container and product, then use more than one when it makes sense.

TechnologyHow it reads fillFits bestLimits to know
Machine vision, backlit Camera sees the liquid level through the wall Clear or translucent bottles and jars at speed Needs a see-through wall and clean optics
Machine vision, reflected light Camera reads a surface, a headspace or a fill mark Open containers, trays and some opaque packs Glare, product color and texture matter
X-ray Beam shows level through metal or thick walls Cans and other opaque containers Higher cost, shielding and safety controls
Checkweigher Scale reads gross or net weight Any pack in which weight tracks content Does not see level, cap or label defects
Capacitive or ultrasonic sensors Sensor reads a level signal near the container Simple level checks on set shapes Sensitive to foam, shape and position changes
General guide. Vendors of every technology publish their own strengths, so test each candidate on your product, container and line speed.

A Quick Container Guide

Clear PET and glass

Backlit vision is a strong first choice, and it can check caps and labels at the same station.

Cans and foil

Look at X-ray for level, and a scale for net weight, with vision for seams and codes.

Pouches and trays

Weight and seal vision usually work together, since level in a flexible pack means little.

The Package Deformation Problem

A label promises a volume, but most systems read a height. Height turns into volume only if the container keeps its shape. When the shape changes, the same level can hide a different amount of product.

Levelwhat the camera sees
×
Shapewhat the container is now
=
Volumewhat the label promises
Squeeze

Squeezed PET wall

A pressed bottle can sit at the right level and hold less, or rise high and hold the same.

Dent

Dented can or tin

Dents cut internal volume and may also hint at a damaged seam.

Panel

Hot-fill panel pull-in

Vacuum panels move as product cools, which changes the headspace and the apparent level.

Bulge

Bulging pack

Pressure caused by carbonation or spoilage pushes walls outward and lifts the level.

Lean

Leaning container

A tilted bottle makes a flat level look sloped and shifts the reading.

Slump

Pouch slump

Flexible packs change shape on the belt, so a simple height says very little.

Engineering principles, shown in general terms. The size of each effect depends on the container, the material and the product.
Treat deformation as its own reject reason. A dented pack that holds the right level is still a defect, and it needs to be logged as one.

How Vision Can Read Level Against the Container

The fix is to measure level against the container, not against a fixed pixel on the screen. Five steps show the pattern.

1 · Find the pack

Locate the container edges and key features, such as neck finish, shoulder and base.

2 · Set a reference

Measure level relative to those features, so a pack shifted or tilted on the belt reads correctly.

3 · Check the shape

Compare the outline with the good-pack model, and flag dents, bulges and lean.

4 · Model the volume

Use the container's measured geometry to turn level into an estimated volume for each SKU.

5 · Decide and log

Reject under, over and deformed packs for separate reasons, each with its own image.

6 · Cross-check

Compare with scale data, so the vision model is tested against real net weight.

Foam, Glare and Other Reading Traps

Foam on carbonated or whipped product
Foam hides the true surface. Add a settle time or a position later on the line, and test rule-based and AI methods together.
Glare and reflections
Shiny walls bounce light into the lens. Use diffuse light, polarizers and a fixed camera angle.
Labels covering the view
Wrap-around labels block a backlit read. Choose a clear window or inspect before labeling.
Condensation on cold packs
Water beads scatter light. Add airflow or place the camera before condensation forms.
Dark or cloudy product
Low contrast makes level hard to see. Adjust light color and intensity, and train on real product.
Vibration and movement
Moving packs blur the edge. Use short exposures and a rigid mount.

See Fill Level and Shape Checked Together

Book a 30-minute session and iFactory AI will walk through level, deformation and cap checks on your own containers and products.

Why Fill Levels Drift in the First Place

Inspection catches the result, but a good program also looks at causes. Most drift traces back to a short list of filler and product conditions.

Valve

Filler valve wear

Worn seals and springs change flow and cut-off, and one head starts to drift to its own level.

Heat

Product temperature

Warm product is thinner and expands, so the same dose reaches a different level.

Tank

Supply pressure and level

A falling tank or a pressure swing changes flow to every head at once.

Speed

Line speed changes

Ramp-ups and slow-downs after jams change fill time and splash.

Neck

Container variation

Bottles made in different molds or by different suppliers hold slightly different volumes at the same level.

Air

Gas and foam

Dissolved gas and trapped air produce foam that lifts the apparent level.

General causes. A trend by filler head and shift usually shows within days which one applies to your line.

Stop SKU Changes Breaking the Model

Food plants change products often, and every change is a chance for a vision model to go wrong. A little discipline avoids most of it.

New bottle supplier
Measure the new geometry and revise the volume model before the first run, not after complaints.
New label or color
A new wrap can hide the level window or change reflections. Run a short shadow check.
Recipe or viscosity change
Thicker product clings to walls and settles slowly. Retest the reading point and the timing.
Seasonal temperature swings
Warm summer product and cold winter rooms shift both the fill and the lens. Review thresholds each season.

Pair Vision With the Scale

Vision and weighing answer different questions. Used together, they check each other and cover each other's blind spots.

QuestionVision answersScale answers
Is the level right? Yes, for visible containers Indirectly, through weight
Is the net weight right? Only as an estimate Yes, directly
Is the container damaged? Yes, using the outline and surface No
Is the cap or seal right? Yes No
Is the label or code right? Yes No
Which filler head is drifting? Yes, if packs are tracked by head Yes, if packs are tracked by head
Use scale data to calibrate the vision model, and use vision data to explain why the scale flagged a pack.

Who Does What on the Line

Line Operator

Watches the reject count, clears jams and reports odd patterns early.

Quality Engineer

Owns tolerances, test sets and the false reject target.

Maintenance Planner

Acts on filler-head trends before they become stoppages.

Automation Lead

Keeps cameras, lights, timing and the reject gate in range.

Production Manager

Sets the giveaway target and reviews the spread each week.

Regulatory Lead

Confirms net content rules and signs off on tolerances.

A Simple Calibration Routine

Start each shift with a known good pack, a known low pack and a known high pack, and confirm that the system calls all three correctly. Wipe the lens, check the light level and log the result. Repeat after any jam, camera knock or SKU change. This five-minute habit catches most drift before it ships, and it gives auditors a dated record that the inspection itself was in control.

Your Buyer Scorecard

Ask these questions in every demo, and ask for a live answer on your own packs. Teams can ask support for a one-page version of this scorecard to take into reviews.

CriterionWhy it mattersAsk the vendor
Level against a container reference Tilted or shifted packs must not cause false reads How is level measured relative to the pack?
Deformation detection Dents and bulges change volume and signal damage Is shape checked, and logged as its own reason?
Per-SKU setup effort Changeovers are frequent in food plants How many sample packs and how much time per new SKU?
Speed proof Claims must hold at your line speed Can we test at full speed with seeded defects?
Scale and filler link Cross-checks catch drift early Can scale and filler-head data sit in the same view?
Image and reject history Audits and root-cause work need evidence Is every reject stored with image, reason and time?
Self-checks and drift alerts Dirty lenses and moved cameras must not pass product What happens when image quality falls?
False reject control Good product in the bin costs real money How is the false reject rate measured and tuned?

Demo Day Checklist

Reading
Control
Records

Prove It at Speed Before You Buy

Demo videos show the best case. A short validation on your line shows the real one. Use the same steps for every supplier you test.

Step 1

Build a test set

Collect packs with known fill, known weight and known damage, and label each one.

Step 2

Run at line speed

Feed the test set in random order at full speed, with good packs mixed in.

Step 3

Score the result

Count caught defects, missed defects and false rejects, split by defect type.

Step 4

Stress the edges

Repeat with foam, wet packs, tilted packs and a changed light level.

Ask each supplier to share the raw results, not only a summary. Compare them on the same test set.

What the Giveaway Really Costs

Tight fill control pays back because overfill is invisible in the cost report. Finance teams can book a session to model giveaway on a real line.

Overfill giveaway
1,000,000 packs a month × 2 mL average overfill × $0.002 per mL = $4,000
Halving the average overfill saves half of it
Saves $2,000 a month
Underfill exposure
One lot of 20,000 packs held for rework at $0.25 a pack = $5,000
A rejected shipment or complaint costs far more
One caught lot pays for a month
Illustrative numbers only. Use your own volumes, product cost and rework costs. Product margin per mL differs greatly between a juice and a premium sauce.

Measures to Track Every Week

MeasureWhat it showsOwnerReview rhythm
Average and spread of fill Giveaway and risk of short packs Quality manager Daily
Rejects by reason Under, over, deformed, cap and label split out Line supervisor Daily
Rejects by filler head Which head is drifting Maintenance planner Weekly
False reject rate Good product removed by mistake Quality engineer Weekly
Vision against scale agreement Whether the model still matches real weight Quality engineer Weekly
System health checks passed Lens, light and timing stay in range Automation lead Daily

How iFactory AI Fits

iFactory AI vision reads fill level and package condition at the line. Models run on an on-site server, rejects are logged with image, reason and time, and results link to filler-head and shift trends. It works with existing PLCs, scales and quality systems. Scope, container fit and timing are confirmed in a line trial.

Level Against Container

Read the fill relative to the pack, not a fixed spot.

Shape and Damage Checks

Flag dents, bulges and lean as separate reasons.

Cap, Label and Code

Check closure and print in the same pass.

Reject Evidence

Store an image with every reject and every hold.

Filler-Head Trends

See which head or shift drives the drift.

Self-Checks

Hold product when image quality or timing moves out of range.

Delivered turnkey, live in 6–12 weeks
iFactory AI arrives pre-configured on an NVIDIA server that ships racked and ready with software pre-loaded. Rack it, connect power and Ethernet, and analytics begin building. Scope covers cabling, network, PLC, SCADA, ERP and MES integration, team training and 24×7 remote monitoring.
Weeks 1–4
Ship, network and connect cameras, lights and the reject gate
Weeks 5–8
Collect packs, train models per SKU and run in shadow mode
Weeks 9–12
Go live with auto reject, train teams and start weekly reviews
Quality lead: why are rejects rising on filler head 6?
iFactory AI: head 6 shows a slow drift toward underfill over two shifts, and its dented-pack rejects doubled after the last changeover. A worn star-wheel guide is the first thing to check.

A 90-Day Starting Plan

Days 1–20

Pick the line

Choose one line, list its SKUs and containers and set the fill and shape tolerances.

Days 21–45

Install and learn

Mount cameras and lights, collect packs and run shadow mode against the scale.

Days 46–70

Tune and prove

Set thresholds, test seeded defects at speed and measure the false reject rate.

Days 71–90

Go live and widen

Turn on auto reject, review weekly and plan the next line.

Frequently Asked Questions

Is vision better than X-ray for fill level?

It depends on the container. Vision suits clear or translucent packs and can check caps and labels at the same station. X-ray suits cans and thick-walled or opaque containers. Many plants use both on different lines, so judge each by container, product, speed and cost.

Can vision tell if a pack is short when it is dented?

It can flag the dent and estimate volume using the pack's measured shape, but a scale remains the direct check on net weight. Use both for a stronger answer. Book a session to see shape and level checked together on a dented pack.

How long does it take to add a new SKU?

It depends on how different the container and product are. Expect to collect a set of labeled sample packs, train or tune the model, and run a short shadow check before auto reject. Ask each vendor for a time estimate per SKU and test it on one of your own.

What if our product foams?

Foam is a common trap. Options include a settling stretch before the camera, a different inspection point, special lighting and combined rule-based and AI checks. Test on your real product at line speed. Support can help plan a foam trial before you commit.

Does this replace our checkweigher?

No. A checkweigher gives direct net weight, while vision sees level, shape, caps and labels. Together they cross-check each other and explain rejects better. Keep the scale for packs with a weight-based label, and add vision when visible defects or deformation drive complaints.

Stop Guessing What Is Inside the Pack

iFactory AI vision gives food lines a fast, recorded check on level and container condition. Book a walkthrough on your own packs.


Share This Story, Choose Your Platform!