TWI712991B - Defect detection method and device with both automatic optical detection and artificial intelligence detection functions - Google Patents
Defect detection method and device with both automatic optical detection and artificial intelligence detection functions Download PDFInfo
- Publication number
- TWI712991B TWI712991B TW108136333A TW108136333A TWI712991B TW I712991 B TWI712991 B TW I712991B TW 108136333 A TW108136333 A TW 108136333A TW 108136333 A TW108136333 A TW 108136333A TW I712991 B TWI712991 B TW I712991B
- Authority
- TW
- Taiwan
- Prior art keywords
- detection
- artificial intelligence
- database
- light source
- automatic optical
- Prior art date
Links
Images
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝 置,其主要係先對待測物加以取像後,再藉由自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者個別的優勢與弱點,透過其前後程序組合建立方法,來完成互補其缺點,使漏檢率仍然可以維持最低的前提下,同時具有誤檢率也維持最低之優勢。 A defect detection method with both automatic optical detection and artificial intelligence detection functions and its device It is mainly based on first taking the image of the object to be measured, and then using the individual strengths and weaknesses of Automated Optical Inspection (AOI) and Artificial Intelligence (AI) detectors. Its pre- and post-procedures are combined to establish methods to complement its shortcomings, so that the missed detection rate can still be maintained at the lowest level, and it has the advantage of maintaining the lowest false detection rate.
Description
本發明係關於一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置;運用於光學檢測,尤指一種透過自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者其前後程序可複數可重複組合建立方法進行檢測之方法及其裝置。 The present invention relates to a defect detection method and device with both automatic optical detection and artificial intelligence detection functions; applied to optical detection, especially a method of through automatic optical inspection (Automated Optical Inspection, referred to as AOI) and artificial intelligence (Artificial Intelligence, Abbreviated as AI) The two detectors can have multiple and repeatable combinations before and after the detector to establish a method and device for detecting.
按;目前一般瑕疵檢測方法有兩類,一類是自動化光學檢測(Automated Optical Inspection,簡稱AOI),即高速高精度光學影像檢測系統,運用機器視覺配合工程師設定的幾何/灰階值條件做為檢測標準技術,作為改良以人力使用光學儀器進行檢測的缺點;另一類是運用人工智慧(Artificial Intelligence,縮寫為AI)的檢測,指由機器透過深度學習,來呈現近似人類智慧的影像判讀,以達到檢測的目的。 Press; At present, there are two types of general defect detection methods. One is Automated Optical Inspection (AOI), which is a high-speed and high-precision optical image inspection system that uses machine vision to cooperate with the geometric/grayscale value conditions set by the engineer as the inspection Standard technology, as an improvement to the shortcomings of human use of optical instruments for detection; the other is the use of artificial intelligence (Artificial Intelligence, abbreviated as AI) detection, which means that the machine uses deep learning to present image interpretation similar to human intelligence to achieve The purpose of the test.
前者自動化光學檢測(Automated Optical Inspection,簡稱AOI)的演算方式是採用以下幾種:一、二值化(Binarization)是圖像分割的一種最簡單的方法,二值化可以把灰度圖像轉換成二值圖像,把大於某個臨界灰度值的像素灰度設為灰度極大值,把小於這個值的像素灰度設為灰度極小值;二、直方 圖(Histogram)統計,是一種對數據分布情況的圖形表示,是一種二維統計圖表,它的兩個坐標分別是統計樣本和該樣本對應的某個屬性的度量;三、邊緣偵測(Edge detection),是運用圖像處理和電腦視覺能力,目的是標識數位影像中亮度變化明顯的點,圖像屬性中的顯著變化通常反映了屬性的特徵,這些檢測特徵包括(i)深度上的不連續、(ii)表面方向不連續、(iii)物質屬性變化和(iv)場景照明變化;四、物件分割,透過視訊內容物的自動分析,將物件分割。分析方法很多,比如可以用去掉均值的影像可保留畫面紋理資訊及降低光源變化與陰影對背景影響的特性、或是使用設定灰階度閾值或灰階度的微分值閾值來分割物件,可達到快速有效分割物件的目的。 The calculation method of the former Automated Optical Inspection (AOI) is the following: 1. Binarization is the simplest method of image segmentation. Binarization can convert grayscale images. To form a binary image, set the grayscale of pixels greater than a certain critical grayscale value to the maximum grayscale value, and set the grayscale of the pixel less than this value to the minimum grayscale value; 2. Histogram Histogram statistics is a graphical representation of the data distribution. It is a two-dimensional statistical chart. Its two coordinates are the measurement of a statistical sample and a certain attribute corresponding to the sample; 3. Edge detection (Edge detection) is the use of image processing and computer vision capabilities to identify points with obvious brightness changes in digital images. Significant changes in image attributes usually reflect the characteristics of the attributes. These detection features include (i) the difference in depth Continuous, (ii) discontinuous surface orientation, (iii) changes in material properties, and (iv) changes in scene lighting; fourth, object segmentation, the object is segmented through automatic analysis of video content. There are many analysis methods. For example, you can use the image with the mean value removed to retain the image texture information and reduce the characteristics of light source changes and shadows affecting the background, or use the set grayscale threshold or the grayscale differential threshold to segment the object. The purpose of dividing objects quickly and effectively.
自動化光學檢測(Automated Optical Inspection,簡稱AOI)因為可自行設定所要求的嚴緊度,使這種方法具有漏檢率低的優勢,但同時,也會造成過殺率(over kill)或稱為錯檢率過高的缺失,因此目前一般習知技術中,想要單純在自動化光學檢測(Automated Optical Inspection,簡稱AOI)方式檢測上是無法具有兩者兼顧的基本缺憾存在。 Automated Optical Inspection (AOI) can set the required tightness by itself, so this method has the advantage of low missed detection rate, but at the same time, it will also cause over kill or error. The lack of detection rate is too high. Therefore, in the current general conventional technology, it is impossible to have the basic shortcomings that it is impossible to balance the two in the automatic optical inspection (Automated Optical Inspection, referred to as AOI) method.
另,有關人工智慧(Artificial Intelligence,縮寫為AI)的檢測方法,主要係運用深度學習(deep learning),其演算方式採用:一、物件偵測(Object Detection),運用卷積神經網路(Convolutional Neural Network簡稱CNN),將圖片分類(Image classification),且利用類神經網路(Neural Network簡稱NN)解決另外一個問題,分類且定位(Classification with localization),就是將標的物,放入邊界框(bounding box),把多個物件全部偵測(Detection)出來並且定位(localization)出它們;二、分類器(classifier),透過特徵的線性組合來將具有相似特徵的對象聚集,做出分類決定。對象的特徵通常被描述為特徵值,而 在向量中則描述為特徵向量。有生成模型與判別模型,前者運用模型化條件機率原理,後者判別模型(discriminative models),這種方法是試圖去最大化一個訓練集(training set)的輸出值。 In addition, the detection method of Artificial Intelligence (AI) mainly uses deep learning, and its calculation method adopts: 1. Object Detection, using Convolutional Neural Network (Convolutional Neural Network) Neural Network (CNN for short), classifies images (Image classification), and uses Neural Network (NN for short) to solve another problem. Classification with localization is to put the subject matter into the bounding box ( bounding box, detect all multiple objects and localize them; second, the classifier, through the linear combination of features to gather objects with similar characteristics, and make classification decisions. The characteristics of the object are usually described as characteristic values, while In the vector, it is described as a feature vector. There are generative models and discriminative models. The former uses the principle of modelized conditional probability, and the latter discriminates models (discriminative models). This method is to try to maximize the output value of a training set.
人工智慧(Artificial Intelligence,縮寫為AI)因為有深度學習,仿人類智能,利用上述方法,其優點是對環境的適應較佳,綜合整體得到正確率較高,缺點在於,若單純使用深度學習中的物件偵測方法,漏檢率無法像AOI一樣低,會導致瑕疵品流入市面的風險,而單純使用深度學習中的分類器,又無法定位瑕疵的位置,而且常因瑕疵部分佔整體圖像面積的比例過小而導致正確率不佳的情形,而因此有其必須克服的困難問題重重。 Artificial Intelligence (AI) has deep learning and imitates human intelligence. The advantage of using the above method is that it adapts better to the environment and the overall accuracy is higher. The disadvantage is that if you use deep learning only In the object detection method, the missed detection rate cannot be as low as the AOI, which will lead to the risk of defective products entering the market. However, simply using the classifier in deep learning can not locate the position of the defect, and often the defect part accounts for the overall image The ratio of the area is too small, resulting in poor accuracy. Therefore, there are many difficulties and problems that must be overcome.
是以,本案發明人有鑒於習之技術之不足者,歷經多年嘔心瀝血研發而提出本案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置如下文所述。 Therefore, the inventor of the present case has, after years of painstaking research and development, in view of the deficiencies of Xi’s technology, proposes a defect detection method and device with both automatic optical detection and artificial intelligence detection functions in this case as described below.
鑒於上述習知技術所造成之缺憾,本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置之主要目的在於,應用傳統自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者個別的優勢與弱點,透過兩者組合的程序,來完成互補其缺點,使漏檢率仍然可以維持最低,同時具有誤檢率也是最低之完整效果需求。 In view of the shortcomings caused by the above-mentioned conventional technology, the main purpose of a defect detection method and device with both automatic optical detection and artificial intelligence detection functions of the present invention is to apply traditional automated optical inspection (Automated Optical Inspection, referred to as AOI) and Artificial Intelligence (AI) detectors have individual strengths and weaknesses. Through the combined process of the two, they complement their shortcomings, so that the missed detection rate can still be kept to the lowest, and the false detection rate is also the lowest. Complete effect requirements.
本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置之另一目的在於,透過自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者搭配前後程序可複數可重複組合所建立的各種檢測方法,擁有更廣泛的應用性。 Another purpose of the present invention is a defect detection method and device with both automatic optical detection and artificial intelligence detection functions. Inspection, abbreviated as AOI) and artificial intelligence (Artificial Intelligence, abbreviated as AI) detectors are combined with multiple and repeatable procedures to establish various inspection methods, which have a wider range of applications.
為達到上述及其他目的,本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,適用於光學檢測,尤指一種透過自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者其前後程序可複數可重複組合建立方法進行檢測之方法及其裝置。 In order to achieve the above and other objectives, the present invention is a defect detection method and device with both automatic optical inspection and artificial intelligence detection functions, which are suitable for optical inspection, especially a method through automated optical inspection (AOI) and Artificial Intelligence (AI) detectors can be multiple and repeatable combinations before and after two detectors to establish a method and device for detecting.
本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,實施方法包含有,主要係先應用相機治具與可動式機構結合光源裝置施以多種數次打光方式以提供不同光源控制方法開關各組燈源、可編輯燈源強度、角度並結合攝影機重複拍攝功能加以取像後,再藉由自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者個別的優勢與弱點,透過其前後程序可複數可重複組合建立方法進行檢測。 The present invention is a defect detection method and device with both automatic optical detection and artificial intelligence detection functions. The implementation method includes: firstly, a camera fixture and a movable mechanism combined with a light source device are used to apply multiple lighting methods to Provide different light source control methods to switch each group of light sources, edit the intensity and angle of the light source, and combine with the camera's repeat shooting function to take images, and then use Automated Optical Inspection (AOI) and Artificial Intelligence (Artificial Intelligence, Abbreviated as AI) The individual strengths and weaknesses of the two detectors can be detected through multiple and repeatable combinations of the preceding and following procedures.
而當該檢測對象主要用於圖像背景相對單純例如智慧型手機邊框瑕疵之檢測時,則先對待測物進行取像,再以自動化光學檢測AOI模組針對物件取像後之資訊偵測並進行自動化光學檢測AOI演算法,以設定找出圈選之偵測範圍(Region of Interest,ROI)並加以輸出存入資料庫中,再從資料庫中讀取圈選之偵測範圍輸入人工智慧檢測AI分類器加以檢測,而該人工智慧AI檢測器則可將各種不應被歸類於瑕疵的類型如灰塵等加以篩選而出分類結果,並再將該分類結果輸出存入資料庫中。 When the detection object is mainly used for the detection of relatively simple image background, such as the detection of the frame defect of a smart phone, the object to be measured is first captured, and then the automatic optical detection AOI module is used to detect the information after the object is captured. Perform automated optical inspection AOI algorithm to set and find the ROI (Region of Interest) and store it in the database, then read the ROI from the database and input artificial intelligence The AI classifier is detected for detection, and the artificial intelligence AI detector can filter various types that should not be classified as defects, such as dust, to obtain classification results, and then output the classification results into the database.
而當該檢測對象主要用在圖像背景相對複雜,但是對於瑕疵面積需要精準定義例如木紋表面的檢測時,則先對待測物進行取像,再使用人工智慧AI檢測器對物件取像後施以物件偵測(object detection)演算法,找出瑕疵的邊界框(bounding box),在瑕疵分類後加以輸出存入資料庫中,再從資料庫中讀取邊界框中的圖像以自動化光學檢測AOI模組進行物件分割,並再將該分割出之結果輸出存入資料庫中。 When the detection object is mainly used in the image background is relatively complicated, but the defect area needs to be accurately defined, such as the detection of wood grain surfaces, first take an image of the object to be measured, and then use an artificial intelligence AI detector to take the object. Apply an object detection algorithm to find out the bounding box of the flaw, output it to the database after the flaw is classified, and then read the image in the bounding box from the database for automation The optical inspection AOI module divides the object, and then outputs the result of the division into the database.
本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,該裝置主要係包括有裝載收集平台,以供待測物放置;光源裝置,該光源裝置係設於該裝載收集平台上方周緣,備具有同軸光源、線光源、背光源、環形光源、球形光源等各組燈源治具,並結合有可動式機構如機械手臂與光源攝影控制模組施以多種數次打光方式以提供不同光源控制方法開關各組燈源、可編輯燈源強度、角度;相機單元,該相機單元係與該光源裝置交錯設於該裝載收集平台上方周緣,包含有面相機治具、線相機治具等應用相機治具並結合攝影機重複拍攝功能;可動式機構,該可動式機構可為升降式機構輸送機構或機械手臂等;自動化光學檢測AOI模組,係聯訊於該相機單元與資料庫以接收待測物進行取像後或再接續之資訊並加以進行自動化光學檢測AOI演算法等;人工智慧AI檢測器,係聯訊於該相機單元與資料庫以接收待測物進行取像後或再接續之資訊並施以物件偵測(object detection)演算法等;資料庫,係分別聯訊於該自動化光學檢測AOI模組與人工智慧AI檢測器,以將待測物進行取像檢測後的結果儲存入該資料庫,並提供資訊予接續檢測或其他應用端使用。 The present invention is a defect detection method and device with both automatic optical detection and artificial intelligence detection functions. The device mainly includes a loading and collecting platform for placing the object to be tested; a light source device, which is set on the loading The upper periphery of the collection platform is equipped with various sets of light source fixtures such as coaxial light source, line light source, backlight source, ring light source, spherical light source, etc., combined with a movable mechanism such as a mechanical arm and a light source photography control module for multiple lighting The method is to provide different light source control methods to switch each group of light sources, edit the intensity and angle of the light sources; a camera unit, the camera unit and the light source device are staggered on the upper periphery of the loading and collection platform, including a surface camera fixture, a line Camera jigs and other application camera jigs combined with the camera's repeat shooting function; movable mechanism, which can be a lifting mechanism conveying mechanism or a mechanical arm, etc.; automatic optical inspection AOI module, which is connected to the camera unit and The database is used to receive the information of the object to be measured after the image is taken or reconnected, and to perform automatic optical detection AOI algorithm, etc.; the artificial intelligence AI detector is connected to the camera unit and the database to receive the object to be measured for retrieval After the image or subsequent information and apply object detection algorithms, etc.; the database is linked to the automated optical inspection AOI module and artificial intelligence AI detector to retrieve the object under test. The result of image detection is stored in the database, and information is provided for connection detection or other applications.
因此,本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,其主要係先藉由相機治具與可動式機構結合光源裝 置施以多種數次打光方式以提供不同光源控制方法開關各組燈源、可編輯燈源強度、角度並結合攝影機重複拍攝功能以達到快速收集資料功能後,再藉由自動化光學檢測(Automated Optical Inspection,簡稱AOI)與人工智慧(Artificial Intelligence,縮寫為AI)檢測器兩者個別的優勢與弱點,透過其前後程序組合建立方法進行檢測,來完成互補其缺點,使漏檢率仍然可以維持最低的前提下,同時具有誤檢率也維持最低之優勢,俾於該檢測對象主要用於圖像背景相對單純例如智慧型手機邊框瑕疵之檢測時,自動化光學檢測AOI模組所先進行的自動化光學檢測AOI演算法,可以確保擁有足夠低的漏檢率,避免瑕疵品流入市面,而檢測流程下一步驟的人工智慧檢測器AI則可以有效大幅降低誤檢率,避免不必要的損失,為一種兼顧兩者優點的檢測流程,可使整個產品的檢測流程同時兼具低漏檢率、以及低誤檢率的功能,而當該檢測對象主要用在圖像背景相對複雜但是對於瑕疵面積需要精準定義例如木紋表面的檢測時,則藉以透過該人工智慧AI檢測器檢測流程具較高背景適應性,將瑕疵的邊界框(bounding box)以及瑕疵分類輸出,這是自動化光學檢測AOI模組直接使用自動化光學檢測AOI模組演算法做不到的,讓該人工智慧AI檢測器找出瑕疵的邊界框(bounding box)後再輸出資料庫再由該自動化光學檢測AOI模組讀取資料後進行物件分割,因為自動化光學檢測AOI模組使用AOI演算法可以精準分割出瑕疵的範圍,並且計算瑕疵面積,也就補足了人工智慧AI檢測器所使用之AI演算法無法精準計算面積的缺失之優勢,因而成為本發明案之有效創意者。 Therefore, in the present invention, a defect detection method and device with both automatic optical detection and artificial intelligence detection functions are mainly combined with a light source device by a camera fixture and a movable mechanism. After applying multiple lighting methods to provide different light source control methods, switch each group of light sources, edit the intensity and angle of the light source, and combine with the camera's repeat shooting function to achieve rapid data collection, and then use automated optical detection (Automated The individual strengths and weaknesses of Optical Inspection (AOI) and Artificial Intelligence (AI) detectors are tested through a combination of procedures before and after it is established to complement their shortcomings, so that the missed detection rate can still be maintained Under the premise of the lowest, it also has the advantage of maintaining the lowest false detection rate, so that the detection object is mainly used for the detection of relatively simple image background, such as the detection of smartphone frame defects, the automatic optical inspection AOI module performs first The optical detection AOI algorithm can ensure that the missed detection rate is low enough to prevent defective products from entering the market, and the artificial intelligence detector AI in the next step of the detection process can effectively reduce the false detection rate and avoid unnecessary losses. A detection process that takes into account the advantages of both, can make the entire product detection process have the functions of low missed detection rate and low false detection rate at the same time, and when the detection object is mainly used in the image background, it is relatively complex but the defect area needs When accurately defining the detection of wood grain surfaces, for example, the artificial intelligence AI detector has a high background adaptability through the detection process, and classifies and outputs the bounding box of the defect and the defect. This is an automated optical inspection AOI module If the automatic optical inspection AOI module algorithm cannot be used directly, let the artificial intelligence AI detector find out the bounding box of the defect and then output the database and then read the data by the automatic optical inspection AOI module Object segmentation, because the automated optical inspection AOI module uses the AOI algorithm to accurately segment the defect area and calculate the defect area, which makes up for the lack of the AI algorithm used by the artificial intelligence AI detector to accurately calculate the area. Advantages, thus becoming an effective creator of the invention.
1:裝載收集平台 1: Loading the collection platform
2:光源裝置 2: Light source device
20:同軸光源 20: Coaxial light source
21:線光源 21: Line light source
3:相機單元 3: camera unit
4:自動化光學檢測AOI模組 4: Automated optical inspection AOI module
5:可動式機構 5: Movable mechanism
6:人工智慧AI檢測器 6: Artificial intelligence AI detector
7:資料庫 7: Database
第一圖係本發明實施方法之流程圖。 The first figure is a flowchart of the implementation method of the present invention.
第二圖係本發明檢測對象主要用於圖像背景相對單純檢測時之流程圖。 The second figure is a flow chart when the detection object of the present invention is mainly used for relatively simple detection of the image background.
第三圖係本發明檢測對象主要用於圖像背景相對複雜檢測時之流程圖。 The third figure is a flow chart of the present invention when the detection object is mainly used for the detection of relatively complex image background.
第四圖係本發明裝置之側視結構圖。 The fourth figure is a side view of the structure of the device of the present invention.
第五圖係本發明之方塊圖。 The fifth figure is a block diagram of the present invention.
以下係藉由特定的具體實例說明搭配本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點與功效。本發明亦可藉由其他不同的具體實例加以施行或應用,本說明書中的各項細節亦可基於不同觀點與應用,在不悖離本發明案之精神下進行各種修飾與變更。 The following is a specific example to illustrate the implementation of the present invention. Those familiar with the art can easily understand the other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied by other different specific examples. The details in this specification can also be based on different viewpoints and applications, and various modifications and changes can be made without departing from the spirit of the present invention.
首先請貴 審查委員參閱如第一、第二,與第三圖,搭配餘圖所示者,本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,其實施方法主要係包含有:先取像,係指以相機單元3對待測物物進行取像,應用相機單元3或可動式機構5如機械手臂結合光源裝置2與光源攝影控制模組4,施以多種數次打光方式以提供不同光源控制方法開關各組燈源、可編輯燈源強度、角度並結合攝影機重複拍攝功能以達到快速取像資料功能;調整檢測順序,根據需要檢測的對象,以及自動化光學檢測AOI模組4與人工智慧AI檢測器6兩者個別的優勢與弱點,選擇該自動化光學檢測AOI
模組4與人工智慧AI檢測器6檢測前後程序可複數可重複組合建立方法進行檢測;進行第一次檢測,根據調整檢測順序的排序進行第一次檢測。
First of all, please refer to the first, second, and third figures, as shown in the remaining figures, the present invention is a defect detection method and device with both automatic optical detection and artificial intelligence detection functions, and its implementation method The main system includes: first image acquisition, which means that the
第一次檢測資料輸入資料庫7,係指該自動化光學檢測AOI模組4或人工智慧AI檢測器6所做第一次檢測出之資料輸出並存入資料庫7,作為後續檢測使用或加以儲存;自資料庫7提存資料進行接續檢測,係指該自動化光學檢測AOI模組4或人工智慧AI檢測器6自資料庫7提取需要再加以檢測之資料以進行接續之資料檢測使用。
The first inspection data is input into
接續檢測後之資料再輸入資料庫7,係指該自動化光學檢測AOI模組4或人工智慧AI檢測器6所接續檢測出之資料輸出並存入資料庫7,作為後續檢測使用或加以儲存。
The data after the continuous detection is then input into the
而其中(如第二圖所示),當該檢測對象主要用於圖像背景相對單純例如智慧型手機邊框瑕疵之檢測時,則先對待測物進行取像;再以自動化光學檢測AOI模組4針對物件取像後之資訊偵測並進行自動化光學檢測AOI演算法,以設定找出圈選之偵測範圍(Region of Interest,ROI)並加以輸出存入資料庫7中;再從資料庫7中讀取圈選之偵測範圍輸入人工智慧AI檢測器6加以檢測,而該人工智慧AI檢測器6則可將各種不應被歸類於瑕疵的類型如灰塵等加以篩選而出分類結果,並再將該分類結果輸出存入資料庫7中。
Among them (as shown in the second figure), when the detection object is mainly used for the detection of relatively simple image background, such as the detection of the frame defect of a smartphone, the object to be measured is first captured; then the AOI module is automatically detected by optical 4 Perform automatic optical detection AOI algorithm for the information detection after the object is taken to set and find the detection range (Region of Interest, ROI) and output it to the
而其中(如第三圖所示),當該檢測對象主要用在圖像背景相對複雜,但是對於瑕疵面積需要精準定義例如木紋表面的檢測時,則先對待測物進行取像;再使用人工智慧AI檢測器6對物件取像後施以物件偵測(object detection)演
算法,找出瑕疵的邊界框(bounding box),在瑕疵分類後加以輸出存入資料庫7中;再從資料庫7中讀取邊界框中的圖像以自動化光學檢測AOI模組4進行物件分割,並再將該分割出之結果輸出存入資料庫7中。
Among them (as shown in the third figure), when the detection object is mainly used in the image background is relatively complex, but the defect area needs to be accurately defined, such as the detection of wood grain surfaces, first take an image of the object to be measured; then use The artificial intelligence AI detector 6 performs object detection on the object after taking an image
The algorithm finds out the bounding box of the flaw, and outputs it and stores it in the
再請貴 審查委員參閱如第四、第五圖搭配餘圖;本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,係經此方法之構思以提供:裝載收集平台1,以供待測物放置;光源裝置2,該光源裝置2係設於該裝載收集平台1上方周緣,備具有同軸光源20、線光源21、背光源、環形光源、球形光源等各組燈源治具,並結合有可動式機構5如機械手臂與光源攝影控制模組4施以多種數次打光方式以提供不同光源控制方法開關各組燈源、可編輯燈源強度、角度;相機單元3,該相機單元3係與該光源裝置2交錯設於該裝載收集平台1上方周緣,包含有相機治具、線相機治具等應用相機治具並結合攝影機重複拍攝功能與以達到快速收集資料之功能;可動式機構5,該可動式機構5可為升降式機構輸送機構或機械手臂等;自動化光學檢測AOI模組4,係聯訊於該相機單元3與資料庫7以接收待測物進行取像後或再接續之資訊並加以進行自動化光學檢測AOI演算法等;入工智慧AI檢測器6,係聯訊於該相機單元3與資料庫7以接收待測物進行取像後或再接續之資訊並施以偵測(object detection)演算法等;資料庫7,係分別聯訊於該自動化光學檢測AOI模組4與人工智慧AI檢測器6,以將待測物進行取像檢測後的結果儲存入該資料庫7,並提供資訊予
接續檢測或其他應用端使用。
Please refer to the fourth and fifth pictures with the remaining pictures; the present invention is a defect detection method and device with both automatic optical detection and artificial intelligence detection functions. The concept of this method is designed to provide: load collection Platform 1, for placing the object to be tested; light source device 2, the light source device 2 is installed on the upper periphery of the loading and collecting platform 1, equipped with coaxial light source 20, line light source 21, backlight source, ring light source, spherical light source and other groups Light source fixture, combined with a movable mechanism 5 such as a robotic arm and a light source photography control module 4 to provide multiple lighting methods to provide different light source control methods to switch each group of light sources, and edit the intensity and angle of the light source; camera Unit 3, the camera unit 3 and the light source device 2 are interleaved on the upper periphery of the loading and collection platform 1, including camera fixtures, line camera fixtures and other application camera fixtures combined with the camera's repeat shooting function to achieve rapid collection Data function; movable mechanism 5, the movable mechanism 5 can be a lifting mechanism conveying mechanism or a mechanical arm, etc.; automatic optical inspection AOI module 4, which is connected to the camera unit 3 and database 7 to receive the test After the object is captured or re-connected, it is used for automatic optical detection AOI algorithm, etc.; the smart AI detector 6 is built into the camera unit 3 and the database 7 to receive the object to be tested for after the capture Or follow the information and apply the object detection algorithm, etc.; the database 7 is connected to the automated optical inspection AOI module 4 and artificial intelligence AI detector 6 respectively to retrieve the object under test. The results of image detection are stored in the
因此,本發明案一種兼具自動化光學檢測及人工智慧檢測功能之瑕疵檢測方法及其裝置,主要係先藉由相機治具3與可動式機構5結合光源裝置2施以多種數次打光方式以提供不同光源控制方法開關各組燈源、可編輯燈源強度、角度並結合攝影機重複拍攝功能以達到快速收集資料功能後,再經由自動化光學檢測AOI模組4與人工智慧AI檢測器6兩者個別的優勢與弱點,透過其前後程序組合建立方法進行檢測,來完成互補其缺點,使漏檢率仍然可以維持最低的前提下,同時具有誤檢率也維持最低之優勢,俾於該檢測對象主要用於圖像背景相對單純例如智慧型手機邊框瑕疵之檢測時,自動化光學檢測AOI模組4所先進行的自動化光學檢測AOI演算法,可以確保擁有足夠低的漏檢率,避免瑕疵品流入市面,而檢測流程下一步驟的人工智慧AI檢測器6則可以有效大幅降低誤檢率,避免不必要的損失,為一種兼顧兩者優點的檢測流程,可使整個產品的檢測流程同時兼具低漏檢率、以及低誤檢率的功能;而當該檢測對象主要用在圖像背景相對複雜但是對於瑕疵面積需要精準定義例如木紋表面的檢測時,則藉以透過該人工智慧AI檢測器6檢測流程具較高背景適應性,將瑕疵的邊界框(bounding box)以及瑕疵分類輸出,這是自動化光學檢測AOI模組4直接使用自動化光學檢測AOI模組演算法做不到的,讓該人工智慧AI檢測器6找出瑕疵的邊界框(bounding box)後再輸出資料庫7再由該自動化光學檢測AOI模組4讀取資料後進行物件分割,因為自動化光學檢測AOI模組4使用AOI演算法可以精準分割出瑕疵的範圍,並且計算瑕疵面積,也就補足了人工智慧AI檢測器6所使用之AI演算法無法精準計算面積的缺失之優勢,因而成為本發明案之有效創意者。
Therefore, in the present invention, a defect detection method and device with both automatic optical detection and artificial intelligence detection functions are mainly implemented by using the
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108136333A TWI712991B (en) | 2019-10-08 | 2019-10-08 | Defect detection method and device with both automatic optical detection and artificial intelligence detection functions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108136333A TWI712991B (en) | 2019-10-08 | 2019-10-08 | Defect detection method and device with both automatic optical detection and artificial intelligence detection functions |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI712991B true TWI712991B (en) | 2020-12-11 |
TW202115676A TW202115676A (en) | 2021-04-16 |
Family
ID=74669955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108136333A TWI712991B (en) | 2019-10-08 | 2019-10-08 | Defect detection method and device with both automatic optical detection and artificial intelligence detection functions |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI712991B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200830132A (en) * | 2007-01-05 | 2008-07-16 | Chi Yhei Tech Internat Co Ltd | Comparison template automatic generation method of an automatized optical inspection system |
TW201336750A (en) * | 2012-01-10 | 2013-09-16 | K One Ind Pte Ltd | Flexible assembly line for cutlery packaging |
CN108830850A (en) * | 2018-06-28 | 2018-11-16 | 信利(惠州)智能显示有限公司 | Automatic optics inspection picture analyzing method and apparatus |
CN109696444A (en) * | 2019-01-18 | 2019-04-30 | 北京兆维电子(集团)有限责任公司 | A kind of condenser type mould group screen appearance detection system and method |
KR20190046225A (en) * | 2017-10-25 | 2019-05-07 | 주식회사 아이디디 | Method and apparatus for inspecting PCB pannel based on big data and artificial intelligence |
US20190197679A1 (en) * | 2017-12-25 | 2019-06-27 | Utechzone Co., Ltd. | Automated optical inspection method using deep learning and apparatus, computer program for performing the method, computer-readable storage medium storing the computer program,and deep learning system thereof |
CN209311359U (en) * | 2018-12-29 | 2019-08-27 | 深圳汇义科技有限公司 | A kind of screen appearance quality detection device |
-
2019
- 2019-10-08 TW TW108136333A patent/TWI712991B/en active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200830132A (en) * | 2007-01-05 | 2008-07-16 | Chi Yhei Tech Internat Co Ltd | Comparison template automatic generation method of an automatized optical inspection system |
TWI346885B (en) * | 2007-01-05 | 2011-08-11 | ||
TW201336750A (en) * | 2012-01-10 | 2013-09-16 | K One Ind Pte Ltd | Flexible assembly line for cutlery packaging |
KR20190046225A (en) * | 2017-10-25 | 2019-05-07 | 주식회사 아이디디 | Method and apparatus for inspecting PCB pannel based on big data and artificial intelligence |
US20190197679A1 (en) * | 2017-12-25 | 2019-06-27 | Utechzone Co., Ltd. | Automated optical inspection method using deep learning and apparatus, computer program for performing the method, computer-readable storage medium storing the computer program,and deep learning system thereof |
CN108830850A (en) * | 2018-06-28 | 2018-11-16 | 信利(惠州)智能显示有限公司 | Automatic optics inspection picture analyzing method and apparatus |
CN209311359U (en) * | 2018-12-29 | 2019-08-27 | 深圳汇义科技有限公司 | A kind of screen appearance quality detection device |
CN109696444A (en) * | 2019-01-18 | 2019-04-30 | 北京兆维电子(集团)有限责任公司 | A kind of condenser type mould group screen appearance detection system and method |
Also Published As
Publication number | Publication date |
---|---|
TW202115676A (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110314854B (en) | Workpiece detecting and sorting device and method based on visual robot | |
CN109613002B (en) | Glass defect detection method and device and storage medium | |
CN110389127B (en) | System and method for identifying metal ceramic parts and detecting surface defects | |
CN101424645B (en) | Soldered ball surface defect detection device and method based on machine vision | |
US11657599B2 (en) | Method for detecting appearance of six sides of chip multi-layer ceramic capacitor based on artificial intelligence | |
CN107966454A (en) | A kind of end plug defect detecting device and detection method based on FPGA | |
CN111667455A (en) | AI detection method for various defects of brush | |
Liu et al. | Automatic detection technology of surface defects on plastic products based on machine vision | |
CN210071686U (en) | Fruit grading plant based on orthogonal binocular machine vision | |
KR102704880B1 (en) | System for inspecting product defects by type based on a deep learning model | |
CN110554052A (en) | artificial board surface defect detection method and system | |
Chen et al. | Research on detection algorithm of lithium battery surface defects based on embedded machine vision | |
CN113256570A (en) | Visual information processing method, device, equipment and medium based on artificial intelligence | |
CN116071315A (en) | Product visual defect detection method and system based on machine vision | |
CN113177925B (en) | Method for nondestructive detection of fruit surface defects | |
CN106248634A (en) | Fruit exocuticle glossiness measurement apparatus and method | |
CN113554054A (en) | Deep learning-based semiconductor chip gold wire defect classification method and system | |
TWI712991B (en) | Defect detection method and device with both automatic optical detection and artificial intelligence detection functions | |
Gong et al. | Application of deep learning in defect Detection | |
CN117173107A (en) | Product defect detection method, device, equipment, system and readable storage medium | |
CN112763506A (en) | Flaw detection method and device with AOI and AI functions | |
CN116091506A (en) | Machine vision defect quality inspection method based on YOLOV5 | |
CN105973910A (en) | Structure and texture characteristic-based lamp tube quality detection and flaw classification method and system thereof | |
CN104165696A (en) | Material surface color feature on-line automatic detection method | |
CN114638931A (en) | Three-dimensional reconstruction method and device for boiling bubbles under bicolor double-light-path observation platform |