TWI808801B - Abnormal inspection apparatus and abnormal inspection method - Google Patents

Abnormal inspection apparatus and abnormal inspection method Download PDF

Info

Publication number
TWI808801B
TWI808801B TW111122961A TW111122961A TWI808801B TW I808801 B TWI808801 B TW I808801B TW 111122961 A TW111122961 A TW 111122961A TW 111122961 A TW111122961 A TW 111122961A TW I808801 B TWI808801 B TW I808801B
Authority
TW
Taiwan
Prior art keywords
images
sub
image
abnormal
detection module
Prior art date
Application number
TW111122961A
Other languages
Chinese (zh)
Other versions
TW202401373A (en
Inventor
余元宸
Original Assignee
福懋科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 福懋科技股份有限公司 filed Critical 福懋科技股份有限公司
Priority to TW111122961A priority Critical patent/TWI808801B/en
Application granted granted Critical
Publication of TWI808801B publication Critical patent/TWI808801B/en
Publication of TW202401373A publication Critical patent/TW202401373A/en

Links

Landscapes

  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Eye Examination Apparatus (AREA)
  • Transplanting Machines (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

An abnormal inspection apparatus and an abnormal inspection method are provided. The abnormal inspection apparatus includes a carrier, an image capturer and a processor. The processor is configured to drive the image capturer toward the carrier to capture an original image, segment multiple product images corresponding to multiple products placed on the carrier from the original image, and to overlap cut each product image into multiple sub-images, and then input each sub-image to at least one trained detection module to detect whether there is an abnormal area in each sub-image, output abnormal coordinate information when it is determined that there is an abnormal area, and make a merge for the abnormal areas based on all abnormal coordinate information outputted from the detection module.

Description

異常檢查裝置及異常檢查方法Abnormality checking device and abnormality checking method

本發明是有關於一種自動化機制,且特別是有關於一種異常檢查裝置及異常檢查方法。The present invention relates to an automatic mechanism, and in particular to an abnormality checking device and an abnormality checking method.

記憶體模組(memory module)是一種裝有記憶體積體電路的印刷電路板。記憶體模組可以輕鬆安裝到個人電腦、工作站和伺服器等電腦的電子系統中以及進行更換。記憶體模組在生產過程中經歷的多次檢測,這些檢測包括:焊接檢測、外觀檢測、功能檢測等。現行記憶體模組的外觀檢測是透過人工以目測方式在放大鏡下進行的作業,因此會有因不同檢測人員各別的檢出能力差異的不同,產品檢出條件不同造成人員轉換上落差。A memory module is a printed circuit board with a memory volume circuit. Memory modules can be easily installed and replaced in the electronic systems of computers such as personal computers, workstations and servers. The memory module undergoes multiple inspections during the production process, including: welding inspection, appearance inspection, function inspection, etc. The current appearance inspection of memory modules is carried out manually and visually under a magnifying glass. Therefore, there will be differences in the detection capabilities of different inspection personnel and different product inspection conditions, resulting in a gap in personnel conversion.

本發明提供一種異常檢查裝置及異常檢查方法,可自動檢測出不良風險的異常區域。The invention provides an abnormality inspection device and an abnormality inspection method, which can automatically detect abnormal regions with bad risks.

本發明的異常檢查裝置,包括:載具,用以置放多個產品;第一影像擷取器,朝向載具進行拍攝;以及處理器,耦接至第一影像擷取器,且經配置以驅動第一影像擷取器以擷取原始影像來執行異常檢測流程,包括:自原始影像中基於產品外觀切割出對應於所述多個產品的多個產品影像;將每一個產品影像重疊切割為多個子影像;將所述子影像輸入至已訓練的至少一檢測模組,以檢測各子影像中是否存在異常區域,並在判定存在有異常區域時,輸出異常座標資訊;以及於所述檢測模組所輸出的全部異常座標資訊,對異常區域進行合併。The anomaly inspection device of the present invention includes: a carrier for placing a plurality of products; a first image capturer for shooting toward the carrier; and a processor coupled to the first image capturer and configured to drive the first image capturer to capture original images to perform an abnormality detection process, including: cutting out a plurality of product images corresponding to the plurality of products from the original image based on product appearance; overlapping and cutting each product image into a plurality of sub-images; inputting the sub-images to at least one trained detection module to detect whether there is an abnormal region in each sub-image , and when it is determined that there is an abnormal area, output the abnormal coordinate information; and combine all the abnormal coordinate information output by the detection module to the abnormal area.

在本發明的一實施例中,上述載具包括第一載放區域與第二載放區域。異常檢查裝置更包括第二影像擷取器。第一影像擷取器朝向第一載放區域拍攝。第二影像擷取器朝向第二載放區域拍攝。處理器耦接至第二影像擷取器,且經配置以驅動第二影像擷取器以擷取另一原始影像來執行異常檢測流程。In an embodiment of the present invention, the carrier includes a first loading area and a second loading area. The abnormality inspection device further includes a second image capture device. The first image capture device shoots towards the first loading area. The second image capture device shoots towards the second loading area. The processor is coupled to the second image capturer and configured to drive the second image capturer to capture another original image to execute the anomaly detection process.

在本發明的一實施例中,上述水平相鄰的兩個子影像具有重疊部分,垂直相鄰的兩個子影像具有重疊部分。In an embodiment of the present invention, the two horizontally adjacent sub-images have an overlapping portion, and the two vertically adjacent sub-images have an overlapping portion.

在本發明的一實施例中,上述各子影像的解析度為M×N,各子影像在水平方向上與其相鄰的子影像的重疊部分的解析度為M/2×N,各子影像在垂直方向上與其相鄰的子影像的重疊部分的解析度為M×N/2。In one embodiment of the present invention, the resolution of each of the sub-images is M×N, the resolution of the overlapping portion of each sub-image in the horizontal direction with its adjacent sub-image is M/2×N, and the resolution of the overlapping portion of each sub-image in the vertical direction with its adjacent sub-image is M×N/2.

在本發明的一實施例中,上述處理器採用三個檢測模組,所述檢測模組包括防焊檢測模組、連接部檢測模組以及標籤檢測模組。處理器執行的異常檢測流程包括:將子影像輸入至防焊檢測模組以偵測在防焊區域上是否存在異常區域;將子影像輸入至連接部檢測模組以偵測在金屬連接部上是否存在異常區域;以及將子影像輸入至標籤檢測模組,以偵測在標籤印刷區域上是否存在異常區域。In an embodiment of the present invention, the above-mentioned processor adopts three detection modules, and the detection modules include a solder mask detection module, a connection part detection module and a label detection module. The abnormal detection process performed by the processor includes: inputting the sub-image to the solder mask detection module to detect whether there is an abnormal area on the solder mask area; input the sub-image to the connection portion detection module to detect whether there is an abnormal area on the metal connection portion; and input the sub-image to the label detection module to detect whether there is an abnormal area on the label printing area.

本發明的異常檢查方法,利用處理器執行多個步驟,包括:驅動第一影像擷取器以擷取原始影像來執行異常檢測流程,包括:自原始影像中基於產品外觀切割出對應於多個產品的多個產品影像;將各產品影像重疊切割為多個子影像;將所述子影像輸入至已訓練的至少一檢測模組,以檢測各子影像中是否存在異常區域,並在判定存在有異常區域時,輸出異常座標資訊;以及基於所述檢測模組所輸出的全部異常座標資訊,對異常區域進行合併。The anomaly inspection method of the present invention uses a processor to perform multiple steps, including: driving the first image capture device to capture the original image to execute the anomaly detection process, including: cutting out a plurality of product images corresponding to a plurality of products from the original image based on the appearance of the product; overlapping and cutting each product image into a plurality of sub-images; inputting the sub-images to at least one trained detection module to detect whether there is an abnormal area in each sub-image, and output abnormal coordinate information when it is determined that there is an abnormal area; to merge.

基於上述,本揭露整合使用影像擷取器來取得包括多個產品的原始影像,並結合影像辨識來找出原始影像中的對應於各產品外觀的產品影像,進而自動地檢測出各產品影像中的異常區域。據此,可在相同的檢查標準下來檢查每一個產品的外觀,快速地檢測出具有不良風險的異常區域。Based on the above, the present disclosure integrates the use of an image capture device to obtain original images including multiple products, and uses image recognition to find product images corresponding to the appearance of each product in the original images, and then automatically detects abnormal areas in each product image. Accordingly, the appearance of each product can be inspected under the same inspection standard, and abnormal areas with a risk of failure can be quickly detected.

圖1是依照本發明一實施例的異常檢查裝置的方塊圖。請參照圖1,異常檢查裝置100包括處理器110、影像擷取器120以及載具130。處理器110耦接至影像擷取器120。載具130用以置放多個產品,以供影像擷取器120拍攝。FIG. 1 is a block diagram of an abnormality checking device according to an embodiment of the invention. Please refer to FIG. 1 , the anomaly inspection device 100 includes a processor 110 , an image capture device 120 and a vehicle 130 . The processor 110 is coupled to the image capture unit 120 . The carrier 130 is used to place a plurality of products for the image capture device 120 to photograph.

處理器110例如為中央處理單元(Central Processing Unit,CPU)、物理處理單元(Physics Processing Unit,PPU)、可程式化之微處理器(Microprocessor)、嵌入式控制晶片、數位訊號處理器(Digital Signal Processor,DSP)、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)或其他類似裝置。The processor 110 is, for example, a central processing unit (Central Processing Unit, CPU), a physical processing unit (Physics Processing Unit, PPU), a programmable microprocessor (Microprocessor), an embedded control chip, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuits, ASIC) or other similar devices.

