# The Vision-Based Data Reader in IoT System for Smart Factory
## 1 Introduction  
In the manufacturing industry, the smart factory is considered to be the solution to the new industrial revolution. Many manufacturing companies are pursuing various advanced and expensive technologies to ensure their competitiveness with others. Machine condition monitoring is a way of making great products and measuring line productivity or factory productivity. Some recent applications of process control monitoring can be achieved with appropriate strategies of data collection and cloud storage. [PERSON] and [PERSON] presented a performance monitoring system in a manufacturing process loop of various industrial plants based on cloud computing in different application areas to match Industry 4.0 paradigms [1]. Their methodology had been tested on real large plant data to show how the system improved the operation plan in the factory. Over the past ten years, wireless sensor networks have rapidly grown in various applications. Based on the innovations in radio frequency identification, and wireless and cellular networks, the Internet of Things (IoT) was first proposed by [PERSON] [2]. IoT has become the term for smart things that can configure and communicate with each other through a global network for many applications. In the IoT world, a lot of smart objects areconnected to the internet for their specific application [3]. All these objects have their own identities such that they could be organized, managed, and controlled remotely. Due to the growth in a diverse range of intelligent applications, IoT systems have enriched our daily lives [4], involving aspects of healthcare [5], intelligent cities [6; 7], agriculture [8], crowdsensing [9], and crowdsourcing [10], etc. IoT based on robust and suitable total solutions can also help manufacturers solve the problem from a conventional factory to a new smart factory to boost their productivity [11]. A real time optimization algorithm for a large framework based on IoT sensors and an ad-hoc connections system via TCP had been performed by [PERSON], et al. [12]. Furthermore, their work was also implemented on the network components of an Italian chemical industrial factory to manage the production rates of products from different requirements. They also provided the batch and continuous production processes based on the linear optimization and batch operation scheduling [13]. Towards Industry 4.0, [PERSON], et al. had implemented the monitoring strategies for multiple supply chains on an open source platform. Under the system architecture, the production plant can be integrated with other plants sharing their data and processes, especially with their customers, through a well-defined interface [14]. Due to financial and technical issues, it is difficult for small and medium enterprises to adopt the existing smart manufacturing technologies to face the new challenge of the era, since there are usually several different machines at different times that exist in a factory. It may result in some difficulty for predictive maintenance and condition monitoring by IoT systems. To the best of the author's knowledge, each control panel of the machine in small and medium-sized plastic injection factories is stand alone with network connection such that we cannot apply the existing communication interface to them directly. In fact, all plastic injection machines in the factory of the study case did not have any communication interface. If someone disassembles the machine and installs the communication interface themselves, it will violate the warranty of the machine. This would not be acceptable to the factory. That is a huge problem to develop IoT technologies on them. Therefore, the conventional monitoring and adjusting process is still done by an experienced operator of the production line for most small and medium-sized factories. A computer vision-based data reader with edge computing would help the factory to be a smarter one. Computer vision provides object detection and recognition technology for many interesting applications of the IoT.