Integrating cognitive technology with optical design