影像擷取器120例如是採用電荷耦合元件(Charge coupled device,CCD)鏡頭、互補式金氧半電晶體(Complementary metal oxide semiconductor transistors,CMOS)鏡頭的攝影機、照相機等。The image capture device 120 is, for example, a video camera or a camera using a charge coupled device (CCD) lens, a complementary metal oxide semiconductor transistors (CMOS) lens, or the like.

另,異常檢查裝置100還包括有儲存元件(未繪示),用以儲存至少一程式碼片段,上述程式碼片段在被安裝後,會由處理器110來執行以實現異常檢測流程。儲存元件例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合。In addition, the abnormality checking device 100 also includes a storage element (not shown) for storing at least one program code segment, which will be executed by the processor 110 to implement the abnormality detection process after being installed. The storage element is, for example, any type of fixed or removable random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), flash memory (Flash memory), hard disk or other similar devices or a combination of these devices.

在一實施例中,可採用具有處理器110的任意電子裝置搭配影像擷取器120以及載具130來實現異常檢查裝置100。所述電子裝置例如可採用個人電腦、筆記型電腦、平板電腦、智慧型手機來實現。影像擷取器120可以內建在設置有處理器110的電子裝置內,亦可為外接於設置有處理器110的電子裝置。載具130則是設置在影像擷取器120的拍攝範圍內。處理器110經配置以驅動影像擷取器120以擷取原始影像來執行異常檢測流程。In one embodiment, any electronic device having the processor 110 together with the image capture device 120 and the carrier 130 can be used to implement the abnormality checking device 100 . The electronic device can be implemented by, for example, a personal computer, a notebook computer, a tablet computer, or a smart phone. The image capture device 120 can be built in the electronic device provided with the processor 110 , or can be externally connected to the electronic device provided with the processor 110 . The carrier 130 is set within the shooting range of the image capture device 120 . The processor 110 is configured to drive the image capture unit 120 to capture raw images to execute the anomaly detection process.

