Real-Time Stringing Detection for Additive Manufacturing