Bringing AI to Visual Inspection