圖2是依照本發明另一實施例的異常檢查裝置的示意圖。請參照圖2,異常檢查裝置200是圖1的異常檢查裝置100的應用例。在本實施例中,異常檢查裝置200是以個人電腦(包括顯示器及主機)搭配兩個影像擷取器120a、120b以及載具130來實現。影像擷取器120a、120b例如為設置在顯示器的上方,以朝向載具130的方向進行拍攝。影像擷取器120a、120b與圖1所示的影像擷取器120採用相同設計。而處理器110設置在主機內部。在此,載具130包括第一載放區域130a與第二載放區域130b。影像擷取器120a朝向第一載放區域130a拍攝,影像擷取器120b朝向第二載放區域130b拍攝。第一載放區域130a用以置放第一表面朝上的多個產品,第二載放區域130b用以置放第二表面朝上的多個產品。據此,可同時處理多個產品。FIG. 2 is a schematic diagram of an anomaly inspection device according to another embodiment of the present invention. Referring to FIG. 2 , the abnormality inspection device 200 is an application example of the abnormality inspection device 100 in FIG. 1 . In this embodiment, the abnormality inspection device 200 is realized by a personal computer (including a display and a host computer) paired with two image capture devices 120 a , 120 b and a carrier 130 . The image capture devices 120a, 120b are, for example, disposed above the display to take pictures towards the direction of the carrier 130 . The image capture devices 120a, 120b adopt the same design as the image capture device 120 shown in FIG. 1 . And the processor 110 is set inside the host. Here, the carrier 130 includes a first loading area 130a and a second loading area 130b. The image capture device 120a shoots toward the first loading area 130a, and the image capture device 120b shoots toward the second loading area 130b. The first loading area 130a is used for placing a plurality of products with the first surface facing upward, and the second loading area 130b is used for placing a plurality of products with the second surface facing upward. Accordingly, multiple products can be processed at the same time.

處理器110經配置以驅動影像擷取器120a、120b以分別擷取兩張原始影像來執行異常檢測流程。底下再舉例來說明針對一張原始影像的異常檢測流程的各步驟。The processor 110 is configured to drive the image capturers 120a, 120b to capture two original images respectively to execute the anomaly detection process. The steps of the anomaly detection process for an original image are illustrated below with an example.

圖3是依照本發明一實施例的異常檢查方法的流程圖。在本實施例中,以處理器110驅動影像擷取器120a所擷取的原始影像來說明異常檢測流程。而處理器110驅動影像擷取器120b所擷取的原始影像的異常檢測流程亦可由下述說明來類比。另,在下述說明中一併搭配圖4A~圖4E來進行說明。圖4A~圖4E是依照本發明一實施例的異常檢測流程中的影像處理的示意圖。FIG. 3 is a flowchart of an anomaly checking method according to an embodiment of the invention. In this embodiment, the anomaly detection process is described by using the original image captured by the image capture unit 120 a driven by the processor 110 . The anomaly detection process of the original image captured by the processor 110 driven by the image capture unit 120b can also be compared with the following description. In addition, in the following description, FIG. 4A to FIG. 4E are combined for description. 4A-4E are schematic diagrams of image processing in the anomaly detection process according to an embodiment of the present invention.

