Near-infrared (NIR) spectroscopy is suitable for detectig many polymer types, and is a rapid, non-destructive analysis method that can be applied to automatic in-line systems.