Real-time Defect Prediction for Injection Molding Process