在步驟S305中,自原始影像中基於產品外觀切割出對應於多個產品的多個產品影像。舉例來說,以欲進行檢查的產品為記憶體模組(一種印刷電路板)來進行說明。例如,第一載放區域130a與第二載放區域130b可同時置放7片記憶體模組。在第一載放區域130a中置放7片上表面朝上的記憶體模組,在第二載放區域130b中置放另外7片下表面朝上的記憶體模組。第一載放區域130a與第二載放區域130b所能載置的記憶體模組的數量僅為舉例說明,並不以此為限。In step S305, a plurality of product images corresponding to the plurality of products are cut out from the original image based on the appearance of the product. For example, the product to be inspected is a memory module (a printed circuit board) for description. For example, the first loading area 130a and the second loading area 130b can simultaneously place seven memory modules. Seven memory modules with the upper surface facing up are placed in the first loading area 130a, and another seven memory modules with the lower surface facing up are placed in the second loading area 130b. The number of memory modules that can be loaded in the first loading area 130a and the second loading area 130b is only for illustration and is not limited thereto.

圖4A所示的原始影像410例如是由影像擷取器120a所拍攝。由圖4A可以看出包括7片記憶體模組的影像。在此,為了避免使用將多張小尺寸圖片接合所獲得的接合圖片(因接合圖片的四周會有影像重疊現象),而將影像擷取器120a設置為直接擷取第一載放區域130a上所置放的全部產品來獲得一張原始影像410。在擷取鏡頭最少機械動作影響下,影像擷取器120a直接使用高階線性攝影機,以對產品進行連續全區域高解析度全彩擷取影像。The original image 410 shown in FIG. 4A is, for example, captured by the image capture device 120a. It can be seen from FIG. 4A that the image of the 7-chip memory module is included. Here, in order to avoid using the joined picture obtained by joining multiple small-sized pictures (due to overlapping images around the joined picture), the image capture device 120a is set to directly capture all the products placed on the first loading area 130a to obtain an original image 410 . Under the influence of the least mechanical movement of the capture lens, the image capture device 120a directly uses a high-end linear camera to continuously capture full-area high-resolution full-color images of the product.

處理器110基於產品外觀將原始影像410切割出對應於各產品的產品影像。在異常檢查裝置200中包括有已訓練的產品切割模組,其用以在一大張的原始影像410中找出產品外觀的特徵,藉此在原始影像410中切割出對應的各產品的產品影像。在此,原始影像410可切割出如圖4B所示的產品影像420。The processor 110 cuts the original image 410 into product images corresponding to each product based on the appearance of the product. The abnormality inspection device 200 includes a trained product cutting module, which is used to find out the features of product appearance in a large original image 410 , so as to cut out corresponding product images of each product in the original image 410 . Here, the original image 410 can be cut out into a product image 420 as shown in FIG. 4B .

接著,在步驟S310中,將產品影像420重疊切割為多個子影像。為了避免產品影像420在切割時將異常點切割太小,使得檢測模組無法檢出,因此設計相鄰的子影像之間具有重疊部分。例如,將產品影像420切割為多張解析度為M×N的子影像,水平相鄰的兩個子影像具有重疊部分,垂直相鄰的兩個子影像具有重疊部分。其中M、N可以相等也可以不相等。Next, in step S310 , the product image 420 is overlapped and cut into a plurality of sub-images. In order to prevent the product image 420 from cutting the abnormal points too small to be detected by the detection module, an overlap between adjacent sub-images is designed. For example, the product image 420 is cut into multiple sub-images with a resolution of M×N, two horizontally adjacent sub-images have an overlapping portion, and two vertically adjacent sub-images have an overlapping portion. Where M and N can be equal or not.

在一實施例中,可設計為重疊部分為1/2的子影像大小,各子影像在水平方向上與其相鄰的子影像的重疊部分的解析度為M/2×N,各子影像在垂直方向上與其相鄰的子影像的重疊部分的解析度為M×N/2。如圖4C所示,子影像A11與子影像A12之間的重疊部分、子影像A12與子影像A13之間的重疊部分等在水平方向上的重疊部分的解析度為M/2×N。子影像A11與子影像A21之間的重疊部分、子影像A21與子影像A31之間的重疊部分等在垂直方向上的重疊部分的解析度為M×N/2。In one embodiment, the sub-image size can be designed so that the overlapping portion is 1/2, the resolution of each sub-image in the overlapping portion of its adjacent sub-image in the horizontal direction is M/2×N, and the resolution of the overlapping portion of each sub-image in the vertical direction with its adjacent sub-image is M×N/2. As shown in FIG. 4C , the resolution of overlapping portions in the horizontal direction such as the overlapping portion between the sub-image A11 and the sub-image A12 and the overlapping portion between the sub-image A12 and the sub-image A13 is M/2×N. The resolution of the overlapping portion in the vertical direction such as the overlapping portion between the sub-image A11 and the sub-image A21 , the overlapping portion between the sub-image A21 and the sub-image A31 is M×N/2.

在獲得多個子影像之後,在步驟S315中,將子影像輸入至已訓練的檢測模組,以檢測各子影像中是否存在異常區域,並在判定存在有異常區域時,輸出異常座標資訊。檢測模組用以檢測子影像中是否存在有刮傷、髒污等異常,以在判定存在有異常區域時,輸出異常座標資訊。After obtaining a plurality of sub-images, in step S315, input the sub-images to the trained detection module to detect whether there is an abnormal area in each sub-image, and output abnormal coordinate information when it is determined that there is an abnormal area. The detection module is used to detect whether there are abnormalities such as scratches and dirt in the sub-image, so as to output abnormal coordinate information when it is determined that there is an abnormal region.

