System for defectoscopy of painted metal parts