Patent Publication Number: US-2023152781-A1

Title: Manufacturing intelligence service system connected to mes in smart factory

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
     This application claims priority to Korean Patent Application No. 10-2021-0157125, filed on Nov. 15, 2021, the disclosures of which is herein incorporated by reference in its entirety. 
     This invention was supported by a grant of the National IT Industry Promotion Agency (NIPA, No. A1308-22-1008). 
     BACKGROUND OF THE INVENTION 
     Field of the Invention 
     The present invention relates to a smart factory manufacturing intelligence service system, and more particularly, to a manufacturing intelligence service system connected to a Manufacturing Execution System (MES) in smart factory, which provides product ID, product information and defect information of products of each manufacturing company accumulated and stored in a cloud server, from an agent server to a user terminal, through the cloud server connected to at least one Manufacturing Execution System (MES) having a machine vision inspection system for detecting defects of products in a product surface defect inspection in the factory automation (FA) process of an industrial company. 
     Background of the Invention 
     Recently, A machine vision (MV) inspection system is technologies of combining robots, machines with software technologies of vision systems, and it is used in product surface defect inspection, PCB defect inspection, or LED chip package inspection to detect defects of products in various fields such as wafer, display, and PCB inspection, LED chip semiconductor package inspection, and the like in the factory automation (FA) process of an industrial company. The machine vision inspection system is used to detect defects of products by inspecting defects on the surface of mass-produced products. 
     The machine vision inspection system includes an optical light (LED or halogen light), a high-resolution camera, camera interface equipment [Frame Grabber, Gigabit Ethernet (GigE), IEEE 1394, camera link, USB 3.0], a vision image processing board being in charge of I/O and motion control of an industrial PC, and vision image processing software. 
     A PC-based machine vision inspection system is a vision inspection system including an optical light (LED or halogen light), a camera, a camera interface [Frame Grabber, Gigabit Ethernet (GigE), IEEE 1394, camera link, or USB 3.0], and a vision image processing board mounted on a computer, and detects foreign materials, scratches, and pattern errors on the surface of a product by image processing of vision inspection image processing software for inspection on a product surface image. 
     The vision inspection image processing software provides the functions of frame grabbing, image processing, feature extraction, defect detection, and control, and the vision inspection system of a computer connected to a camera detects defects of a product by inspecting defects on the surface of the product in real time, comparing feature values of a normal image and an inspection image by using software having an image processing and defect detection algorithm, and measuring foreign substances, scratches, pattern errors, dented defects, and defect locations. 
     The camera interface that connects the camera and the PC uses Frame Grabber, Gigabit Ethernet (GigE), IEEE 1394a, IEEE 1394b, camera link, or USB 3.0. Table 1 shows the machine vision camera interface. 
     The vision inspection system performs image processing by using an existing frame grabber, or using a camera interface such as Gigabit Ethernet (GigE), CoaXPres, or the like to perform high-resolution precise measurement of μm level and to process large-capacity data at a high speed. 
     
       
         
           
               
               
               
               
               
             
               
                 TABLE 1 
               
               
                   
               
               
                   
                 Gigabit 
                   
                   
                   
               
               
                   
                 Ethernet 
               
               
                 Category 
                 (GigE) 
                 IEEE 1394a 
                 IEEE 1394b 
                 Camera link 
               
               
                   
               
             
            
               
                   
               
            
           
           
               
               
               
               
               
               
            
               
                 Cable length 
                 100 
                 m 
                 4.5 m (up to 72 m 
                 4.5 m (up to 72 m 
                 Maximum 15 m 
               
               
                   
                   
                   
                 in case of using 
                 in case of using 
               
               
                   
                   
                   
                 a repeater) 
                 a repeater) 
               
            
           
           
               
               
               
               
               
               
               
               
            
               
                 Bandwidth 
                 100 
                 Mb/s 
                 32 
                 Mbytes/s 
                 64 
                 Mbytes/s 
                 255 Mbytes/s(base 
               
               
                   
                   
                   
                   
                   
                   
                   
                 configuration) 
               
               
                   
                   
                   
                   
                   
                   
                   
                 680 Mbytes/s(full 
               
               
                   
                   
                   
                   
                   
                   
                   
                 configuration) 
               
               
                 Bit rate 
                 1000 
                 Mb/s 
                 400 
                 Mb/s 
                 800 
                 Mb/s 
                 &gt;2000 Mb/s 
               
            
           
           
               
               
               
               
               
            
               
                 Standard 
                 GigE Vision 
                 IEEE 1394 Trade 
                 IEEE 1394 Trade 
                 AIA camera link 
               
               
                   
                 Standard 
                 Association DCAM 
                 Association DCAM 
                 standard 
               
               
                   
                   
                 Standard 
                 Standard 
               
               
                 Interface 
                 Gigabit 
                 IEEE 1394a 
                   
                 Special frame 
               
               
                 board 
                 Ethernet 
                 board 
                   
                 grabber 
               
               
                   
                 board 
               
               
                 Maximum 
                 Unlimited 
                 16 cameras 
                 16 cameras 
                 2 cameras per 
               
               
                 number of 
                   
                 (DCAM) 
                 (DCAM) 
                 frame grabber 
               
               
                 cameras 
               
               
                 Cable 
                 Industrial 
                 Industrial and 
                 Industrial and 
                 Industrial 
               
               
                   
                 and consumer 
                 consumer 
                 consumer 
               
               
                   
               
            
           
         
       
     
       FIG.  1    is a view showing the configuration of a vision inspection system having a sensor, an ID reader, a camera, and an optical light in a conveyor belt production line provided with an encoder. 
     As prior art 1 related thereto, “Multiple optical module vision inspection system” is registered in Korean Patent Registration No. 10-1772673. 
     The multiple optical module vision inspection system includes a mechanism unit; a camera unit provided with a computer having a keyboard, a mouse, and a monitor on the front side of the mechanism unit, and provided with at least one high-resolution multi-camera constituting a single camera, a line scan camera, or an area scan camera on a fixed support; an optical light unit installed under the camera unit; an inspection stage located under the camera unit and the optical light unit to place an inspection target on an XY-stage; a base placed under the inspection stage; an anti-vibration facility of a vibration reduction air cylinder structure placed under the base; a frame for supporting the left and right sides of vision inspection equipment; and a stage unit transfer module for controlling movement of XYZ position. 
     The camera unit includes at least one multi-camera constituting a single camera, a line scan camera, or an area scan camera on a fixed support, in which each camera is connected to a PC through a camera interface, each PC is connected to a main server computer via LAN and TCP/IP through a network hub, the main server computer is connected to an encoder/distributor via LAN and TCP/IP through a network hub, and the encoder/distributor is connected to the multi-cameras consisting of a line scan camera or an area scan camera. 
     In the camera unit, each camera uses a precision measurement camera with a high resolution of 10 to 100 μm (pixel size), which is improved as much as 100 times than that of a general CCD camera, for precise measurement of product surface defects. 
     1) ID reader (reads a DPM code or a 1D code or 2D code attached to a product): The ID reader reads the ID of an inspection target transferred to a conveyor belt of a production line in a factory automation process, or the ID of a product placed on an inspection stage which is an XY stage by a loader of an inspection target transfer robot, and transmits the detected product ID to the computer. 
     2) Optical light: In the vision inspection system, a white or red LED light or a halogen light having an optical fiber guide is used as the optical light, and LEDs are used in the embodiment of the present invention. 
     In the case of using LED light, white LEDs arranged in a row and a light controller, or a ring LED having a plurality of LEDs surrounding a camera lens and a light controller is used. 
     3) Camera 
     A vision camera, a line scan camera, or an area scan camera is provided with multiple cameras, and each camera uses a TDI camera capable of making a measurement as precise as a high resolution of 10 to 20 μm units, which is improved as much as 100 times than that of a general CCD camera, for precise measurement of product surface defects. In addition, when measurement of a camera does not require a precision as much as 10 to 20 μm units, a CCD camera having a resolution lower than that of a TDI camera or a CMOS image sensor (CIS) is used. 
     4) Encoder 
     An optical light and a line scan camera or an area scan camera equipped with a high-resolution multi-camera are located while being fixed to a support on a conveyor belt system operated by driving of a step motor driver and a step motor (servo motor) connected to a computer in the factory automation process of an industrial company. The encoder measures an exact amount of transfer of the servo motor when a conveyor belt operates in a production line of a factory. 
     The mechanism unit further includes an inspection target transfer robot for placing an inspection target on the inspection stage (XY stage) by a loader. 
     The mechanism unit may further include an ID reader for reading a DPM code, a barcode, or a QR code attached to a product as an ID of an inspection target transferred to the conveyor belt of a production line in a factory automation process, or an ID of a product placed on the inspection stage (XY stage) by the loader of an inspection target transfer robot, and transmitting the detected product ID to the computer. 
     The stage unit transfer module controls the line scan camera to move in the X-axis direction by a linear motor, move the position of the inspection stage in the Y-axis direction by a linear motor, and move the camera unit in the vertical direction (Z-axis direction) along Z1, Z2, and Z3 axes. 
     The linear motor is operated by a motor driving unit connected to a control computer, and uses PID control to control the speed of the motor and movement position. 
     The anti-vibration facility uses an anti-vibration system that uses an air cylinder structure on the bottom of a grid beam under the base to reduce shaking and vibration during precise measurement of a vision inspection system using a line scan or area scan camera for precise measurement of 10 to 100 μm pixel size, i.e., installs a granite plate and an isolator to block external vibration and prevent internal vibration. 
     The machine vision filters defects of a product by analyzing defects such as foreign substances, scratches, pattern errors, or the like on the display of a product surface, and locations of the defects by image processing [(1) image acquisition, (2) image binarization, (3) image processing, (4) image analysis, (5) image interpretation] of a vision inspection image processing algorithm of a computer connected through the mechanism unit and the camera interface (Frame Grabber, Gigabit Ethernet (GigE), IEEE 1394a, IEEE 1394b, camera link, or USB 3.0) connected to a line scan camera or an area scan camera. 
     For example, in the case of inspecting defects on the surface of a TFT-LCD panel, a TFT-LCD image acquired by an industrial PC from an image acquired using a line scan camera through the camera interface requires fast image processing time in the production process. As the TFT-LCD images captured by the camera have a repeating pattern, the machine vision inspection system may easily detect defective areas of a product such as scratches, surface defects, and the like by using the difference in the image from those of adjacent patterns. 
     As prior art 2 related thereto, Korean Patent Publication No. 10-2019-0063839 provides “Method and system for machine vision-based quality inspection using deep learning in manufacturing process”. 
       FIG.  2    is a view showing the operation flow of generating a conventional classifier based on deep learning. 
     The machine vision-based quality inspection method using deep learning in a manufacturing process includes the steps of generating a product image for learning; training a classifier that classifies good and bad products with the generated product image for learning; and determining whether a product is good or defective product by using the trained classifier. Accordingly, feature values of data of a determination target may be found by learning itself, and a machine vision-based inspection may be performed even on an inspection area that relies on manual inspection because it is difficult to formulate defects. 
     In order to determine whether a product is good or defective product by quality inspection, first, an inspection target product is photographed using a camera after aligning the position of the inspection camera, and a region of interest (ROI) is extracted from an image photographed by the camera and stored a ROI image in a memory. The target images in the region of interest are cropped into overlapped small images of a predetermined size, like image preprocessing of generating a learning model. 
     A quality inspection device performs inspection on each fragmented image by using a classifier. A deep neural network algorithm outputs a classification number and a probability value of a nearest image, among the learning data used when the classifier is generated by learning, as a classification result. It is confirmed through a deep learning-based classifier whether each fragmented image is good or defective image with reference to the classification table with the highest probability at a corresponding index, and a result of the determination is displayed. At this point, in the case of a defective product, the product is determined as defective, and the defective area is marked. 
     As prior art 3 related thereto, “Inspection apparatus and method for machine vision system” is registered in Korean Patent Registration No. 10-11827680000. 
     The inspection apparatus for a machine vision system includes a supporter including one or more lights that illuminate to an inner part thereof and having a predetermined shape; a portable terminal having a camera and photographing an inspection object positioned in the supporter while being fixed to the supporter; and a control unit setting a photographing condition of the portable terminal in accordance with an instruction of the portable terminal and controlling the lights in accordance with the set photographing condition. 
     As prior art 4 related thereto, “Machine vision based electronic component inspection system” is registered in Korean Patent Registration No. 10-1688641. 
     The machine vision based electronic component inspection system is configured to include a housing equipped with a selection plate inside thereof so that various kinds of electronic components supplied in plurality are seated unaligned and automatically selected for quality inspection; a location moving device installed to move as much as a set distance on the top of the selection plate, a camera device installed in the location moving device to photograph the electronic components randomly arranged on the selection plate; an analysis device installed in the housing to calculate the location and angle of each electronic component on the basis of information on images photographed by the camera device; a gripper device installed in the location moving device to adsorb the electronic components randomly arranged on the selection plate and sequentially move the electronic components to a designated position on the selection plate based on the calculated values such as the location and angle of the electronic components determined by the analysis device; an inspection device installed in the location moving device to perform quality inspection on the electronic components moved, aligned, and fixed by the gripper device in accordance with the capacity of each target; and a control device for controlling operation of the location moving device, the camera device, the analysis device, the gripper device, and the inspection device, 
     wherein the gripper device is provided with a rotation device for rotating the electronic components while being individually adsorbed, and the rotation device rotates each of the electronic components adsorbed to the gripper device based on the calculated values of the analysis device, so that each of the electronic components randomly arranged on the selection plate is positioned in a right direction on the inspection device to perform the quality inspection. 
     As prior art 5 related thereto, “Machine vision inspection device having a machine vision modular software using artificial intelligence, a driving method thereof, and a computer-readable recording medium thereof” is registered in Korean Patent Registration No. 10-21089560000. 
     The prior art 5 relates to a machine vision inspecting device having a machine vision modular software using artificial intelligence, a driving method thereof, and a computer-readable recording medium thereof, and the machine vision inspecting device having a machine vision modular software using artificial intelligence according to an embodiment of the present invention includes: a storage unit for storing learning sample data of a first volume of a plurality of inspection items related to a designated product in a different way for each user for the sake of artificial intelligence-based vision inspection, and a control unit for performing vision inspection on the designated product by performing deep learning based on artificial intelligence for each inspection item on the basis of differently stored learning sample data of the first volume and a captured image provided by a photographing device of a production line, and expanding the learning sample data from the first volume to a second volume on the basis of a result of the vision inspection. 
     As prior art 6 related thereto, “Machine vision-based quality inspection method and system utilizing deep learning in manufacturing process” is made public in Korean Patent Publication No. 10-2019-0063839. 
     The machine vision-based quality inspection method using deep learning in a manufacturing process generates a learning product image, enables a classifier to be learned for classifying a good product and a defective product through the generated learning product image, and determines whether a product is a good product or a defective product by using the learned classifier. Therefore, it is possible to find the feature value of data of a product to be classified on the basis of learning of oneself, such that it is possible to carry out the machine vision-based inspection even on an inspection area that relies on a manual inspection due to the difficult of formalizing defects. 
     As prior art 7 related thereto, “Control variable setting device in a semiconductor vision inspection system based on deep learning and a method thereof” is made public in Korean Patent Publication No. 10-2019-0067439. 
     The operation method of the control variable setting device in a semiconductor vision inspection system based on deep learning comprises the steps of: receiving information about a plurality of control variables controlling operation of an image acquisition device; using the number of control variables included in the received information about the control variables and the number of variable values of the control variables and forming a control variable set; receiving images acquired by the image acquisition device that is respectively reflecting the variable values a plurality of the control variables corresponding to each element of the formed control variable set with respect to at least one vision inspection sample; and using a previously trained deep learning-based neural network to determine a final image among the received images, and acquiring respective final variable values a plurality of the control variables for acquiring the determined final image, 
     wherein each element of the formed control variable set includes all of the control variables and two arbitrary elements different from each other of the formed control variable set are corresponded to have different variable values among at least one identical control variable. 
     In the initial stage in which a smart factory is not constructed at all, it is not easy for a company in the manufacturing industry field to computerize information on the inventory processing process completely manually on the spot by providing work management to store raw materials in a warehouse, management to obtain and place an order, production plan, work management by production order, LOT management, process management, quality management, warehousing/releasing/inventory management, and sales performance management. 
     A smart factory is constructed in connection with a Manufacturing Execution System (MES), a vision inspection system, and a Quality Management System (QMS). The MES provides real-time camera vision inspection monitoring, control, logistics and work history tracking management, and product defect management in a manufacturing process. The product vision inspection system of products that have a barcode, a QR code, or a 13.56 MHz RFID tag attached to product filters defective products manufactured and produced along the conveyor belt in real time in accordance with a manufacturing process of the production line by detecting defects in products generated as atypical data by the machine vision system. 
     However, in the vision inspection system, a computer vision recognition error occurs due to a defect in an atypical pattern of a product, diffuse reflection of a metal surface, and vibration through camera images in real time. 
     It costs too much for a small and medium-sized company to actually construct a smart factory having an existing machine vision defect detection system and install conveyor belts, encoders, cameras, and vision systems in a manufacturing process and product production lines. At the standpoint of a company that has already adopted a machine vision (MV), installation of a deep learning vision system may be a duplicate investment. In addition, it is difficult for small and medium-sized companies, other than large companies equipped with manufacturing processes, production lines, and machine learning vision systems that construct a smart factory, to construct conveyor belts and deep learning vision systems that cost more than 100 million Korean Won in a production line in practice, and to adopt an expensive deep learning vision inspection system using artificial intelligence programming in reality. 
     Prior Art-Patent Documents 
     
         
         (Patent Document 1) Korean Patent Registration No. 10-1772673 (Registration date: Aug. 23, 2017), “Multiple optics vision inspection system”, APS Co., Ltd. 
         (Patent Document 2) Korean Patent Publication No. 10-2019-0063839 (Publication date: Jun. 10, 2019), “Method and system for machine vision-based quality inspection using deep learning in manufacturing process”, Korea Electronic Components Research Institute 
         (Patent Document 3) Korean Patent Registration No. 10-11827680000 (Registration date: Sep. 7, 2012), “Examining apparatus and method for machine vision system”, Mvision Co., Ltd. 
         (Patent Document 4) Korean Patent Registration No. 10-1688641 (Registration date: Dec. 15, 2016), “Machine vision based electronic components inspection systems”, Dongseo University Industry-Academic Cooperation Foundation, KMsys Co., Ltd. 
         (Patent Document 5) Korean Patent Registration No. 10-21089560000 (Registration date: May 4, 2020), “Apparatus for performing inspection of machine vision and driving method thereof, and Computer Readable Recording Medium”, Mann Company 
         (Patent Document 6) Korean Patent Publication No. 10-2019-0063839 (Publication date: Jun. 10, 2019), “Machine vision-based quality inspection method and system using deep learning in manufacturing process”, Korea Electronics Technology Institute 
         (Patent Document 7) Korean Patent Publication No. 10-2019-0067439 (Publication date: Jun. 17, 2019), “Control value setting apparatus and method of semiconductor vision inspection system based on deep learning”, Electronics and Telecommunications Research Institute. 
       
    
     SUMMARY OF THE INVENTION 
     To solve the above-described problems in the related art, and an object of the present invention is to provide a manufacturing intelligence service system connected to an MES in smart factory, which is provided with a cloud server connected to at least one Manufacturing Execution System (MES) having a machine vision inspection system for detecting defects of products in various fields such as product surface defect inspection or the like in the factory automation (FA) process of an industrial company, and provides a product ID and a product information and defect information of products of a plurality of manufacturing company products accumulated and stored in the cloud server from an agent server to a user terminal through the cloud server. 
     To accomplish the above object, according to one aspect of the present invention, there is provided a manufacturing intelligence service system connected to a Manufacturing Execution System (MES) in smart factory, the system comprising: at least one Manufacturing Execution System (MES) having a machine vision of a production line of each manufacturing company, recognizing a product ID, for providing the product ID, a product information and a defect information including scratch or defect of a product through middleware; a cloud server connected to the at least one Manufacturing Execution System (MES); and an agent server connected to the cloud server, wherein the agent server is connected to the cloud server and provides the product ID, a product information and product defect information of a machine vision production line of a manufacturing company product to the user terminal through the agent server from the cloud server. 
     A manufacturing intelligence service system connected to an MES in smart factory, which includes a cloud server connected to at least one Manufacturing Execution System (MES) having a machine vision inspection system for detecting defects of products or product surface defect inspection in various fields such as wafer, display, and PCB defect inspection, LED chip semiconductor package inspection. The cloud server has an effect on providing user with product ID, product information and product defect information of a manufacturing company product accumulated and stored in the cloud server, from the cloud server to the user terminals through the agent server, thereby effectively providing many companies with smart factory manufacturing intelligence service data. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG.  1    is a view showing the configuration of a vision inspection system having a sensor, an ID reader, a camera, and an optical light in a conveyor belt production line provided with an encoder. 
         FIGS.  2 A,  2 B and  3    are views showing main functions of a manual vision inspection machine having a camera, a light, and a controller connected to a PC to determine defects of products by detecting defects (foreign substances, or scratches, etc.) of the products. 
         FIG.  4    is a view showing a machine vision manufacturing intelligence platform using product defect image remote learning by using a deep learning algorithm. 
         FIG.  5    is a view showing an AI view of vision inspection (stains, or scratches), product shape inspection (unpunched, or size defect), and blob inspection (determine whether or not plated) of a PC by using a sensor and a camera in a deep learning-based machine vision platform in a vision inspection method using product defect image remote learning. 
         FIG.  6    is a view showing the configuration of a cloud server of a smart factory. 
         FIG.  7    is a view showing the configuration of a manufacturing intelligence service system connected to an MES in smart factory according to the present invention. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Hereinafter, example embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the description of the present invention, when it is determined that a detailed description of a related known technology or a known configuration may unnecessarily obscure the subject matter of the present invention, the detailed description will be omitted. In addition, when a reference numeral of a drawing indicates the same configuration, the same reference numeral is assigned in different drawings. 
     A manufacturing intelligence service system connected to an MES in smart factory constructs a smart factory in the factory automation (FA) process of an industrial company, together with one or more manufacturing companies, and through a cloud server connected to at least one Manufacturing Execution System (MES) having a machine vision inspection system that inspects product surface defects and detects defects of products in various fields, the smart factory manufacturing intelligence service system provides user with product ID, product information and defect information of products of each manufacturing company accumulated and stored in the cloud server from an agent server to a user terminal through the agent server.
         Recognition of a barcode, a QR code, and a 13.6 MHz code attached to a product (recognition of product ID)   Alignment of parts in an assembly process, stacking alignment, and product surface defect inspection (machine vision)   Provide an AI View of vision inspection (stains, scratches), product shape inspection (size defect), and blob inspection (determine whether or not plated) of a PC using sensors and cameras on a deep learning-based machine vision platform       

       FIGS.  2 A and  2 B  are views showing main functions of a vision inspection machine having a camera, a light, and a controller connected to a PC to determine defects of products by detecting defects (foreign substances, or scratches, etc.) of the products. 
     * Smart Factory Manufacturing Intelligence Service System Connected to MES 
     1) A deep learning vision inspection function is modularized and inspects a product (normal/defective) in association with an existing machine vision (MV) inspection system. The deep learning algorithm of machine vision image analysis SW uses an CNN algorithm, and uses any one of AlexNet, ZFNet, VGGNet, GoogLeNet, and ResNet. 
     A deep learning tool uses any one of Tensorflow, Keras, Caffe, and PyTorch. 
     2) Construct data for deep learning using a test image acquired by the machine vision (MV) inspection system and a determination result for reference. 
     * Main Functions 
     1. Machine vision defect detection system: When there is existing machine vision equipment, only a deep learning vision defect detection module may be adopted. 
     2. Machine vision interface: Receives a test sample image and a determination result for reference from existing machine vision equipment. 
     3. Deep learning: Deep learning is carried out with the received image and the determination result for reference 
     4. Deep learning determination: Determination is carried out with a learning model generated in 2 for a sample image for detecting defects. 
     5. Retraining of deep learning: A field worker makes a final determination seeing the determination result of 3 and, and this result is reused as a deep learning material. 
     6. When the steps are sufficiently performed, accuracy of determining the deep learning vision inspection is enhanced, and the user does not require to separately make a determination. 
       FIG.  3    is a view showing wiring of a vision system connected to a camera, a light, a control box, a PC, or a PLC. 
     An AI machine vision inspection system through product defect image remote learning includes a PC  100 , a PLC  110 , a camera  120 , a sensor  130 , a light  140 , and a controller  170 . 
     The controller  170  is connected to the camera  120 , the sensor  130 , and the light  140 , and the PC  100  connected to the camera  120  may be connected to the PLC  110 . 
     There are provided a camera  120 , a light  140 , and a controller  170  connected to the PC  100 , and a manual vision inspection machine that detects defects of products (foreign materials, scratches, etc.) and determines defective products (defects, scratches, foreign materials, etc.) further includes a sensor  130  for additionally providing a trigger input to the camera  120 . 
     In the AI machine vision inspection system, the lighting  140  may be used a white or red LED light, or a halogen light having an optical fiber guide is used as the light  140 , and in an embodiment, an LED light and a light controller are used. 
     In case of using an LED light, white LEDs arranged in a row and a light controller, or a ring LED including a plurality of LEDs surrounding a camera lens and a light controller is used. The lighting  140  may be used ring LED illumination, top/left-top/top/right-top tilt angle illumination, backlight illumination, or the like. 
     Additionally, the PC  100  having a deep learning-based vision image processing SW further includes a PLC  110  connected through an Ethernet cable. 
     The machine vision image analysis SW for the camera image data of the product uses i) grayscale image processing, or ii) a deep learning algorithm, and a grayscale image, an RGB image, an HSI image, a YCbCr image, a JPEG image, a TIFF image, and a GIF image may be applied as the camera image. The deep learning algorithm detects objects having defects of foreign substances and scratches in the camera image data and determines whether the product is defective using any one of Convolutional Neural Network (CNN), Recurrent Convolutional Neural Network (R-CNN), Fast RCNN, Faster RCNN(Region based Convolutional Neural Network), You Only Look Once (YOLO), and Single Shot Detector (SSD) algorithms. 
     The deep learning algorithm of the machine vision image analysis SW detects objects in an image and determines whether the product is defective by using any one of Convolutional Neural Network (CNN), Recurrent Convolutional Neural Network (R-CNN), Fast RCNN, Faster RCNN(Region based Convolutional Neural Network), YOLO(You Only Look Once), and SSD (Single Shot Detector) algorithms. 
     The deep learning algorithm of the machine vision image analysis SW of the edge platform uses a CNN algorithm, and uses any one among AlexNet, ZFNet, VGGNet, GoogLeNet, and ResNet. The deep learning algorithm uses the CNN algorithm to extract and classify features of an image, extract defective objects (foreign substances, defects, or scratches) by comparing the features with the learning data of accumulated defect images of the learning model, and transmit an image containing the defective objects to the service platform, and the service platform determines whether the product is defective. 
     A barcode, a QR code, or a 13.56 MHz RFID tag is attached to the product, and a barcode reader, a QR code scanner of an industrial PC, or a 13.56 MHz RFID reader is respectively used. 
     Additionally, the PC may further include a barcode reader and a recognition module for recognizing a barcode attached to a product when the barcode is attached to the product. 
     Additionally, the PC may further include a QR code recognition module for recognizing a QR code attached to a product when the QR code is attached to the product. 
     Additionally, the PC may further include a SW module connected to a 13.56 MHz RFID reader through “product code transmission middleware” when a 13.56 MHz RFID tag is attached to a product. 
     The middleware includes product code transmission middleware for transmitting information on any one of a barcode, a QR code, and a 13.56 MHz RFID tag corresponding to the extracted model information attached to the product recognized by the barcode reader, the QR code recognizer, or the 13.56 MHz RFID reader to the cloud server; and deep learning middleware provided with an atypical defect determination learning model for receiving atypical defect process data transmitted from the machine vision system and detecting atypical defective images by comparing the atypical defect process data with the defective image learning data (foreign materials, scratches) accumulated and stored by a deep learning model training system, and transmitting data on the result of foreign material existence inspection, shape inspection, and normal/defective determination performed on the camera image data by a deep learning shape determination system and an AI deep learning module to cloud server. 
     Additionally, the PC may be connected to a control robot through a robot interface to control movement of the product after performing 2D vision inspection based on deep learning. 
       FIG.  4    is a view showing a machine vision manufacturing intelligence platform using product defect image remote learning by using a deep learning algorithm. 
     The machine vision manufacturing intelligence platform supports a deep learning machine vision platform that can quickly respond to a new product and occurrence of an exceptional defect type by making existing machine vision inspection equipment intelligent in a hybrid form. A company that adopts the smart factory solution may secure quality inspection intelligence of products produced in real time. 
     1. The machine vision manufacturing intelligence platform provides a manufacturing intelligence edge platform to a company by mounting an AI solution that supports intelligence of machine vision inspection equipment that has already been adopted. 
     2. When an exceptional defect type is generated in the machine vision inspection data (camera image data of a product) of a company that has adopted a smart factory solution or a new product needs to be inspected, the service platform provides manufacturing intelligence to the edge platform by using the deep learning solution. 
     3. The service platform continuously provides manufacturing intelligence service to enhance intelligence of an existing edge platform by using machine vision manufacturing intelligence through learning of manufacturing common data to similar business types. 
     4. The machine vision system provides a product inspection platform in accordance with manufacturing intelligence based on learning of defect data in association with the MES system. 
     The machine vision manufacturing intelligence platform is provided with a service platform connected to the edge platform including a defect inspection module, a defect determination module, and a learning-purpose manufacturing data transmission module through middleware, in which the defect inspection module reads a product ID and provides shape determination inspection/foreign substance inspection/scratch inspection of camera image data, and the service platform provides defect determination manufacturing intelligence and defect prediction manufacturing intelligence, and uses a deep learning algorithm based on the learning data. 
     The product is attached with any one of a barcode, a QR code, or a 13.56 MHz RFID tag. 
     Additionally, the PC further includes a barcode reader and a recognition module for recognizing a barcode attached to a product when the barcode is attached to the product. 
     Additionally, the PC further includes a QR code recognition module for recognizing a QR code attached to a product when the QR code is attached to the product. 
     Additionally, the PC further includes a SW module connected to a 13.56 MHz RFID reader through “product code transmission middleware” when a 13.56 MHz RFID tag is attached to the product. 
     A vision inspection system through product defect image remote learning includes a machine vision inspection system connected to a camera, a sensor, an LED light, and a controller and provided with machine vision image analysis SW, and a reader (barcode reader, QR code recognizer, or 13.56 MHz RFID reader) connected to the computer (PC) of the machine vision inspection system reads a product ID (barcode, QR code, 13.56 MHz RFID tag), and the vision inspection system includes an edge platform of the agent server provided clients with a defect inspection module that provides shape determination inspection/foreign substance inspection/scratch inspection of camera image data of a product, a defect determination module, and a learning-purpose manufacturing data transmission module; middleware connected to the edge platform to interwork with the service platform of the cloud server; and a service platform connected to the edge platform through the middleware to provide defect determination manufacturing intelligence and defect prediction manufacturing intelligence, detect an atypical defective image by comparing with accumulated and stored defective image learning data (training data set of a defective image including foreign substances or scratches), and provide vision inspection through product defect image remote learning using an AI deep learning algorithm that provides result data of foreign substances inspection, shape inspection, and normal/defect determination of camera image data of a product. 
     The edge platform of the agent server includes a defect inspection module (shape determination inspection, foreign material inspection, scratch inspection, specification information collection based on inspection data, inspection prediction analysis screen, inspection result screen, good/defective inspection result determination labeling storage and transmission), a defect determination module (determination labeling, threshold analysis), a defect prediction module (shape prediction analysis, foreign substance prediction analysis, scratch prediction analysis, prediction rule correlation coefficient module), and a learning-purpose manufacturing data transmission module (manufacturing data storage and transmission module). 
     The service platform of the cloud connects to a Manufacturing Execution System (MES) and server shares defect determination manufacturing intelligence, defect prediction manufacturing intelligence, and manufacturing data for learning with the edge platform, and the service platform of the cloud server is provided with a manufacturing intelligence service module that provides development intelligence after deep learning, and includes a Scikit-learn Engine, a CNN, an RNN, an audio encoder, a DB for storing the manufacturing data for learning, and a communication module on the Python framework. 
     A barcode, a QR code, or a 13.56 MHz RFID tag is attached to a product, and the middleware includes: product code transmission middleware for transmitting information on any one of a barcode, a QR code, or a 13.56 MHz RFID tag of a product recognized by a barcode reader, a QR code recognizer, or a 13.56 MHz RFID reader from cloud server to the user terminal via the agent server; and deep learning middleware provided with an atypical defect determination learning model for receiving atypical defect process data transmitted from a machine vision system and detecting atypical defective images by comparing the atypical defect process data with the defective image learning data (foreign substances, or scratches) accumulated and stored by a deep learning model training system in accordance with a vision inspection method through product defect image remote learning, and transmitting data on the result of foreign substance existence inspection, shape inspection, and normal/defective determination performed on the camera image data by a deep learning shape determination system and an AI deep learning module from the service platform of the cloud server to the agent server. 
     The system further includes an inspection stage located under the camera unit and the optical light unit to place an inspection target on an XY-stage; a base on which the inspection stage is placed; an anti-vibration facility of a vibration reduction air cylinder structure placed under the base; a frame for supporting vision inspection equipment; and a stage unit transfer module for controlling movement of XYZ position. 
     The camera is connected to a PC through a camera interface (frame grabber, Gigabit Ethernet (GigE), IEEE 1394, camera link, or USB3.0), and the PC is connected to a main server computer through LAN and TCP/IP via a network hub. 
       FIG.  5    is a view showing an AI view of vision inspection (stains, dents, or scratches), product shape inspection (unpunched, deformation defect), and blob inspection (determine whether or not plated) of a PC by using a sensor and a camera in a deep learning-based machine vision platform in a vision inspection method using product defect image remote learning. 
     The sensor generates a trigger input and transmits it to the camera, and the camera generates a digital output by controlling the lighting strobe, and an image sensor generates and transmits image data to the PC. 
     The PC performs image data inspection (stains, dents, or scratches), product shape inspection (unpunched, and deformation defect), and blob inspection (determine whether or not plated) as needed. 
     The inspection (stains, dents, or scratches) determines defects of an image in real time based on a classification threshold after registering good and defective images. 
     The product shape inspection (unpunched, and deformation defect) determines whether or not the shape of a product is changed from the shape and size of a product based on an image of a good product. 
     The blob inspection (determine whether or not plated) determines whether or not plated based on a standard prepared by comparing brightness of a normal plating area with brightness of a defective plated area. 
     Referring to the configuration of the machine vision AI system connected to a sensor, a camera, a light, a control box, a PC or a PLC, it is possible to develop and continuously learn product defect determination intelligence on a deep learning-based machine vision platform. The learned intelligence is executed on a deep learning-based machine vision platform to increase the process defect detection rate. Through continuous accumulation of manufacturing data defect detection technology, the machine vision AI system is used as a manufacturing intelligence vision inspection system. 
       FIG.  6    is a view showing the configuration of a cloud server of a smart factory. 
       FIG.  7    is a view showing the configuration of a manufacturing intelligence service system connected to an MES in smart factory according to the present invention. 
     The manufacturing intelligence service system connected to an MES in smart factory constructs a smart factory in the factory automation (FA) process of an industrial company, together with one or more manufacturing companies, and through the cloud server  200  connected to at least one Manufacturing Execution System (MES) having a machine vision inspection system that detects defects of products in various fields, such as wafer, display, and PCB defect inspection, LED chip semiconductor package inspection, product surface defect inspection, and the like in a semiconductor production line, the smart factory manufacturing intelligence service system provides product ID, product information and defect information of products of each manufacturing company accumulated and stored in the cloud server  200  from the cloud server  200  to the user terminal  400  through the agent server  300 . 
     The manufacturing intelligence service system connected to an MES in smart factory according to the present invention includes: at least one Manufacturing Execution System (MES)  100  having a machine vision of a production line of each manufacturing company to recognize a product ID when a barcode, a QR code, or a 13.56 MHz RFID tag is recognized, transmit the product ID through middleware, and provide the product ID and information on the defect (scratch, defect) of the product to a cloud server; a cloud server  200  connected to the at least one Manufacturing Execution System (MES) to collect product ID, product information and product defect information of the production line of each Manufacturing Execution System (MES) and provide product ID, product information and the product defect information to the user terminal  400  through the regional agent server  300 ; and an agent server  300  connected to the cloud server  200 , wherein the cloud server  200  provides product ID, product information and product defect information of a machine vision production line of a manufacturing company product to the user terminal  400  through the agent server  300  connected to the cloud server  200 . 
     The user terminal  400  uses a PC, a notebook computer, a tablet PC, or a smartphone. 
     A barcode, a QR code, or a 13.56 MHz RFID tag is attached to a product, and information on any one among the barcode, the QR code, or the 13.56 MHz RFID tag attached to a product recognized by a barcode reader, a QR code recognizer, or a 13.56 MHz RFID reader is transmitted from the agent server to the user terminal. 
     The product is attached with any one of a barcode, a QR code, and a 13.56 MHz RFID tag. 
     Additionally, the PC further includes a barcode reader and a recognition module for recognizing a barcode attached to a product when the barcode is attached to the product. 
     Additionally, the PC further includes a QR code recognition module for recognizing a QR code attached to a product when the QR code is attached to the product. 
     Additionally, the PC further includes a SW module connected through “product code transmission middleware” from a 13.56 MHz RFID reader when a 13.56 MHz RFID tag is attached to the product. 
     The machine vision determines defects of a product by analyzing defects such as foreign substances, scratches, pattern errors, or the like on the display of a product surface, and locations of the defects through image processing [(1) image acquisition, (2) image binarization, (3) image processing, (4) image analysis, (5) image interpretation] of a vision inspection image processing algorithm of a computer connected through the mechanism unit and the camera interface (Frame Grabber, Gigabit Ethernet (GigE), IEEE 1394, camera link, or USB 3.0) connected to one camera, a line scan camera, or an area scan camera. 
     The machine vision AI system connected to a sensor, a camera, a light, a control box, and a PC or a PLC may develop and continuously learn product defect determination intelligence on a deep learning-based machine vision platform. Continuously learned intelligence is executed on a deep learning-based machine vision platform to increase the process defect detection rate. 
     In the initial stage in which a smart factory of each company is not constructed at all, a cloud server connected to a Manufacturing Execution System (MES) can be provided information on work management to store raw materials in a warehouse, management to obtain and place an order, production plan, production order, work situation, LOT management, process management, quality management that classifies good/defective products using machine vision (MV), warehousing/releasing/inventory management, and sales performance management can be provided in the manufacturing industry field. 
     The Manufacturing Execution System (MES) is used for defect management of products for recognizing defects and classifying good/defective products in real-time camera vision inspection monitoring of a manufacturing process. 
     The encoder measures an exact amount of transfer of a servo motor when a conveyor belt operates in a production line of a factory. 
     The mechanism unit may further include an inspection target transfer robot for placing an inspection target on the inspection stage (XY stage) by a loader. 
     The mechanism unit further includes an ID reader for reading a DPM code, a barcode, a QR code, or a 13.56 MHz RFID tag attached to a product as an ID of an inspection target transferred to a conveyor belt of a production line in a factory automation process, or an ID of a product placed on an inspection stage (XY stage) by the loader of the inspection target transfer robot, and transmitting the detected product ID to the computer. 
     In the factory automation (FA) process of an industrial company, defect information of products of each manufacturing company, which is accumulated and stored in a cloud server connected to each MES system to provide defect information and manufacturing intelligence information of the products, is transferred and provided from the agent server to the user terminal through the cloud server connected to at least one Manufacturing Execution System (MES) having a machine vision inspection system that detects defects of products in various fields, such as wafer, display, and PCB defect inspection, LED chip semiconductor package inspection, product surface defect inspection, and the like in a semiconductor production line. 
     The service platform of the cloud server provides defect determination manufacturing intelligence and defect prediction manufacturing intelligence, continuously learns defects of products, and provides vision inspection through product defect image remote learning by using a deep learning algorithm based on the learning data. 
     The manufacturing intelligence service system connected to an MES in smart factory is provided with a service platform connected to an edge platform including a defect inspection module, a defect determination module, and a learning-purpose manufacturing data transmission module through middleware, in which the defect inspection module reads and transmits a barcode, a QR code, or a 13.56 MHz RFID tag attached to a product with a barcode reader, a QR code recognizer, or a 13.56 MHz RFID reader to a computer (PC) through middleware so as to be stored, and reads a product ID and provides shape determination inspection/foreign substance inspection/scratch inspection on camera image data. 
     The service platform of the cloud server provides defect determination manufacturing intelligence and defect prediction manufacturing intelligence, continuously accumulates and stores defect data, and uses a deep learning algorithm to detect defect data based on the learning data. 
     In the cloud server, the deep learning algorithm of machine vision image analysis software of each manufacturing company extracts and classifies features of objects in an image to detect defects, receives and stores defect information of a product ID in the cloud server, and shares the defect information, using any one of the algorithms including CNN(Convolutional Neural Network), R-CNN (Recurrent Convolutional Neural Network), Fast RCNN, Faster RCNN(Region based Convolutional Neural Network), YOLO (You Only Look Once), and SSD (Single Shot Detector). 
     For reference, the image analysis SW of the camera image data may use i) grayscale image processing, or ii) a deep learning algorithm. A grayscale image, an RGB image, an HSI image, a YCbCr image, a JPEG image, a TIFF image, or a GIF image may be applied as the camera image. In an embodiment, a grayscale image is used. 
     i) Grayscale Image Processing 
     The image analysis SW converts camera image data (RGB image) into grayscale image data, buffers and stores the grayscale image, provides image processing and image analysis functions, converts a region of interest (ROI) into grayscale, obtains a histogram of an image of the region of interest (ROI) using a specific threshold of an image of the region of interest (ROI) [the pixel value of each pixel on the x-axis image, the number (frequency) of pixel values on the y-axis], binarizes the image of the region of interest to 0 and 1 on the basis of the threshold using an Ostu algorithm, performs pre-processing on the image of the region of interest (ROI) through histogram equalization, obtains an x-direction derivative and a y-direction derivative using a Sobel edge operator (Sobel mask) or a Canny edge operator, detects an edge (pixels located at the boundary of the object region and the background region) of the image of the region of interest by convolution of multiplying the pixel values of the image by the weight of the Sobel mask and adding them, detects an outline of defective objects in the generated edge image by applying a specific threshold, and extracts shape features. 
     When a threshold method using the Ostu algorithm is used, pixel values f (x,y) are separated into an object region and a background region for the input image based on a specific threshold. When the pixel value f(x,y) is greater than the specific threshold, it is determined as a pixel belonging to the object region. On the contrary, when the pixel value f(x,y) is smaller than the specific threshold, it is determined as a pixel belonging to the background region. 
     ii) Features of objects in an image are extracted and classified by using a deep learning algorithm (CNN algorithm, etc.), and defective objects (foreign materials, dents, scratches, etc.) are extracted by comparing the features of input image with the learning data (foreign substances, scratch, etc.) of the defective image accumulated and stored in the learning data DB in accordance with a learning model 
     The deep learning algorithm of the machine vision image analysis software extracts features of the objects in an image or detects a defective image (object detection) using any one of the algorithms including CNN (Convolutional Neural Network), R-CNN(Recurrent Convolutional Neural Network), Fast RCNN, Faster RCNN(Region based Convolutional Neural Network), YOLO (You Only Look Once), and SSD (Single Shot Detector). 
     The deep learning algorithm of the machine vision image analysis SW uses a CNN algorithm, and any one of AlexNet, ZFNet, VGGNet, GoogLeNet, and ResNet is used. The deep learning algorithm uses the CNN algorithm to extract and classify features of an image (feature extraction), and extracts defective objects (foreign substances, or scratches) by comparing the features of input image with the learning data of the defective image accumulated and stored in the learning data DB in accordance with the learning model. 
     A multilayer neural network (MLP) having a multilayer perceptron is composed of an input layer for inputting a camera input image, n hidden layers (Layer 1, Layer 2, Layer 3, . . . ), and an output layer, and detects defective objects (foreign substances, defects, or scratches, etc.) by extracting image features and classifying objects in an image. 
     The convolutional neural network (CNN) uses three layers including a convolutional layer, a pooling layer, and a fully connected layer (FC layer). 
     A Deep CNN algorithm reduces the amount of image data by repeating convolution and subsampling by a convolutional layer and a pooling layer respectively while moving a mask (e.g., a 3×3 window, filter) having a weight, extracts features robust to image distortion, extracts a feature map by convolution, and classifies defective objects (foreign substances, or scratches, etc.) detected by the learning model of the neural network. 
     In the image processing using the CNN algorithm, convolution accomplishes image processing of input image by using a mask having a weight (e.g., 3×3 window, filter), and a sum obtained after putting a mask (e.g., 3×3 window, filter) having a weight in the current input image and multiplying the pixel value of the input image by the weight of the mask while moving the mask having a weight in an input image in accordance with a stride is determined as the pixel value of the output image. 
     Subsampling is a process of reducing the screen size, and max pooling is performed to select the maximum value of a corresponding area. 
     The FC layer (Fully Connected Layer) connects to the input terminal of the neural network to classify objects by learning. 
     Currently, the FC layer is configured of a convolution layer of 5 layers and a fully_connected layer of 3 layers. 
     The size of the image is reduced as the output of the convolutional layer goes through subsampling by the Max-Pooling Layer, and the output of the Max-Pooling is classified into classes of the objects in the FC layer (Fully Connected Layer). 
     As a result, in order to extract defective objects in a camera image, a feature map including object location area and type information is extracted by several convolutional layers in the middle of the CNN structure, and the size of the feature map decreases while passing through the pooling layer, and objects are detected by extracting object location area information from feature maps of different sizes, and defective objects (foreign substance, or scratch) are classified by comparing the objects with previously learned data of the learning model. 
     Feature vector x of an image is extracted from input image I of the camera by using MLP of a multi-layer structure of input layer/hidden layer/output layer or a neural network, and output vector h(x) is calculated from the extracted feature vector x of the image by repeatedly applying function h i (h i-1 )=max(O, W i h i-1 +b i ). 
     Here, h i  is the i-th hidden feature vector, h i-1  is the i-1-th hidden feature vector, W i  is a weight parameter (a constant value) of the neural network circuit, and b i  is the bias value of the neural network circuit. 
     The input feature vector is set to h 0 =x, and when a total of L hidden layers exists, h 1 , h 2 , . . . h L  are calculated in order, and the final output vector is determined as h(x)=h L . In addition, h 1 , h 2 , . . . h L-1  are quantities that are not revealed as an output of the system, and are referred to as hidden feature vectors.  L-1  is the L-1-th hidden feature vector. 
     The basic structure of the R-CNN extracts Region Proposals, in which objects are presumed to exist, from an input image using a Region Proposal generation algorithm called as Selective Search. Each Region Proposal is formed as an image in a bounding box of a rectangular shape, and object classification is performed through the CNN after making the size of all Region Proposals the same. 
     The R-CNN slows down the processing speed because one CNN (convolutional neural network) should be executed for every region proposal, and a lot of time is required for machine learning since a model for image feature extraction, a model for classification, and a model for fixing the bounding box should be learned at the same time. 
     To solve the processing speed problem of the R-CNN, a Fast R-CNN model has been developed. The Fast R-CNN model does not extract features from an input image, but extracts features using RoI Pooling in a feature map that has gone through the CNN. 
     In the Faster R-CNN, a network that combines a method itself of generating Region Proposals inside the CNN as a network structure is called as Region Proposal Network (RPN). Through the RPN, the layer performing RoI Pooling and the layer extracting the Bounding Box may share the same feature map. 
     The Fast RCNN receives an entire image and objects, and acquires a feature map of the CNN for the entire image. The ROI (Region of Interest) pooling layer extracts a feature vector of a fixed length from the feature map for each entity. Each feature vector becomes one sequence through the Fully Connected (FC) layer, and outputs probability estimation through Softmax and the position of the bounding box. 
     Pooling is a sub-sampling process that may lower the resolution of an image by aggregating the statistics of features at various locations, and improves robustness to image deformation such as rotation, noise and distortion. Two methods of pooling are used maximum pooling and average pooling. 
     The convolution layer and the pooling layer are repeated in one CNN classifier, and layers of various functions may be added according to the structure. Objects (e.g., foreign substances, scratches, surface defects, etc.) may be classified by applying various classifiers (e.g., SVM classifier) in accordance with the learning data of the learning model to the features extracted through the convolution and pooling process performed on the input image. 
     The Faster R-CNN extracts features by passing the whole input image through the convolution layer several times, and the RPN and the RoI Pooling Layer share the extracted output feature map. The RPN extracts Region Proposals from the feature map, and the RoI Pooling Layer performs RoI pooling on the Region Proposals extracted by the RPN. 
     A YOLO(You Only Look Once) model may be used for real-time object recognition of camera image data by using deep learning. 
     YOLO divides each image into S×S grids (bounding box), calculates reliability of each grid, and classifies the class in a way of viewing the entire image at once by reflecting accuracy when objects in the grid are recognized, and YOLO has performance two times higher than those of other models owing to the simple process. An object class score is calculated to determine whether an object is included in a grid. As a result, a total of S×S×N objects are predicted. 
     The SSD (Single Shot Detector) model, which is similar to YOLO but shows better performance, has a unique advantage in the balance between the speed and accuracy of detecting objects in an image, and the SSD may detect objects of various scales as it may calculate a feature map by executing CNN on the input image only once. 
     The SSD is an AI-based object detection algorithm balanced between the speed and accuracy of detecting objects, in which grids for detecting objects in a camera image are displayed. The SSD calculates a feature map by executing a Convolutional Neural Network (CNN) on the input image only once. The SSD is performed CNN to extract the feature map with a 3×3 filter size to predict probability of grids and object classification. The SSD predicts grids after performing CNN. This method may detect objects of various scales. 
     Manufacturing companies adopt an intelligent machine vision solution for factory automation (FA) process as an edge system, that is the smart factory manufacturing intelligence service system connected to an MES performing learning and executing to detect a defect determination and prediction model by using cloud computing in the Manufacturing Intelligence Marketplace (MiraeCIT), thereby providing manufacturing intelligence data from cloud server to user terminals through the agent server. 
     Embodiments according to the present invention may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer-readable recording medium. The computer-readable recording medium may store program instructions, data files, and data structures individually or in combination. The computer-readable recording medium may include hardware devices configured to store and execute program instructions in magnetic media such as storage, hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and storage media such as ROM, RAM, flash memory, and the like. Examples of program instructions may include high-level language codes that can be generated by a compiler and executed by a computer using an interpreter, as well as machine language codes. The hardware devices may be configured to operate by one or more software modules to perform the operations of the present invention. 
     As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, memory card, hard disk, magneto-optical disk, storage device, etc.) in a form that can be read using computer software. 
     Although the present invention has been described with reference to a specific embodiment of the present invention, the present invention is not limited to the same configuration and operation as the specific embodiment to illustrate the technical spirit as described above, and within the limit that does not depart from the technical spirit and scope of the present invention, it can be implemented with various modifications, and the scope of the present invention should be determined by the claims described below.