AI Vision Size Variation Detection for Food Product Lines

By James Smith on November 23, 2026

ai-vision-size-variation-detection-for-food-product-lines

AI vision size variation detection measures the length, width and area of every food unit as it passes a camera, then flags units outside tolerance and tracks the spread over time. It matters because size drives cases, portions, pack fit and the cost of giving away product. Higher line speeds increase variation from the target weight, which raises the chance of overfilled packs (Automate UK, 2026), and size variation is one of the first signs of it. iFactory, an on-premise AI platform for food manufacturing, measures every unit rather than a sample, and teams can see size measured per unit on a recording of their own product in a short session.

Food Vision · Size Variation

Every Unit Measured. Every Size Drift Seen Early.

iFactory AI measures length, width and area per unit, so cases and portions run inside tolerance and giveaway shrinks.

Tolerance band








Outlined units are flagged for size.
The definition

What Is AI Vision Size Variation Detection?

It is camera-based measurement that reports the dimensions of each product unit and compares them with a target and tolerance. Unlike spot checks, it covers every unit on the line.

Manual size checks
A few units each hour
Calipers or a template
Drift found after the fact
AI vision measurement
Every unit, every second
Length, width and area
Drift flagged as it starts
The cost

Why Does Size Variation Cost Food Plants Money?

Oversized units give product away, and undersized units fail pack or portion rules. Both hide inside a normal average.

72 kg
of product per hour from a 3 g average giveaway at 400 units per minute (arithmetic, illustrative)
0.3–2%
overfill drift that checkweighers set at plus or minus 3% cannot detect (iFactory, 2026)
100%
of units measured by vision, rather than a sample

A weight check sees only the total. Size shows which lane, cutter or depositor is drifting. To trace this on your line, ask our team how size and weight data are linked.

See Your Size Spread Before It Costs You

Share a short video of your product on the belt. iFactory AI will show the measured spread and outliers.

The measures

Which Size Measures Does the Camera Report?

Three measures cover most food products. Each has a different use on the line.

Length
Fit in packs, sleeves and trays. Key for bars, sausages and baguettes.
Width
Lane spacing and cutting accuracy. Shows blade or nozzle drift.
Area
The best single proxy for portion size on flat products such as cookies and slices.

Cameras are calibrated to real millimeters, so each reading has a known unit. Calibration is rechecked on a schedule to prevent false drift.

The tolerance

How Are Tolerance Bands Set for Size?

Use two bands: the specification band from the customer or pack, and a tighter control band inside it. The control band triggers action before any unit fails the specification.

Reject small
Watch
Target zone
Watch
Reject large
Acting at the watch zone, not the reject zone, is where most of the saving comes from.
The distribution

What Does a Tighter Size Distribution Look Like?

A tighter spread lets the target move closer to the minimum, which cuts giveaway. The columns show an illustrative distribution before and after control.

Before







After







Same product, narrower spread. To model the effect for your product, review a spread and giveaway estimate with our specialists.

The KPIs

Which Size KPIs Belong on the Dashboard?

KPIWhat It ShowsHow It Is Used
Mean sizeAverage against targetSpot a shift in the center
Standard deviationSpread of sizesTrack how tight the process is
CpkCapability against toleranceSPC trend by line and shift
Percent out of toleranceShare outside the bandReject and rework planning
Size by laneMean and spread per laneFind the lane that is drifting
Root causes

What Causes Size Variation, and How Is It Traced?

Depositor or cutter wear
Size drifts in one lane first, which per-lane data shows at once.
Dough or batter viscosity
Changes with temperature and rest time, so size moves through the shift.
Pressure or hopper level
Falling feed pressure shrinks pieces gradually.
Moisture and ambient temperature
Shift size with weather and room conditions.
Product changeover
Wrong settings after a changeover show up in the first minutes.

Linking size to line settings is the root cause step. To see how, ask support about size root cause analysis.

The rollout

How Do You Roll Out Size Detection on a Food Line?

1
Pick one line and one product with a clear size spec.
2
Fit the camera and lighting, then calibrate to millimeters.
3
Run in shadow mode for a few shifts and compare with manual checks.
4
Set control bands and alerts, then write the response SOP.
5
Extend to other lines and review the KPIs monthly.

iFactory is delivered on an on-premise NVIDIA server, live in 6–12 weeks, with integration, training and 24×7 remote monitoring in scope.

