AI Vision Defect Detection for Glass Products

By James Smith on August 26, 2026

ai-vision-defect-detection-glass-products

A bottle with a hairline stone buried in the heel looks identical to a good one under normal light, and that is exactly the problem. Glass hides its worst defects inside the material itself, not on the surface where a camera can find an easy edge to grab onto, and a human inspector staring at hundreds of containers a minute has no real chance of catching a 0.3mm inclusion before it ships. Glass manufacturers running float lines, container forming lines, and specialty coating cells are quietly accepting a scrap and claims rate that AI vision was built to eliminate, and the gap between what legacy rule-based systems catch and what actually ships out the door at ifactory support is bigger than most quality teams want to admit.

iFactory AI Vision for Glass Products

Catch the Defects Hiding Inside the Glass, Not Just on Top of It

Bubbles, stones, cord, checks, and coating voids detected at full line speed with edge GPU inference, tuned specifically for the optical behavior of transparent and reflective glass surfaces.

<50msEdge GPU inference per unit
0.3mmSmallest stone reliably flagged
RetrofitOnto your existing line hardware

Why Transparent Material Breaks Ordinary Machine Vision

Opaque parts are comparatively easy for a camera. Light hits the surface, bounces back at a predictable angle, and a defect shows up as a contrast difference a rule-based system can threshold against. Glass refuses to cooperate. It transmits light, refracts it at every curved edge, and reflects it differently depending on wall thickness, coating, and the angle of the light source relative to the camera. A genuine bubble trapped during melting can look optically similar to a completely normal light refraction pattern at a curved container shoulder, which forces a rule-based system into an impossible choice: calibrate tight enough to catch every real bubble and reject a large share of perfectly good product, or calibrate loose enough to keep yield reasonable and let real defects straight through to the case packer.

This is not a minor calibration inconvenience, it is the core reason glass and ceramic lines have historically had the highest false reject rates and the highest missed-defect rates of any material category in manufacturing. Deep learning changes the equation because the model learns the actual optical signature of a genuine inclusion, crack, or coating void versus the normal variation inherent to transparent and glazed surfaces, rather than relying on a fixed brightness or edge-contrast threshold that has to somehow work for every lighting condition a line will ever produce.

Bubbles & Gaseous Inclusions
Trapped during melting and often invisible under standard front lighting. Backlit and transmitted-light imaging make internal gas pockets visible at full line speed.
Stones & Crystalline Inclusions
Refractory contamination embedded in the glass matrix creates stress points that cause spontaneous breakage downstream during filling or distribution if missed.
Cord & Striae
Incomplete batch homogenization shows up as faint streaking that a rule-based threshold typically dismisses as normal optical noise in transparent material.
Cracks & Checks
Thermal stress during forming and annealing produces fine surface and subsurface cracking that propagates later under normal handling pressure.
Coating Voids & Pinholes
Uneven film or coating application leaves exposed micro-spots that compromise both appearance and the functional barrier the coating was applied to provide.
Chips & Edge Damage
Impact during handling and conveyance leaves edge chips on finish rims and base edges that compromise sealing performance and container integrity.

What Actually Happens Inside the Inspection Cell

A production line does not have time for a slow decision. iFactory's inspection sequence is built around the same four-stage flow on every glass line, from float bath output to container forming to tempering and laminating cells, so the process is predictable to operators even as the specific defect models change by product.

Capture Multi-angle camera array Illuminate Backlight & transmitted light Classify Deep learning defect model Decide Pass, fail, or route

The classification stage is where iFactory earns its keep. Instead of a static brightness threshold, the deep learning model has seen thousands of confirmed defect images specific to your product geometry, wall thickness, and coating type, so it distinguishes a genuine 0.3mm stone from an ordinary refractive edge pattern with a confidence score, not a guess. Every inspection result, pass, fail, and defect category, is logged with a high-resolution image for traceability, so a quality engineer reviewing a customer claim six months later can pull the exact frame that shipped.

See It On Your Own Line

Run a Pilot on Your Specific Glass Product

Bring sample containers, flat glass, or coated parts with known defect history. We will show detection performance on your actual product, not a demo reel.

Rule-Based Vision vs AI Vision on Glass, Side by Side

Quality teams that have already run a rule-based system on a glass line know the pattern well: acceptable accuracy on the easy, obvious defects, and a frustrating ceiling on everything subtle. The table below lays out where the two approaches actually diverge in practice, not in marketing language.

