Standardizing Automated Defect Scoring Rules for Greige Weaving Inspection
Automated greige defect scoring standardizes camera bounding boxes to map fault length directly to four-point penalties while filtering yarn noise.

Signal
Continuous automated web inspection relies on high-resolution camera arrays mounted directly above the unrolling fabric web. Machine-vision systems operating on off-loom greige frames process loom-state cloth before sizing removal, scouring, or bleaching. Greige fabric presents an optically chaotic surface characterized by protruding fiber ends, residual size dust, spinning slubs, and loose trash particles.
Capturing structural defects like broken warp ends, missing picks, or reed marks requires isolating true yarn discontinuities from baseline surface noise.

Optical Hardware and Line-Scan Resolution
Machine vision cameras deployed on unwinding frames capture fabric surfaces down to individual thread boundaries. Line-scan CMOS sensors mounted in rigid overhead enclosures inspect the full width of the moving web continuously. Sensor resolution determines the smallest detectable defect width.
A line-scan sensor possessing 4096 spatial pixels spanning a 190-centimetre reed width yields a physical resolution of approximately 0.046 millimetres per pixel. High line speed reduces pixel exposure time. At an inspection frame speed of 120 metres per minute, lighting intensity must remain sufficiently high to provide contrast without introducing motion blur across the yarn grid.
Camera arrays operating at 1600 pixels per line maintain a spatial resolution of 0.12 millimetres per pixel across a 190-centimetre greige width at inspection frame speeds up to 120 metres per minute.

Illumination Geometry for Off-Loom Greige Inspection
Light source positioning dictates whether surface anomalies cast sharp shadows or blend into the yarn background. Coaxial top lighting highlights surface topography, making loose fiber ends and slubs appear exaggerated. Transmitted LED backlighting shines light directly through the cloth from below the inspection glass.
Transmitted light isolates structural density shifts. High thread count regions block light, while missing ends or broken picks permit high light transmission directly onto the sensor line.
High-angle front lighting positioned at 45 degrees to the fabric plane exposes surface contamination and oil spots. Low-angle grazing illumination angled at 10 to 15 degrees casts long shadows across thin picks and reed splits. Combining transmitted backlighting with dual-angle front lighting enables multi-channel optical capture.
Dirt blocks the illumination beam. Machine vision software merges dark-field and bright-field images in real time, isolating structural thread dislocations from surface fiber fuzz.
Illumination backlighting isolates dense picks and broken ends in open plain weaves, while high-angle front lighting surfaces slubs and size balls in heavy twills.
A machine builder will claim that surface dust on an unwashed roll invalidates optical detection, passing blame for false continuous warp defects back to ambient shed humidity.

Scale
Standardized physical defect categories require deterministic numerical boundaries when processed by machine vision software. Manual fabric inspection historically relied on human operators visually scoring flaws against subjective references. Standardizing automated rules demands converting physical warp and weft distortions into discrete spatial coordinates bounded by mathematical geometry.

Translating Four-Point Visual Metrics into Automated Demerit Metrics
Conventional manual fabric grading relies on human inspectors estimating fault length along the warp or weft directions. The standard ASTM D5430 four-point system assigns penalty scores based strictly on defect length. Flaws measuring up to 75 millimetres incur 1 point.
Flaws between 75 millimetres and 150 millimetres incur 2 points. Flaws between 150 millimetres and 230 millimetres incur 3 points. Flaws exceeding 230 millimetres incur 4 points.
Automated vision systems translate these linear bands into two-dimensional bounding rectangles calculated directly from pixel clusters.
Automated systems count every millimeter. When a machine vision system detects a cluster of anomalous pixels, software draws a minimum bounding box enclosing the outer boundaries of the anomaly. The maximum dimension of the bounding box dictates the linear point penalty.
Bounding box height determines penalty points.