First 90 days

What Does a Realistic First 90 Days Look Like?

A size detection pilot fits in one quarter. The plan below keeps scope to one line and one product.

Days 1–30
Fit and calibrate the camera on one line, then run in shadow mode against manual size checks.
Days 31–60
Set control bands, alerts and a written response SOP, and review size by lane each week.
Days 61–90
Go live with alerts, track giveaway and percent out of tolerance, then extend to a second line.

To scope a pilot like this, discuss a ninety-day size pilot with our team.

Pitfalls

What Mistakes Weaken Size Detection Programs?

Good cameras can still disappoint when habits are weak. Six mistakes are common.

Measuring only the average
Track spread and lane-by-lane size, since a good average can hide wide variation.
Uncalibrated cameras
Recheck millimeter calibration on a schedule so a shifted camera is not read as product drift.
Poor lighting
Use controlled, shadow-free light so edges are measured the same way on every shift.
One tolerance for every product
Set size limits per product and pack format.
Alerts nobody owns
Name a role and a response time for each alert tier.
Ignoring changeovers
Check the first minutes after every changeover, when wrong settings show first.

Most of these are cheap to fix. For a ready-made list, ask support for a size program checklist.

Key terms

Which Terms Should Teams Agree On?

Eight terms appear on almost every size dashboard.

Tolerance
The allowed range around the target size.
Target
The ideal size the product is designed to hit.
Standard deviation
A measure of how widely sizes are spread.
Cpk
A capability index comparing spread and centering with tolerance.
Giveaway
Product supplied beyond what is declared or needed.
Lane
One of several parallel product paths on a line.
Calibration
Matching camera pixels to real millimeters.
Outlier
A unit far outside the normal size range.

To see them on a live report, preview these size measures with our specialists.

Expert review

Using Size Vision Responsibly

Holds up
Per-unit dimensional measurement is established machine vision practice, and SPC on size is well understood.
Verify
Camera calibration, lighting consistency and that product touching or overlapping is handled.
Avoid
Treating size as weight. Density varies, so keep the checkweigher as the legal weight check.
Questions

Frequently Asked Questions

How accurate is AI size measurement on food products?
Accuracy depends on camera resolution, lighting and calibration, and it is verified against reference gauges during setup. Well-lit flat products can be measured to a small fraction of a millimeter. See measured accuracy on your product.
Does size measurement replace the checkweigher?
No. The checkweigher remains the legal weight check, while size vision shows where variation starts and reveals drift the checkweigher cannot see. Ask how the two work together.
Can it handle touching or overlapping products?
Separation algorithms handle light contact, though heavy overlap should be solved at the infeed. Setup reviews flag these cases. Review your infeed layout with our team.
How does size data feed SPC and root cause work?
Each measurement is stored with time, lane and line settings, so control charts, KPIs and cause searches use the same record. Plan an SPC view for your size data.
Does the data stay in our plant?
Yes. iFactory runs on-premise on a plant server, so images and measurements stay on site. Ask support about on-premise data handling.

Keep Every Unit Inside Tolerance

Book a session to see iFactory AI measure size per unit and turn drift into early alerts.

{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How accurate is AI size measurement on food products?","acceptedAnswer":{"@type":"Answer","text":"Accuracy depends on camera resolution, lighting and calibration, and it is verified against reference gauges during setup. Well-lit flat products can be measured to a small fraction of a millimeter."}},{"@type":"Question","name":"Does size measurement replace the checkweigher?","acceptedAnswer":{"@type":"Answer","text":"No. The checkweigher remains the legal weight check, while size vision shows where variation starts and reveals drift the checkweigher cannot see."}},{"@type":"Question","name":"Can it handle touching or overlapping products?","acceptedAnswer":{"@type":"Answer","text":"Separation algorithms handle light contact, though heavy overlap should be solved at the infeed. Setup reviews flag these cases."}},{"@type":"Question","name":"How does size data feed SPC and root cause work?","acceptedAnswer":{"@type":"Answer","text":"Each measurement is stored with time, lane and line settings, so control charts, KPIs and cause searches use the same record."}},{"@type":"Question","name":"Does the data stay in our plant?","acceptedAnswer":{"@type":"Answer","text":"Yes. iFactory runs on-premise on a plant server, so images and measurements stay on site."}}]}

Share This Story, Choose Your Platform!