在一實施例中,可僅預先訓練一個檢測模組來偵測異常。將每一個子影像輸入至檢測模組,以由檢測模組來找出子影像中是否存在異常區域。檢測模組採用卷積神經網路(Convolutional Neural Network,CNN)架構。CNN架構中具有多個層,輸入的子影像通過層層分析,最後找出最可能的答案。訓練檢測模組的方法是:先輸入大量已標記正確答案的學習材料(如標記好各種異常物件的訓練樣本影像),讓檢測模組學習如何判斷。每次檢測模組判斷結果與正確答案不符,就將這個資訊反饋到前面的網路層,調整每一層的參數,以期下次達到更準確的判斷。在一實施例中,檢測模組採用YOLO演算法。In one embodiment, only one detection module may be pre-trained to detect anomalies. Each sub-image is input to the detection module, so that the detection module finds out whether there is an abnormal region in the sub-image. The detection module adopts the Convolutional Neural Network (CNN) architecture. There are multiple layers in the CNN architecture, and the input sub-images are analyzed layer by layer, and finally the most likely answer is found. The method of training the detection module is: first input a large amount of learning materials with correct answers marked (such as training sample images with various abnormal objects marked), and let the detection module learn how to judge. Every time the judgment result of the detection module does not match the correct answer, this information is fed back to the previous network layer, and the parameters of each layer are adjusted in order to achieve a more accurate judgment next time. In one embodiment, the detection module adopts YOLO algorithm.

檢測模組在偵測到輸入的子影像中的異常物件後,會使用一個矩形框來標注此異常物件,以代表偵測到的異常物件在輸入影像中所在位置。將矩形框的中心座標(bx, by)和矩形框的長bh與寬bw作為異常座標資訊而輸出。例如,如圖4D所示,子影像430-1、430-2為具有重疊部分的兩個相鄰的子影像,在子影像430-1、430-2中分別檢測到具有刮痕的異常區域441、442(即,矩形框)。檢測模組會輸出異常區域441、442兩者對應的異常座標資訊(包括矩形框的中心座標和矩形框的長與寬)。After the detection module detects an abnormal object in the input sub-image, it will use a rectangular frame to mark the abnormal object to represent the location of the detected abnormal object in the input image. Output the center coordinates (bx, by) of the rectangular frame and the length bh and width bw of the rectangular frame as abnormal coordinate information. For example, as shown in FIG. 4D , the sub-images 430-1 and 430-2 are two adjacent sub-images with overlapping portions, and abnormal areas 441 and 442 (ie, rectangular frames) with scratches are detected in the sub-images 430-1 and 430-2, respectively. The detection module will output abnormal coordinate information (including the center coordinates of the rectangular frame and the length and width of the rectangular frame) corresponding to the abnormal regions 441 and 442 .

在另一實施例中,也可針對記憶體模組的外觀特性而預先訓練三個檢測模組,即防焊檢測模組、連接部檢測模組以及標籤檢測模組,分別用於針對防焊區域、金屬連接部以及標籤印刷區域的異常偵測。In another embodiment, three detection modules can also be pre-trained according to the appearance characteristics of the memory module, namely, a solder mask detection module, a connection detection module, and a label detection module, which are respectively used for abnormal detection of the solder mask area, the metal connection portion, and the label printing area.

例如,一般而言記憶體模組除了多個記憶體晶片之外,還包括了防焊區域、金屬連接部以及標籤印刷部。防焊區域指的是將焊罩(solder mask)覆蓋於記憶體模組的上、下表面不需要焊接的位置上,以起到防潮、絕緣、防焊、耐高溫及美觀的需求。金屬連接部是記憶體模組用來插入至插槽的鍍金連接部件,其由眾多金黃色的導電觸片組成,因其表面鍍金而且導電觸片排列如手指狀,所以俗稱為「金手指(connecting finger)」。標籤印刷部例如為條碼貼紙,其印有產品序號、製造日期、製造地、條碼等資訊。For example, in general, a memory module not only includes a plurality of memory chips, but also includes a solder resist area, a metal connection portion, and a label printing portion. The solder-proof area refers to covering the upper and lower surfaces of the memory module with a solder mask that does not need to be soldered, so as to meet the requirements of moisture-proof, insulation, solder-proof, high-temperature resistance and aesthetics. The metal connecting part is a gold-plated connecting part used to insert the memory module into the slot. It is composed of many golden-yellow conductive contacts. Because the surface is gold-plated and the conductive contacts are arranged like fingers, it is commonly called "connecting finger". The label printing part is, for example, a barcode sticker, which is printed with product serial number, date of manufacture, place of manufacture, barcode and other information.

