The industry 4.0 revolution defines the framework for manufacturing industries to use network aware systems including sensors, automation systems and vision-based systems for automation of different industrial processes. More manufacturers are adopting industry 4.0 driven by advancement in technologies, competitive pressure, and complexities in the manufacturing process, which has given birth to the rise of “Smart Factories.” Smart Factories accelerate the usage of smart devices and computing at the edge with AI and robotics to build autonomous manufacturing systems. These systems generate critical information about the state of the devices and products that they produce. Insights from this data can be used in real time to increase the efficiency of industrial operations and provide built-in self-resilience. While factories have generally embraced automation, “Smart Factories” focuses on data driven decision making and collaboration between discrete manufacturing processes.