Bounding Box Calibration across Variable Float Lengths
Algorithms enclose detected yarn distortions inside tight rectangular coordinates to calculate spatial coverage. Woven fabric structures alter baseline bounding box dimensions. Plain weaves feature short float lengths of one warp over one weft, creating a uniform, tight mesh pattern.
Twill weaves exhibit diagonal floats over two or three yarns, while satin weaves present long unfixed floats. Machine vision software must adjust baseline pixel variance tolerances to account for weave structure.
Float lengths alter background contrast. A 3/1 twill weave displaying a 3-end warp float creates optical shadow boundaries that mimic minor yarn mispicks under front lighting. Calibrating the bounding box threshold requires increasing the minimum pixel area threshold for long-float constructions to avoid flagging normal floating yarns as structural mispicks.
| Defect Length Range | ASTM D5430 Penalty | Automated Box Dimension | Primary Fault Category Examples |
|---|---|---|---|
| Up to 75 mm | 1 Point | Length or Width ≤ 75 mm | Isolated slubs, small knots, short mispicks, drop wires |
| 75 mm to 150 mm | 2 Points | 75 mm < Length ≤ 150 mm | Coarse filling bars, localized warp floats, coarse yarn slubs |
| 150 mm to 230 mm | 3 Points | 150 mm < Length ≤ 230 mm | Short reed marks, localized oil streaks, thick filling bars |
| Over 230 mm | 4 Points | Length or Width > 230 mm | Warp end-outs, continuous reed lines, extended double picks |
Categorizing structural defects requires matching bounding box aspect ratios to warp and weft orientation. Warp defects present vertical spatial bounding profiles, while weft defects run horizontally across the web width.
- Warp End-Out manifests as a continuous vertical line of high light transmission caused by a missing warp yarn across extended fabric length.
- Broken Pick forms a horizontal void spanning part or all of the reed width where a weft insertion failed during the loom cycle.
- Reed Mark produces fine vertical lines of uneven end spacing resulting from damaged or misaligned reed wires in the loom beat-up zone.
- Double Pick creates a horizontal band of double yarn density where two weft yarns occupy a single shed opening.
- Gout appears as an irregular, dense cluster of foreign fiber or waste woven directly into the fabric ground.
When evaluating complex float structures, bounding boxes oriented along the warp direction prevent over-penalizing benign float variations while maintaining strict scoring for structural end-outs.

Algorithm
Mathematical accumulation formulas convert raw bounding box coordinates into legally defensible fabric quality scores. Automated scoring algorithms process streams of pixel data to output real-time demerit point density per roll. Calculating penalty points over a running fabric roll requires evaluating defect severity, spatial density, and defect continuity.

Continuous Defect Accumulation along the Warp Axis
Extended linear faults such as coarse warp ends or tension variation present unique mathematical challenges during automated roll scoring. A continuous warp streak running for 50 metres along a roll cannot be scored merely as a single 4-point defect without distorting quality metrics. Automated inspection systems apply linear repetition rules for continuous defects.
Continuous faults incur a 4-point penalty for every linear metre of affected fabric. A continuous warp line extending 10 metres accumulates 40 penalty points across that section.
Warp tension shifts change defect width. When a warp streak varies in severity, the bounding box width expands and contracts along the length of the roll. The system evaluates local optical contrast against baseline thresholds every 10 millimetres, logging defect start and end coordinates into a digital roll map.
Under ASTM D5430 rules adapted for machine vision, any single continuous warp fault exceeding 230 millimetres in length incurs the maximum four-point penalty per linear metre.