防焊檢測模組是針對防焊區域上的異常而事先訓練的模組,用於偵測防焊區域上的異常區域。連接部檢測模組是針對金屬連接部上的異常而事先訓練的模組,用於偵測金屬連接部上的異常區域。標籤檢測模組是針對標籤印刷部上的異常而事先訓練的模組,用於偵測標籤印刷部上的異常區域。防焊檢測模組、連接部檢測模組以及標籤檢測模組例如皆是採用YOLO演算法來實現。The solder mask detection module is a module trained in advance for abnormalities on the solder mask area, and is used to detect abnormal areas on the solder mask area. The connection part detection module is a pre-trained module for abnormalities on the metal connection part, and is used to detect abnormal areas on the metal connection part. The label detection module is a module trained in advance for abnormalities on the label printing part, and is used to detect abnormal areas on the label printing part. The anti-solder detection module, the connection part detection module and the label detection module are all realized by using the YOLO algorithm, for example.

在檢測模組檢測完所有子影像之後,在步驟S320中,基於檢測模組所輸出的全部異常座標資訊,對異常區域進行合併。舉例來說,圖4E所示的合併後結果440是將圖4D所示的異常區域441、442合併所獲得。另外,在檢測完異常區域並進行合併動作之後,還可進一步在如圖4B所示的產品影像中標示出所有異常區域,並呈現至使用者介面中。例如,可在使用者介面中顯示出檢測出異常區域的產品影像,並在產品影像中標示出異常區域(合併後結果)。此外,還可進一步合計合併後的異常區域的數量,以供使用者參考。After the detection module detects all sub-images, in step S320, the abnormal regions are combined based on all the abnormal coordinate information output by the detection module. For example, the merged result 440 shown in FIG. 4E is obtained by merging the abnormal regions 441 and 442 shown in FIG. 4D . In addition, after detecting the abnormal areas and performing the merging operation, all abnormal areas can be further marked in the product image as shown in FIG. 4B and presented to the user interface. For example, the product image in which the abnormal area is detected can be displayed in the user interface, and the abnormal area can be marked in the product image (the merged result). In addition, the number of combined abnormal regions can be further summed up for user reference.

綜上所述,本揭露整合使用影像擷取器來取得包括多個產品的原始影像,並結合影像辨識來找出原始影像中的對應於各產品外觀的產品影像,進而自動地檢測出各產品影像中的異常區域。據此,可在相同的檢查標準下來檢查每一個產品的外觀,快速地檢測出具有不良風險的異常區域。To sum up, this disclosure integrates the use of an image capture device to obtain original images including multiple products, and uses image recognition to find product images corresponding to the appearance of each product in the original image, and then automatically detects abnormal areas in each product image. Accordingly, the appearance of each product can be inspected under the same inspection standard, and abnormal areas with a risk of failure can be quickly detected.

100、200:異常檢查裝置 110:處理器 120、120a、120b:影像擷取器 130:載具 130a:第一載放區域 130b:第二載放區域 410:原始影像 420:產品影像 430-1、430-2、A11、A12、A13、A21、A31:子影像 440:合併後結果 441、442:異常區域 S305~S320:異常檢查方法的步驟 100, 200: Abnormality checking device 110: Processor 120, 120a, 120b: image capture device 130: Vehicle 130a: the first loading area 130b: the second loading area 410: Original image 420: Product Image 430-1, 430-2, A11, A12, A13, A21, A31: sub image 440: Merged result 441, 442: abnormal area S305~S320: Steps of abnormality checking method

圖1是依照本發明一實施例的異常檢查裝置的方塊圖。 圖2是依照本發明另一實施例的異常檢查裝置的示意圖。 圖3是依照本發明一實施例的異常檢查方法的流程圖。 圖4A~圖4E是依照本發明一實施例的異常檢測流程中的影像處理的示意圖。 FIG. 1 is a block diagram of an abnormality checking device according to an embodiment of the invention. FIG. 2 is a schematic diagram of an anomaly inspection device according to another embodiment of the present invention. FIG. 3 is a flowchart of an anomaly checking method according to an embodiment of the invention. 4A-4E are schematic diagrams of image processing in the anomaly detection process according to an embodiment of the present invention.

S305~S320:異常檢查方法的步驟 S305~S320: Steps of the abnormality checking method

Claims (10)

