Abstract: An inspection system for a variety of products, and in particular flat-folded corrugated boxes uses real-time statistical processing control. This control allows graphs to be derived from which to develop trends indicative of future flaws in the products. These flaws are automatically corrected once a trend has been established. Glue marks on flat-folded corrugated boxes are identified and measured by means of pixel count, thereby providing very accurate depiction of the amount of glue on a box so that accurate comparison to a standard configuration can be made.