Spatial Clustering Parameters for Compound Faults
Multiple distinct yarn flaws occurring within a localized cloth area inflate structural damage risks. The automated scoring algorithm applies spatial proximity rules to identify defect clusters. When two independent bounding boxes sit within 20 millimetres of each other, the algorithm evaluates whether to merge the defects into a single compound bounding box or score them individually.
Individual scoring applies if the flaws stem from distinct yarn systems. If a broken end sits adjacent to a heavy pick bar, the algorithm calculates separate warp and weft penalty points.
Maximum penalty rules limit total points assigned to any single linear metre of fabric. Under standardized machine scoring rules, no single linear metre of cloth can accrue more than 4 penalty points regardless of the number or size of individual defects contained within that metre. This capping rule prevents localized clusters from mathematically distorting the overall roll score while maintaining clear physical location markers on the inspection log.
| Fabric Sample Condition | Observed Physical Faults | Manual 4-Point Score | Automated Spatial Score | Variance Cause |
|---|---|---|---|---|
| 100 m Roll (165 cm width) | 3 isolated slubs (<50 mm) | 3 points | 3 points | Identical detection threshold |
| 100 m Roll (165 cm width) | 1 continuous warp end-out (5 m) | 4 points (single fault) | 20 points (4 pts/metre) | Automated metre-based accumulation |
| 100 m Roll (165 cm width) | 5 defects within 1 linear metre | 5 points (uncapped manual) | 4 points (capped per metre) | Automated linear metre capping rule |
| 100 m Roll (165 cm width) | Fine reed lines across 12 m | 4 points (visual miss) | 48 points (continuous mapping) | Optical detection of subtle lines |
Calculating the landed quality grade of a greige roll requires walking through a step-by-step mathematical evaluation sequence. Consider a worked example of a 500-metre greige roll of cotton plain weave measuring 1.65 metres in width (total area of 825 square metres). The automated camera system logs raw defect coordinates across the entire batch run during off-loom inspection.
- The system captures raw pixel coordinates for all anomalous zones exceeding the baseline light transmission threshold.
- Bounding boxes are constructed around each discrete anomaly, calculating maximum linear length and width dimensions.
- Discrete flaws are assigned point values based on linear dimensions: 1 point for faults under 75 mm, 2 points for 75 to 150 mm, 3 points for 150 to 230 mm, and 4 points for faults over 230 mm.
- Continuous warp faults are segment-mapped, assigning 4 penalty points per linear metre of continuous propagation.
- Point totals are summed per individual linear metre, applying the maximum limit of 4 points per single linear metre.
- Total accumulated penalty points for the roll are calculated by summing the capped linear metre scores.
- The standardized demerit score per 100 square metres is calculated using the formula: Total Points multiplied by 100, divided by (Roll Length in metres multiplied by Fabric Width in metres).
In this worked calculation, the automated system identifies 12 isolated slubs (1 point each = 12 points), 4 short pick bars measuring 100 mm (2 points each = 8 points), and one continuous warp streak extending for 3.5 metres. The continuous streak spans 4 separate linear metres, accruing 4 points per metre for a total of 16 points. The un-capped sum equals 36 points.
Checking linear metre density reveals that two slubs fell within the same linear metre as one pick bar, totaling 4 points for that metre under the capping rule. The final accumulated roll penalty score lands at 34 points. Applying the square-metre formula yields: (34 x 100) / (500 x 1.65) = 3400 / 825 = 4.12 points per 100 square metres.
Whether machine-vision inspection systems should automatically trigger automated cut-outs for sub-threshold continuous warp streaks that span multiple loom beams remains a point of operational contention between weaving sheds and finishing mills.

Calibration
Filtering natural yarn variations from structural cloth faults requires precise signal sensitivity settings. Greige yarns spun from natural fibers like flax or carded cotton naturally possess thickness irregularities, neps, and protruding fibers. Setting camera gain and detection thresholds too tight results in thousands of false positives caused by benign fiber hairiness.
Setting thresholds too loose allows real structural faults like fine warp end-outs to pass undetected.

When Does Greige Lint Trigger False Scoring Penalties?
Loose fiber accumulation on the inspection frame creates transient optical interruptions that mimic structural yarn defects. Sizing dust shedding from the warp beam settles on the camera lens or illumination glass. Dust particles block backlighting, generating dark pixel clusters that algorithms interpret as woven oil spots or yarn slubs.
Uncut slubs increase false positive counts. Air-jet dust extraction nozzles positioned immediately ahead of the line-scan camera sweep loose lint off the fabric web. Software algorithms apply temporal stability checks to filter transient surface lint.
If a detected pixel anomaly moves across weft coordinates between consecutive line scans at a speed exceeding the web transport velocity, the system identifies the object as airborne lint and discards the image data without assigning penalty points.