一種異常檢查裝置,包括:一載具,用以置放多個產品;一第一影像擷取器,朝向該載具進行拍攝;以及一處理器,耦接至該第一影像擷取器,且經配置以驅動該第一影像擷取器以擷取一原始影像來執行一異常檢測流程,包括:自該原始影像中基於一產品外觀切割出對應於該些產品的多個產品影像;將每一產品影像重疊切割為多個子影像,其中相鄰的兩個子影像具有重疊部分;將該些子影像輸入至已訓練的至少一檢測模組,以檢測每一該些子影像中是否存在異常區域,並在判定存在有異常區域時,輸出一異常座標資訊;以及基於該至少一檢測模組所輸出的全部異常座標資訊,對所述異常區域進行合併。 An abnormality inspection device includes: a carrier for placing a plurality of products; a first image capturer for shooting toward the carrier; and a processor coupled to the first image capturer and configured to drive the first image capturer to capture an original image to perform an abnormality detection process, including: cutting out a plurality of product images corresponding to the products based on a product appearance from the original image; overlapping and cutting each product image into multiple sub-images, wherein two adjacent sub-images have overlapping parts; At least one detection module is trained to detect whether there is an abnormal area in each of the sub-images, and when it is determined that there is an abnormal area, output an abnormal coordinate information; and based on all the abnormal coordinate information output by the at least one detection module, merge the abnormal areas. 如請求項1所述的異常檢查裝置,其中該載具包括一第一載放區域與一第二載放區域,該第一影像擷取器朝向該第一載放區域拍攝,該異常檢查裝置更包括:一第二影像擷取器,朝向該第二載放區域拍攝;其中該處理器耦接至該第二影像擷取器,且經配置以驅動該第二影像擷取器以擷取另一原始影像來執行該異常檢測流程。 The abnormality inspection device as described in claim 1, wherein the carrier includes a first loading area and a second loading area, and the first image capturer shoots toward the first loading area, and the abnormality inspection device further includes: a second image capturer, shoots toward the second loading area; wherein the processor is coupled to the second image capturer, and is configured to drive the second image capturer to capture another original image to execute the abnormality detection process. 如請求項1所述的異常檢查裝置,其中水平相鄰的兩個子影像具有重疊部分,垂直相鄰的兩個子影像具有重疊部分。 The anomaly inspection device according to claim 1, wherein two horizontally adjacent sub-images have an overlapping portion, and two vertically adjacent sub-images have an overlapping portion. 如請求項1所述的異常檢查裝置,其中每一該些子影像的解析度為M×N,每一該些子影像在水平方向上與其相鄰的子影像的重疊部分的解析度為M/2×N,每一該些子影像在垂直方向上與其相鄰的子影像的重疊部分的解析度為M×N/2。 The anomaly inspection device as described in Claim 1, wherein the resolution of each of the sub-images is M×N, the resolution of the overlapping portion of each of the sub-images in the horizontal direction with its adjacent sub-image is M/2×N, and the resolution of the overlapping portion of each of the sub-images in the vertical direction with its adjacent sub-image is M×N/2. 如請求項1所述的異常檢查裝置,其中該處理器採用三個檢測模組,所述檢測模組包括一防焊檢測模組、一連接部檢測模組以及一標籤檢測模組,該處理器執行的該異常檢測流程包括:將該些子影像輸入至該防焊檢測模組以偵測在一防焊區域上是否存在異常區域;將該些子影像輸入至該連接部檢測模組以偵測在一金屬連接部上是否存在異常區域;以及將該些子影像輸入至該標籤檢測模組,以偵測在一標籤印刷區域上是否存在異常區域。 The abnormality inspection device as described in claim 1, wherein the processor uses three detection modules, the detection module includes a solder-proof detection module, a connection portion detection module and a label detection module, the abnormality detection process performed by the processor includes: inputting these sub-images to the solder-proof detection module to detect whether there is an abnormal area on a solder-proof area; inputting these sub-images to the connection portion detection module to detect whether there is an abnormal area on a metal connection portion; and inputting these sub-images to the label detection module to detect Whether there is an abnormal area on a label printing area. 一種異常檢查方法,利用一處理器執行多個步驟,包括:驅動一第一影像擷取器以擷取一原始影像來執行一異常檢測流程,包括:自該原始影像中基於一產品外觀切割出對應於多個產品的多個產品影像; 將每一產品影像重疊切割為多個子影像,其中相鄰的兩個子影像具有重疊部分;將該些子影像輸入至已訓練的至少一檢測模組,以檢測每一該些子影像中是否存在異常區域,並在判定存在有異常區域時,輸出一異常座標資訊;以及基於該至少一檢測模組所輸出的全部異常座標資訊,對所述異常區域進行合併。 An anomaly inspection method, using a processor to execute a plurality of steps, including: driving a first image capture device to capture an original image to execute an anomaly inspection process, including: cutting out a plurality of product images corresponding to a plurality of products based on a product appearance from the original image; Overlapping and cutting each product image into a plurality of sub-images, wherein two adjacent sub-images have overlapping parts; inputting the sub-images to at least one trained detection module to detect whether there is an abnormal area in each of the sub-images, and outputting an abnormal coordinate information when it is determined that there is an abnormal area; and merging the abnormal areas based on all the abnormal coordinate information output by the at least one detection module. 如請求項6所述的異常檢查方法,更包括:驅動一第二影像擷取器以擷取另一原始影像來執行該異常檢測流程,其中該些產品置放一載具,該載具包括一第一載放區域與一第二載放區域,該第一影像擷取器朝向該第一載放區域拍攝,該第二影像擷取器朝向該第二載放區域拍攝。 The abnormality inspection method described in claim 6 further includes: driving a second image capture device to capture another original image to execute the abnormality detection process, wherein the products are placed on a carrier, the carrier includes a first loading area and a second loading area, the first image capturer shoots towards the first loading area, and the second image capturer shoots towards the second loading area. 如請求項6所述的異常檢查方法,其中水平相鄰的兩個子影像具有重疊部分,垂直相鄰的兩個子影像具有重疊部分。 The anomaly checking method according to claim 6, wherein two horizontally adjacent sub-images have an overlapping portion, and two vertically adjacent sub-images have an overlapping portion. 如請求項6所述的異常檢查方法,其中每一該些子影像的解析度為M×N,每一該些子影像在水平方向上與其相鄰的子影像的重疊部分的解析度為M/2×N,每一該些子影像在垂直方向上與其相鄰的子影像的重疊部分的解析度為M×N/2。 The anomaly checking method as described in claim 6, wherein the resolution of each of the sub-images is M×N, the resolution of the overlapping portion of each of the sub-images in the horizontal direction with its adjacent sub-image is M/2×N, and the resolution of the overlapping portion of each of the sub-images in the vertical direction with its adjacent sub-image is M×N/2. 如請求項6所述的異常檢查方法,其中該處理器採用三個檢測模組,所述檢測模組包括一防焊檢測模組、一連接部檢測模組以及一標籤檢測模組, 將該些子影像輸入至該防焊檢測模組以偵測在一防焊區域上是否存在異常區域;將該些子影像輸入至該連接部檢測模組以偵測在一金屬連接部上是否存在異常區域;以及將該些子影像輸入至該標籤檢測模組,以偵測在一標籤印刷區域上是否存在異常區域。 The abnormality inspection method as described in claim 6, wherein the processor uses three detection modules, the detection modules include a solder mask detection module, a connection detection module and a label detection module, The sub-images are input to the solder resist detection module to detect whether there is an abnormal area on a solder resist area; the sub-images are input to the connection portion detection module to detect whether there is an abnormal area on a metal connection portion; and the sub-images are input to the label detection module to detect whether there is an abnormal area on a label printing area.
TW111122961A 2022-06-21 2022-06-21 Abnormal inspection apparatus and abnormal inspection method TWI808801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111122961A TWI808801B (en) 2022-06-21 2022-06-21 Abnormal inspection apparatus and abnormal inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111122961A TWI808801B (en) 2022-06-21 2022-06-21 Abnormal inspection apparatus and abnormal inspection method

