How deep learning automates inspections for packaging solutions