Threshold Matrix Setup for Variable Warp Density
Changing yarn count or warp end count alters the baseline optical frequency of the woven ground structure. A high-density plain weave constructed with 40 ends per centimetre of Ne 60 combed cotton creates a tight, uniform optical background. A coarse duck fabric woven with 12 ends per centimetre of Ne 10 open-end yarn exhibits large inter-yarn gaps and high surface roughness.
Low contrast masks fine warp streaks. Establishing standardized scoring rules requires calibrating dynamic threshold matrices mapped directly to warp sett and yarn count parameters. The vision system loads structural reference files corresponding to the specific cloth construction sheet on the loom shed booking schedule.
System qualification requires systematic physical calibration before committing commercial warp volume to automated inspection frames.
- Optical Focus Verification uses a standardized glass calibration target printed with chrome grid lines to verify sub-millimetre resolution across the full camera field.
- Light Field Uniformity Balancing adjusts individual LED channel output to ensure background illumination intensity varies by less than two percent across the entire web width.
- Ground Contrast Baseline Setup scans five metres of known fault-free greige cloth to compute baseline brightness distributions for the specific weave construction.
- Defect Sensitivity Calibration runs physical calibration swatches containing engineered yarn flaws through the frame to verify bounding box spatial accuracy.
- False-Positive Suppression Tuning optimizes digital signal filtering parameters until un-defected greige cloth generates zero false penalty points over a hundred metres run.
Failing to adjust camera gain for high-density warp setts causes systemic over-scoring of benign fiber fuzz, inflating penalty point totals and triggering unwarranted mill debit notes.

Settlement
Translating digital roll maps into financial adjustments requires contractually binding scoring thresholds. Automated inspection equipment produces exact digital logs recording every defect coordinate, bounding box image, and local penalty calculation. Converting this raw inspection stream into commercial trade execution requires clear contractual agreements defining acceptable point thresholds, allowance limits, and debit note formulas.

Commercial Debit Note Calculations from Machine Inspection Logs
Financial adjustments applied to sub-standard greige shipments derive directly from automated demerit totals per hundred square metres. Standard commercial contracts set maximum allowable penalty points per hundred square metres based on intended end-use applications. Premium apparel greige typically enforces an allowance threshold of 15 points per 100 square metres.
Industrial coating fabrics may tolerate up to 28 points per 100 square metres.
Defect coordinates map directly to invoices. When a delivered roll exceeds contractual point allowances, the automated inspection software calculates financial deductions based on penalty point escalation bands. Points accruing above the target limit trigger per-metre price reductions or mandatory cut-outs funded by the weaving mill.
| Quality Grade Classification | Demerit Point Range (per 100 sq m) | Commercial Delivery Status | Financial Settlement Action |
|---|---|---|---|
| First Quality (Grade A) | 0.0 to 15.0 Points | Unconditional Acceptance | Full invoice payment per contract rate |
| Second Quality (Grade B) | 15.1 to 25.0 Points | Conditional Acceptance | 2.5% price deduction per square metre |
| Sub-Standard (Grade C) | 25.1 to 35.0 Points | Buyer Option Acceptance | 8.0% price deduction plus cut-out credit |
| Rejected Batch | Over 35.0 Points | Mandatory Rejection | Full return of roll at weaver expense |
High point counts trigger batch rejection. Machine inspection logs prevent visual disputes. Master purchasing contracts stipulate specific operational rules governing automated cut-outs.
If a single linear metre contains a 4-point structural flaw like an end-out, finishing mills cannot use that section for continuous pattern cutting. The automated system marks physical cut-out lines on the fabric selvedge using high-speed inkjet markers driven directly by the camera controller software.

Standardizing Contractual Acceptance Thresholds for Machine-Scored Greige
Purchasing agreements specify maximum allowable point totals per roll to govern fabric acceptance. Modern cross-border greige contracts replace manual inspection sampling clauses with mandatory automated machine log transmission. The weaving mill transmits digital roll maps electronically prior to shipping physical rolls.
Wet finishing removes loose sizing dust. The buyer’s quality control engine audits machine logs against contractual acceptance matrices automatically.
Visual inspection tables miss over forty percent of fine warp streaks at line speeds above thirty metres per minute.
A master purchasing specification incorporating automated camera inspection logs as the primary settlement record replaces subjective re-inspection procedures with deterministic roll-map data, binding both parties to machine-stamped point counts per hundred square metres.




