Cognex is a Massachusetts-based company that develops machine vision products, including software, sensors, and industrial bar code readers, which help automate production and leverage artificial intelligence.