AI Vision Shape Abnormality Detection for Food Products 2027

By James Smith on November 23, 2026

ai-vision-shape-abnormality-detection-for-food-products-2027

AI vision shape abnormality detection scores the outline of every food unit against its expected form, catching cookies that are out of round, breads that fold and cheese wedges that skew while the line is still running. It works by turning a shape into numbers such as circularity, aspect ratio and solidity, then comparing them with limits set for each product. Food manufacturers are under steady pressure to cut waste and rework as input costs rise (Automate UK, 2026), and misshapen product is both a visible quality flaw and a sign of process drift. iFactory, an on-premise AI platform for food manufacturing, scores every unit live, and teams can watch shape scores run on a video of their own product in a short session.

Food Vision · Shape Abnormality · 2027 Planning

Spot the Fold, the Skew and the Oval Before Packing

iFactory AI scores the shape of every unit live, so out-of-form product is removed and its cause is traced.


Round

Oval

Folded

Skewed
The definition

What Is Shape Abnormality Detection in Food Production?

It is automated checking of each unit's outline against a defined form. The system reports a score and flags units that fall outside limits.

Capture the unit
then
Trace its outline
then
Compute shape numbers
then
Accept or flag
The measures

Which Shape Numbers Reveal an Abnormal Unit?

Three simple numbers catch most problems. Each is calculated from the outline alone.

Circularity
4 times pi times area, divided by perimeter squared
1.0 is a perfect circle. Lower values mean out of round.
Aspect ratio
Length divided by width
Rises when a unit is stretched into an oval or skewed.
Solidity
Area divided by the area of its convex outline
Falls when a unit is folded, dented or has a bite missing.

Used together, they separate a stretched cookie from a folded one. To see the numbers on your own shapes, ask our team how shape limits are set per product.

By product

What Shape Problems Appear on Each Product Family?

Cookies and biscuits
Out of round, merged pairs, broken edges. Watched through circularity and area.
Breads and rolls
Folds, flat tops, uneven rise and collapsed sides. Watched through solidity and profile.
Cheese wedges and blocks
Skewed cuts, uneven angles and chipped corners. Watched through angle and aspect ratio.

Find Out How Many Units Leave Out of Form

Share a recording from your line. iFactory AI will score each unit and show the share that is out of shape.

The pipeline

How Does the System Judge Shape in Real Time?

Five steps run in a fraction of a second for each unit.

1
Capture
A camera and light record the unit.
2
Segment
The unit is separated from the belt.
3
Measure
Shape numbers are calculated.
4
Classify
AI names the abnormality type.
5
Act
Reject, alert or adjust the process.

Naming the type matters. A fold points to the infeed, while an oval points to the cutter or depositor. To see classification on real shapes, review abnormality types with our specialists.

The causes

Which Process Problems Produce Which Shape Defects?

Shape DefectTypical Process CauseShape SignalFirst Place to Check
Out of roundUneven deposit or dough restLow circularityDepositor and cutter
Folded or doubledProduct touching at the infeedLow solidityGuides and belt speed
SkewedWorn blade or misaligned feedAspect ratio and angle shiftCutting module
Flat or spreadSoft dough or hot oven zoneArea rises, height fallsDough temperature, oven profile
Chipped edgeHandling knocks at transfersSolidity falls near edgesTransfer points
The limits

How Strict Should Shape Limits Be?

Limits should follow what the customer sees and what the pack allows, not what the camera can detect. Start with a ladder of three levels.

Cosmetic
Slight out of round. Count and trend only.
Visible
Clearly off-shape. Divert to second grade or rework.
Unfit for pack
Folded or merged. Remove at once and alert the line.

Set the first limits with sample units approved by quality, then tighten as the process improves.

Dashboards and SOPs

How Does Shape Data Reach KPIs, SPC and Root Cause Work?

Percent of units off-shape by line and shift
Control chart of mean circularity
Abnormality type mix over time
Shape score linked to oven and depositor settings
Written response SOP for each alert tier
Weekly review of top abnormality types

iFactory is delivered on an on-premise NVIDIA server, live in 6–12 weeks, with integration, training and 24×7 remote monitoring in scope. For planning, ask support about shape KPIs and SOP templates.

First 90 days

What Does a Realistic First 90 Days Look Like?

A shape detection pilot works best on one line and one product family. The plan below builds trust before it scales.