Publications (2)

Publication Number Publication Date
TWI808801B true TWI808801B (en) 2023-07-11
TW202401373A TW202401373A (en) 2024-01-01

Family

ID=88149373

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111122961A TWI808801B (en) 2022-06-21 2022-06-21 Abnormal inspection apparatus and abnormal inspection method

Country Status (1)

Country Link
TW (1) TWI808801B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064454A (en) * 2018-07-12 2018-12-21 上海蝶鱼智能科技有限公司 Product defects detection method and system
CN109829914A (en) * 2019-02-26 2019-05-31 视睿(杭州)信息科技有限公司 The method and apparatus of testing product defect
CN111862067A (en) * 2020-07-28 2020-10-30 中山佳维电子有限公司 Welding defect detection method and device, electronic equipment and storage medium
TWM633152U (en) * 2022-06-21 2022-10-11 福懋科技股份有限公司 Abnormal inspection apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064454A (en) * 2018-07-12 2018-12-21 上海蝶鱼智能科技有限公司 Product defects detection method and system
CN109829914A (en) * 2019-02-26 2019-05-31 视睿(杭州)信息科技有限公司 The method and apparatus of testing product defect
CN111862067A (en) * 2020-07-28 2020-10-30 中山佳维电子有限公司 Welding defect detection method and device, electronic equipment and storage medium
TWM633152U (en) * 2022-06-21 2022-10-11 福懋科技股份有限公司 Abnormal inspection apparatus

Also Published As

Publication number Publication date
TW202401373A (en) 2024-01-01

Similar Documents

Publication Publication Date Title
TWI758609B (en) Image generation device and image generation method
JPWO2009041005A1 (en) Inspection apparatus and inspection method
KR20080089370A (en) Image binarizing method, image proccessing device and computer program
TWM633152U (en) Abnormal inspection apparatus
KR100697902B1 (en) Apparatus for inspecting printed wiring boards for mounting electronic component and method of verifing a bad pattern
TWI808801B (en) Abnormal inspection apparatus and abnormal inspection method
EP2063259A1 (en) Method for inspecting mounting status of electronic component
US20130222637A1 (en) Flicker detecting apparatus and method for camera module
US20230298155A1 (en) Information processing apparatus and information processing method
JP6330388B2 (en) Image processing method, image processing apparatus, program for executing the method, and recording medium for recording the program
US20180376059A1 (en) Image capturing apparatus and image stitching method thereof
CN105136818A (en) Printing substrate image detecting method
JP4660441B2 (en) Substrate inspection device, substrate inspection method, and program for causing a computer to function as the inspection device
JP2004053369A (en) Implemented component inspection method
JP4947887B2 (en) Process evaluation method and apparatus in semiconductor product manufacturing process
CN209982584U (en) Image acquisition device
KR101126759B1 (en) Method of teaching for electronic parts information in chip mounter
EP1725018A1 (en) Image sensor
KR101495323B1 (en) Flip chip alignment check apparatus using vent hole and method thereof
JP2006308535A (en) Selection device for learning region
JP3757891B2 (en) Foreign object detection method, foreign object detection apparatus, and imaging apparatus
CN113110757B (en) Touch display panel and touch display device
JP7496288B2 (en) Conductive member extraction device and conductive member extraction method
US11538149B2 (en) Spot detection device, spot detection method, and display device
WO2023223579A1 (en) Visual inspection assistance device