CapabilityRule-Based VisioniFactory AI Vision
New product geometry setupManual reprogramming per SKURetrained from new sample images, no reprogramming
Subsurface bubble detectionHigh false reject or high miss rateTrained specifically on transmitted-light optical signatures
Lighting variation toleranceRequires tight, fixed lighting conditionsLearns tolerance across normal lighting drift
Defect traceabilityPass or fail flag only, limited loggingFull image log with defect category and location
Deployment locationTypically requires new hardwareRetrofits onto existing line cameras and PLCs

Where This Runs on the Line

Glass manufacturing is not one process, it is several very different production environments that happen to share a raw material, and the deployment point changes accordingly. iFactory configures detection models per station rather than forcing one generic camera setup across every line in a plant.

Float Line
Inspection positioned directly off the tin bath, catching cord, bubbles, and thickness irregularity before the glass is cut and shipped as flat stock.
Container Forming
Full 360-degree coverage on bottles and jars at the hot end and cold end, catching stones, checks, and finish rim chips before palletizing.
Tempering & Laminating
Automotive and architectural safety glass inspected post-temper for stress fractures that would otherwise surface only after installation.
Coating Verification
Specialty display and architectural coatings checked for voids and uniformity before the glass moves downstream to assembly.

The Cost of a Missed Defect Does Not Stay Small

A missed inclusion in premium architectural float glass does not just cost the price of that one panel. It costs the installation labor when it is discovered on site, the warranty claim, and often the relationship with a distributor who now has to explain the failure to their own customer. A missed stone in beverage container glass carries an even sharper downside, since a stress-concentrated container can fail spontaneously during high-speed filling, creating both a safety incident and a line stoppage. An undetected coating defect on a tempered automotive windshield can escalate all the way to a program-level recall.

These are not rare edge cases, they are the predictable consequence of running a detection system that was never built for the optical complexity of transparent and reflective material. The financial logic for AI vision on glass is rarely about the inspection station cost in isolation, it is about what a single field failure on a regulated safety glazing program or a recalled beverage line actually costs once legal, logistics, and reputation are added to the bill.

94-98%
Defect classification accuracy across trained categories
60%
Typical reduction in false rejection vs rule-based systems
On-Prem
Edge GPU deployment with no cloud dependency
Full Log
Every inspection traced with image and defect category

Frequently Asked Questions

Can this detect defects inside the glass, not just on the surface?
Yes, and this is precisely where most legacy vision systems fall short on glass products. iFactory uses backlighting and transmitted-light imaging configurations specifically designed to make internal defects, including bubbles, gaseous inclusions, and crystalline stones, visible at full production line speed rather than only catching what shows up under standard front lighting. Talk to our team about the lighting configuration for your specific container or panel geometry.
Does the system need to be retrained every time we change bottle or panel shape?
A geometry change does require new training images, but it does not require the manual reprogramming that rule-based vision systems demand for every new SKU. Quality and production teams can train and adapt the AI model to new products, tolerances, and inspection standards without writing code, which typically takes days rather than the weeks a rule-based reconfiguration usually requires. Book a demo to see the retraining workflow on a sample product change.
Will this integrate with the vision hardware and PLCs we already have on the line?
In most cases, yes. iFactory's AI vision platform is built to retrofit onto existing line cameras and controllers rather than requiring a full hardware replacement, which is one of the reasons deployment timelines on glass lines tend to be measured in weeks rather than the quarters a full vision system replacement usually takes. Reach out to our team with your current camera and PLC specs for a compatibility check.
How small a defect can the system actually catch reliably?
AI vision detects stones as small as 0.3mm by analyzing localized refractive index variations that are invisible to conventional threshold-based cameras, though the exact reliable detection floor depends on your specific glass thickness, coating, and lighting setup. Book a demo and bring known-defect samples so we can show detection performance at the actual defect sizes your quality team cares about.
Does data from our production line ever leave the facility?
No. iFactory supports on-the-edge, on-prem, and air-gapped deployment specifically because glass and ceramics manufacturers frequently supply regulated automotive, pharmaceutical, or defense programs where production data cannot leave the facility boundary. Contact our team to review the deployment architecture that fits your data governance requirements.
Stop Shipping What You Cannot See

Run AI Vision on Your Own Glass Product

Bring sample containers, panels, or coated parts with known defect history and we will show you exactly what the model catches, and what it lets through, on your specific line.

<50ms
Inference time
0.3mm
Detection floor
6
Defect categories
Edge
GPU deployment

Share This Story, Choose Your Platform!