Industrial photonics: from the optical bench to the production line