Improvement of visual inspections in industrial environments through deep learning and synthetic data generation with generative AI