Machine Learning and image analysis towards improved energy management in Industry 4.0: a practical case study on quality control | Synapse