Days 1–30
Collect and approve sample units, then run shape scoring in shadow mode on one line.
Days 31–60
Set shape limits and abnormality types, link scores to depositor and oven settings and write the SOP.
Days 61–90
Switch on alerts or rejection, track percent off-shape and review the top abnormality types weekly.

To plan this for your product, ask support about a ninety-day shape pilot.

Pitfalls

What Mistakes Weaken Shape Detection Programs?

Shape limits are easy to set badly. Six mistakes come up most often.

Limits from a single sample
Use many approved and rejected units so limits reflect real variation.
Treating all shape defects alike
Name each type, since a fold and an oval have different causes.
Rejecting natural variation
Allow wider limits on artisan products than on uniform extruded ones.
Shadows on the belt
Light the belt evenly so outlines are not distorted.
No link to process data
Store shape scores with line settings so causes can be found.
Skipping limit reviews
Review limits each quarter as the process improves.

A short review each quarter keeps limits honest. To plan one, discuss shape limit reviews with our team.

Key terms

Which Terms Matter for Shape Detection?

Six terms cover the shared language of shape quality.

Circularity
A score of how close an outline is to a perfect circle.
Aspect ratio
Length divided by width of a unit.
Solidity
Area divided by the area of the convex outline.
Outline
The traced boundary of a unit.
Segmentation
Separating the unit from the belt background.
Abnormality class
The named type of a shape defect.

To see them applied, ask our team for a worked shape scoring example.

Fit with other teams

How Does Shape Data Help Other Teams?

Shape scores are useful beyond rejection. Maintenance teams use trends in circularity to plan cutter and depositor service, process engineers use abnormality types to tune ovens, and sales teams use grade splits to explain second-quality volumes to customers. Storing every score with line settings keeps one version of the facts.

One record, many teams: the same data answers quality, maintenance and planning questions.

A shared record also speeds audits and customer complaints. To plan one, ask support how shape history is stored and searched.

Expert review

Using Shape Vision Responsibly

Holds up
Outline measures such as circularity and solidity are standard image analysis, and deep learning adds classification of defect types.
Verify
That limits are tested on real approved and rejected units, and that lighting does not distort outlines.
Avoid
Rejecting natural variation. Artisan products need wider limits than uniform extruded ones.
Questions

Frequently Asked Questions

How does AI detect out-of-round cookies?
It traces each cookie's outline and computes circularity, then flags cookies below the limit set for that product. Trends show which depositor or cutter is drifting. See circularity scoring on your cookies.
Can it find folded bread or skewed cheese?
Yes. Solidity catches folds and dents, while aspect ratio and angle checks catch skewed cuts. Each product gets its own limits. Ask about limits for your product.
How are shape limits decided?
Quality teams approve sample units, the system scores them, and limits are set around the approved range. They are reviewed as the process improves. Plan a limit-setting session with our team.
Does the system reject units automatically?
It can drive a reject device or only alert, depending on your choice. Many plants start with alerts and add automatic rejection after trust is built. Discuss reject options for your line.
Does the data stay in our plant?
Yes. iFactory runs on-premise on a plant server, so images and scores stay on site. Ask support about on-premise data handling.

Ship Only Product That Holds Its Shape

Book a session to see iFactory AI score shape on your own products and trace each abnormality to its cause.

{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How does AI detect out-of-round cookies?","acceptedAnswer":{"@type":"Answer","text":"It traces each cookie's outline and computes circularity, then flags cookies below the limit set for that product. Trends show which depositor or cutter is drifting."}},{"@type":"Question","name":"Can it find folded bread or skewed cheese?","acceptedAnswer":{"@type":"Answer","text":"Yes. Solidity catches folds and dents, while aspect ratio and angle checks catch skewed cuts. Each product gets its own limits."}},{"@type":"Question","name":"How are shape limits decided?","acceptedAnswer":{"@type":"Answer","text":"Quality teams approve sample units, the system scores them, and limits are set around the approved range. They are reviewed as the process improves."}},{"@type":"Question","name":"Does the system reject units automatically?","acceptedAnswer":{"@type":"Answer","text":"It can drive a reject device or only alert, depending on your choice. Many plants start with alerts and add automatic rejection after trust is built."}},{"@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 scores stay on site."}}]}

Share This Story, Choose Your Platform!