Harnessing Industry 4.0 for quality inspections and assembly