addaScan home
Assessment
Application guide · Surfaces and visible weld defects

Finding small defects in battery insulation-film images

By Frank GuoPublished Updated 4 min read

// The inspection task

Battery insulation-film inspection can lose a small defect before the classifier sees it. Whole-image reduction, an inaccurate valid-area mask or a split at a tile boundary can remove the evidence. Evaluate the complete processing path from original sampling to the defect's recorded material position, not only a model's result on selected crops.

Application guide by addaScanCompare the inspection task, imaging conditions and validation steps with your own production line.

Inspection task
Battery insulation-film defects
Decision focus
battery insulation-film defects
Station planning
Keep sampling, tiling and coordinates connected
Illustrative scenario
one pinhole crosses two processing tiles
Application images

Small film defects within a much larger inspection image

The application images show the physical product and imaging conditions. The engineering diagram below explains the inspection logic and recovery decisions.

Small film defects. Local defect enlargements above the long film image illustrate the difference in scale.
Small film defects

Local defect enlargements above the long film image illustrate the difference in scale.

Select an image to view it at full size.

Preserve tiny film defects through the image pipeline

Swipe across the table to compare all columns →

Compare the options against the product and station requirements
ConditionApproach to evaluateSelection check
Large unused bordersCrop the background first.Keep film wander inside the retained region.
Sparse tiny defectsEvaluate native-resolution tiles.Test tile edges and reconstruction of defect positions.
Lower-resolution processingMeasure what downsampling removes.Reject the optimisation if required defects disappear.

Keep sampling, tiling and coordinates connected

Choose the image scale from the smallest defect that must remain distinguishable under real contrast and motion. Crop to the valid film area without excluding edge defects required by the specification. If processing uses tiles, overlap them enough to preserve the necessary defect context and test defects that straddle their boundaries.

Merge overlapping detections in original-image coordinates before converting them to material coordinates. Otherwise one defect may be counted twice or its position may jump between tiles. A line-scan arrangement can suit continuous web coverage; an area camera may suit discrete pieces or indexed motion. The choice depends on exposure, motion synchronisation and field coverage, not simply on a higher advertised pixel count.

Schematic original-resolution film image split into overlapping tiles A and B, with one circled defect located in their shared boundary region.
Overlapping tiles retain the context of a boundary defect. Merge duplicate detections before assigning one material location; whole-frame reduction can remove the evidence.

On a small screen, scroll across the diagram to inspect the labels.

Worked example: one pinhole crosses two processing tiles

In an illustrative image, a small pinhole lies at the edge of a processing tile. Without overlap, each crop contains only part of it and neither produces a reliable decision. An overlapping extraction preserves the complete feature in at least one crop. Merge any duplicate detections before assigning the event a single material location.

Compare this with reducing the whole frame: the pinhole can disappear into background pixels even though the full original image contained usable evidence. Keep original-resolution challenge crops to expose that loss. If an image line or frame is missing, mark the corresponding material interval as uninspected. The downstream handling rule should contain that interval, including position uncertainty, rather than assume an absence of detections means good film. Verify that the indicated defect position maps to the correct physical segment before releasing a roll record.

Swipe across the table to compare all columns →

Evidence, decision and recovery for preserve a defect across processing boundaries
Observed evidenceInspection decisionAction and retained record
A small defect straddles two tiles and only a partial shape appears in each non-overlapping crop.Processing partition can remove required defect context.Test overlapping extraction on the original image, retain tile coordinates and verify merged detections before calculating material position.
Two overlapping tiles detect the same physical flaw.One defect event with multiple observations.Merge in original-image coordinates, preserve supporting crops and map the single defect extent to the downstream material record.
The original image contains the flaw but a reduced processing input does not.Input sampling invalidates the intended detection coverage.Retain original and reduced images, revise the processing scale and repeat boundary and smallest-defect trials across the full pipeline.

Validate the pipeline at its weakest boundaries

Place known defects near the film edge, crop edge and tile overlap, and repeat at different web positions. Preserve original images, tile coordinates, merged results and encoder positions. Check normal texture and contamination separately to understand false alarms.

After a resolution, lens or image-processing change, repeat the full path. A model can retain the same settings while its input sampling changes enough to invalidate the previous defect coverage.

Swipe across the table to compare all columns →

Challenge samples and the evidence required before acceptance
ChallengeWhat to verify
Smallest required defectsVerify visibility before and after preprocessing.
Dust and benign highlightsMeasure false rejects independently.
Defect across tile boundaryConfirm complete detection and a single record.
Long continuous productionMonitor memory, dropped lines and result latency.

Insulation-film variations to include in a trial

Provide film width, motion, smallest defects, normal dust policy, image dimensions and the available decision distance.

Use the machine vision lighting guide to develop the next step.

Define the wider inspection responsibility in surface defect detection.

Define the wider inspection responsibility in web line scan.

Use the optical and recovery challenges above when applying the architecture choices in vision-system comparison guide.

Scope and budget

Use the vision system cost guide for general camera, lighting and data-handling factors; film width, small-defect detail and tracking need a specific scope.

Testing and handover

Include lost web position, changing texture and material handling after a defect in the testing and handover process.

// Based in Johannesburg · Serving South Africa

Assess defects on battery insulation film

Provide film width, motion, smallest defects, normal dust policy, image dimensions and the available decision distance.