TWI834426B - Evaluation method, evaluation device and training method for pcb defect detection model - Google Patents
Evaluation method, evaluation device and training method for pcb defect detection model Download PDFInfo
- Publication number
- TWI834426B TWI834426B TW111147747A TW111147747A TWI834426B TW I834426 B TWI834426 B TW I834426B TW 111147747 A TW111147747 A TW 111147747A TW 111147747 A TW111147747 A TW 111147747A TW I834426 B TWI834426 B TW I834426B
- Authority
- TW
- Taiwan
- Prior art keywords
- defect
- detection model
- defect detection
- evaluation
- test image
- Prior art date
Links
- 230000007547 defect Effects 0.000 title claims abstract description 370
- 238000001514 detection method Methods 0.000 title claims abstract description 136
- 238000011156 evaluation Methods 0.000 title claims abstract description 84
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012549 training Methods 0.000 title claims abstract description 20
- 238000012360 testing method Methods 0.000 claims abstract description 140
- 238000013135 deep learning Methods 0.000 claims description 4
- 238000012854 evaluation process Methods 0.000 claims description 4
- 230000007246 mechanism Effects 0.000 claims description 4
- 230000001960 triggered effect Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 231100000225 lethality Toxicity 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000013210 evaluation model Methods 0.000 description 1
- 238000001303 quality assessment method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30141—Printed circuit board [PCB]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
Description
本發明涉及模型質量評估領域,尤其涉及一種PCB缺陷檢測模型的評估方法、評估裝置及訓練方法。 The invention relates to the field of model quality assessment, and in particular to an assessment method, assessment device and training method for a PCB defect detection model.
在典型的AI訓練過程中,缺陷圖像被輸入AI模型進行識別和分類,被識別的圖像被分配一個分數,該分數表明它們是缺陷或非缺陷(誤報缺陷)的可能性,如果這個分數高於預設的AI閾值,則認為該圖像具有真實缺陷,若該分數低於AI閾值,則認為該圖像具有誤報缺陷。 In a typical AI training process, defective images are fed into the AI model for identification and classification. Recognized images are assigned a score that indicates the likelihood that they are a defect or a non-defect (a false positive defect). If this score If the score is higher than the preset AI threshold, the image is considered to have real defects. If the score is lower than the AI threshold, the image is considered to have false positive defects.
AI閾值的合理設定關系著underkill和overkill之間的權衡,若AI閾值設定值偏低,則可能會將實際為誤報缺陷錯誤地識別成真實缺陷,殺傷力過大而造成overkill;若AI閾值設定值偏高,則可能會將實際真實缺陷錯誤地識別成誤報缺陷,殺傷力不足而造成underkill。 The reasonable setting of the AI threshold is related to the trade-off between underkill and overkill. If the AI threshold is set to a low value, a false positive defect may be mistakenly identified as a real defect, resulting in excessive lethality and overkill; if the AI threshold is set to a low value, If it is too high, the actual defects may be mistakenly identified as false positive defects, resulting in insufficient lethality and an underkill.
可以說,AI閾值的設定對模型輸出結果的準確性有著密切的關系。 It can be said that the setting of AI threshold is closely related to the accuracy of model output results.
以上背景技術內容的公開僅用於輔助理解本發明的發明構思及技術方案,其並不必然屬於本專利申請的現有技術,也不必然會給出技術教導;在沒有明確的證據表明上述內容在本專利申請的申請日之前已經公開的情況下,上述背景技術不應當用於評價本申請的新穎性和創造性。 The disclosure of the above background technology content is only used to assist in understanding the inventive concepts and technical solutions of the present invention. It does not necessarily belong to the prior art of this patent application, nor does it necessarily provide technical guidance; in the absence of clear evidence that the above content is If the patent application has been published before the filing date, the above background technology should not be used to evaluate the novelty and inventiveness of the application.
本發明的目的是提供一種PCB缺陷檢測模型的評估方法、評估裝置及訓練方法,有效評估模型的識別能力和識別收斂度。 The purpose of the present invention is to provide an evaluation method, evaluation device and training method for a PCB defect detection model to effectively evaluate the recognition ability and recognition convergence of the model.
為達到上述目的,本發明採用的技術方案如下:一種PCB缺陷檢測模型的評估方法,用於評估被預先訓練的缺陷檢測模型對PCB圖像的缺陷預測能力,所述缺陷檢測模型對PCB圖像的缺陷預測結果包括缺陷類型及相應的概率值,評估方法包括:預先建立測試圖像集,其包括多個測試圖像,每個測試圖像具有缺陷類別標籤;將所述測試圖像集中的多個測試圖像輸入待評估的缺陷檢測模型,得到與所述測試圖像一一對應的缺陷預測結果;按照得到的缺陷預測結果中的缺陷類型,對缺陷預測結 果進行分類;按照分類結果,輸出並顯示被預測為同一缺陷類型的測試圖像,且各個測試圖像的缺陷類別標籤及對應的缺陷預測結果中的概率值被配置為可查看;根據測試圖像的缺陷類別標籤及分類結果,以評估所述缺陷檢測模型識別各種缺陷類型的能力,並比較同一分類下的測試圖像對應的概率值,以評估所述缺陷檢測模型識別該類缺陷的收斂度。 In order to achieve the above purpose, the technical solution adopted by the present invention is as follows: an evaluation method of a PCB defect detection model, which is used to evaluate the defect prediction ability of a pre-trained defect detection model on PCB images. The defect prediction results include defect types and corresponding probability values. The evaluation method includes: pre-establishing a test image set, which includes multiple test images, each test image has a defect category label; Multiple test images are input into the defect detection model to be evaluated, and defect prediction results corresponding to the test images are obtained; according to the defect types in the obtained defect prediction results, the defect prediction results are Classify the results; according to the classification results, output and display the test images predicted to be the same defect type, and the defect category label of each test image and the probability value in the corresponding defect prediction result are configured to be viewable; according to the test image The defect category labels and classification results of the image are used to evaluate the ability of the defect detection model to identify various defect types, and the probability values corresponding to the test images under the same category are compared to evaluate the convergence of the defect detection model in identifying this type of defect. Spend.
進一步地,根據測試圖像的缺陷類別標籤及分類結果,計算分類正確率,若所述分類正確率低於預設的正確率閾值,則所述缺陷檢測模型識別該類缺陷的能力不合格;或者,若同一分類下的測試圖像對應的概率值的最大值與最小值的差值大於預設的差異閾值,或者,若同一分類下的測試圖像對應的概率值的方差大於預設的方差閾值,則所述缺陷檢測模型識別該類缺陷的收斂度不合格。 Further, the classification accuracy rate is calculated based on the defect category label and classification result of the test image. If the classification accuracy rate is lower than a preset accuracy threshold, the defect detection model's ability to identify this type of defect is unqualified; Or, if the difference between the maximum value and the minimum value of the probability value corresponding to the test image under the same category is greater than the preset difference threshold, or if the variance of the probability value corresponding to the test image under the same category is greater than the preset difference threshold If the variance threshold is exceeded, the defect detection model's convergence in identifying this type of defect is unqualified.
進一步地,所述PCB缺陷檢測模型的評估方法還包括:若評估結果不合格,則對所述缺陷檢測模塊進行再訓練,且所述缺陷檢測模型將學習注意力集中在識別能力或收斂度不合格的該類缺陷上。 Further, the evaluation method of the PCB defect detection model also includes: if the evaluation result is unqualified, retraining the defect detection module, and focusing the learning attention on the identification ability or convergence of the defect detection model. Qualified defects of this type.
進一步地,在所述缺陷檢測模型識別該類缺陷的收斂度合格的情況下,根據該分類下的測試圖像對應的概率值以及預設的規則,確定用於界定真實缺陷和誤報缺陷的分界分值。 Further, when the defect detection model has qualified convergence in identifying this type of defect, the boundary for defining real defects and false alarm defects is determined based on the probability value corresponding to the test image under this classification and the preset rules. Score.
進一步地,所述用於界定真實缺陷和誤報缺陷的分界分值通過以下方式確定:查找該分類下的測試圖像對應的概率值的最小值,以該最小值與預設的差異閾值作運算,得到所述分界分值;或者,計算該分類下的測試圖像對應的概率值的平均值,以該平均值與預設的差異閾值作運算,得到所述分界分值;或者,對該分類下的測試圖像對應的概率值的平均值進行排序,排除前若干個概率值和後若干個概率值,計算剩餘的概率值的平均值,以該剩餘的概率值的平均值與預設的差異閾值作運算,得到所述分界分值;其中,所述預設的差異閾值為正數、負數或零。 Further, the demarcation score used to define real defects and false alarm defects is determined by finding the minimum value of the probability value corresponding to the test image under the classification, and calculating the minimum value with the preset difference threshold. , obtain the demarcation score; or, calculate the average value of the probability values corresponding to the test images under the classification, and operate the average value with the preset difference threshold to obtain the demarcation score; or, for the Sort the average probability values corresponding to the test images under the classification, exclude the first several probability values and the last several probability values, calculate the average value of the remaining probability values, and compare the average value of the remaining probability values with the preset The difference threshold is calculated to obtain the demarcation score; wherein the preset difference threshold is a positive number, a negative number or zero.
進一步地,所述各個測試圖像的缺陷類別標籤及對應的缺陷預測結果中的概率值被配置為可查看的方式為:所述缺陷預測結果中的概率值被顯示在對應的測試圖像上的局部區域;所述測試圖像的缺陷類別標籤被配置為顯示在受觸發而出現的彈窗內,所述彈窗的觸發操作包括單擊對應的測試圖像、多擊對應的測試圖像、右鍵點擊對應的測試圖像、光標停留在對應的測試圖像上中的一種或多種。 Further, the defect category label of each test image and the probability value in the corresponding defect prediction result are configured to be viewable in such a way that the probability value in the defect prediction result is displayed on the corresponding test image. a local area of , right-click on the corresponding test image, and place the cursor on one or more of the corresponding test images.
根據本發明的一種PCB缺陷檢測模型的評估裝置,包括以下模塊:測試樣本模塊,其被配置為建立測試圖像集,其包括多 個測試圖像,每個測試圖像具有缺陷類別標籤;預測模塊,其被配置為將所述測試圖像集中的多個測試圖像輸入待評估的缺陷檢測模型,得到與所述測試圖像一一對應的缺陷預測結果;分類模塊,其被配置為按照所述預測模塊的缺陷預測結果中的缺陷類型,對缺陷預測結果進行分類;顯示模塊,其被配置為按照所述分類模塊的分類結果,輸出並顯示被預測為同一缺陷類型的測試圖像,且能夠顯示各個測試圖像的缺陷類別標籤及對應的缺陷預測結果中的概率值;識別能力評估模塊,其被配置為根據測試圖像的缺陷類別標籤及分類結果,以評估所述缺陷檢測模型識別各種缺陷類型的能力;收斂度評估模塊,其被配置為比較同一分類下的測試圖像對應的概率值,以評估所述缺陷檢測模型識別該類缺陷的收斂度。 An evaluation device for a PCB defect detection model according to the present invention includes the following modules: a test sample module, which is configured to establish a test image set, which includes a plurality of test images, each test image having a defect category label; a prediction module configured to input a plurality of test images in the test image set into a defect detection model to be evaluated, and obtain a defect detection model corresponding to the test image One-to-one corresponding defect prediction results; a classification module configured to classify the defect prediction results according to the defect types in the defect prediction results of the prediction module; a display module configured to classify according to the classification module As a result, test images predicted to be of the same defect type are output and displayed, and the defect category label of each test image and the probability value in the corresponding defect prediction result can be displayed; the recognition capability evaluation module is configured to perform the test according to the test image The defect category labels and classification results of the image are used to evaluate the ability of the defect detection model to identify various defect types; the convergence evaluation module is configured to compare the probability values corresponding to test images under the same classification to evaluate the defects. Check the convergence of the model in identifying this type of defect.
進一步地,所述識別能力評估模塊根據測試圖像的缺陷類別標籤及分類結果,計算分類正確率,若所述分類正確率低於預設的正確率閾值,則識別能力評估模塊的評估結果為所述缺陷檢測模型識別該類缺陷的能力不合格;所述收斂度評估模塊判斷同一分類下的測試圖像對應的概率值的最大值與最小值的差值是否大於預設的差異閾值,或者,判斷同一分類下的測試圖像對應的概率值的方差是否大於預 設的方差閾值,若是,則收斂度評估模塊的評估結果為所述缺陷檢測模型識別該類缺陷的收斂度不合格。 Further, the recognition ability evaluation module calculates the classification accuracy rate based on the defect category label and classification result of the test image. If the classification accuracy rate is lower than the preset accuracy threshold, the evaluation result of the recognition ability evaluation module is The defect detection model's ability to identify this type of defect is unqualified; the convergence evaluation module determines whether the difference between the maximum value and the minimum value of the probability value corresponding to the test image under the same category is greater than the preset difference threshold, or , determine whether the variance of the probability values corresponding to the test images under the same category is greater than the predetermined If the variance threshold is set, then the evaluation result of the convergence evaluation module is that the convergence of the defect detection model in identifying this type of defect is unqualified.
進一步地,所述PCB缺陷檢測模型的評估裝置還包括分界分值確定模塊,其被配置為在所述收斂度評估模塊的評估結果為所述缺陷檢測模型識別該類缺陷的收斂度合格的情況下,根據該分類下的測試圖像對應的概率值以及預設的規則,確定用於界定真實缺陷和誤報缺陷的分界分值。 Further, the evaluation device of the PCB defect detection model further includes a demarcation score determination module, which is configured to provide a qualified convergence degree for the defect detection model in identifying such defects when the evaluation result of the convergence evaluation module is Next, based on the probability value corresponding to the test image under this category and the preset rules, the dividing score used to define real defects and false positive defects is determined.
根據本發明的再一方面,提供了一種PCB缺陷檢測模型的訓練方法,利用如上所述的評估方法對當前完成訓練的缺陷檢測模型進行評估,若評估所述缺陷檢測模型識別所有類型缺陷的能力以及識別所有類型缺陷的收斂度均合格,則所述缺陷檢測模型結束訓練;否則對所述缺陷檢測模型進行再訓練,且所述缺陷檢測模型將學習注意力集中在識別能力或收斂度不合格的該類缺陷上。 According to yet another aspect of the present invention, a method for training a PCB defect detection model is provided. The evaluation method as described above is used to evaluate the currently trained defect detection model. If the ability of the defect detection model to identify all types of defects is evaluated, and the convergence of identifying all types of defects is qualified, then the defect detection model ends training; otherwise, the defect detection model is retrained, and the defect detection model focuses its learning attention on the identification ability or the convergence is unqualified of such defects.
進一步地,若評估所述缺陷檢測模型識別該類缺陷的能力不合格,則更新該類缺陷的學習樣本庫,利用更新後的學習樣本庫對所述缺陷檢測模型進行再訓練;若評估所述缺陷檢測模型識別該類缺陷的收斂度不合格,則更新或調整所述缺陷檢測模型的打分機制。 Further, if the ability of the defect detection model to identify this type of defect is evaluated to be unqualified, the learning sample library of this type of defect is updated, and the updated learning sample library is used to retrain the defect detection model; If the convergence of the defect detection model in identifying this type of defect is unqualified, the scoring mechanism of the defect detection model will be updated or adjusted.
進一步地,對所述缺陷檢測模型進行再訓練包括:確定缺陷類別標籤與分類結果不相符的測試圖像,所述缺陷檢測模型利用深度學習算法對所述缺陷類別標籤與分類結果不相符的測試 圖像進行特徵學習,以得到優化後的模型。 Further, retraining the defect detection model includes: determining test images in which the defect category label does not match the classification result, and the defect detection model uses a deep learning algorithm to test the defect category label that does not match the classification result. Feature learning is performed on the image to obtain an optimized model.
根據本發明的又一方面,提供了一種PCB缺陷檢測方法,包括以下步驟:將待檢測的PCB圖像輸入結束訓練的缺陷檢測模型,其中,所述缺陷檢測模型利用如上所述的評估方法完成評估;所述缺陷檢測模型輸出所述待檢測的PCB圖像的缺陷預測結果,若所述缺陷預測結果中的概率值高於在評估過程中確定的用於界定真實缺陷和誤報缺陷的分界分值,則所述缺陷檢測模型輸出的檢測結果為真實缺陷以及缺陷預測結果的缺陷類型;否則所述缺陷檢測模型輸出的檢測結果為誤報缺陷。 According to another aspect of the present invention, a PCB defect detection method is provided, including the following steps: inputting the PCB image to be detected into a defect detection model that has completed training, wherein the defect detection model is completed using the evaluation method as described above. Evaluation; the defect detection model outputs the defect prediction result of the PCB image to be detected, if the probability value in the defect prediction result is higher than the demarcation point determined during the evaluation process for defining real defects and false positive defects. value, then the detection result output by the defect detection model is a real defect and the defect type of the defect prediction result; otherwise, the detection result output by the defect detection model is a false positive defect.
本發明提供的技術方案帶來的有益效果如下:a.根據對測試圖像的預測結果進行分類,可以篩出評估結果OK的缺陷類型和評估結果不合格的缺陷類型,僅對評估結果不合格的缺陷類型進行再訓練學習,提高模型完成訓練的效率;b.從識別缺陷能力和收斂度兩方面綜合評估模型的能力,確保模型接受高質量、高要求的評估;c.為確定overkill和underkill分界的AI分數閾值提供了客觀的參考依據,提高模型的識別準確率。 The beneficial effects brought by the technical solution provided by the present invention are as follows: a. According to the classification of the prediction results of the test images, the defect types with OK evaluation results and the defect types with unqualified evaluation results can be screened out, and only the defect types with unqualified evaluation results can be screened out. Retrain and learn the defect types to improve the efficiency of the model in completing training; b. Comprehensively evaluate the model's ability from two aspects: defect identification ability and convergence, to ensure that the model accepts high-quality, high-demand evaluation; c. To determine overkill and underkill The demarcated AI score threshold provides an objective reference and improves the recognition accuracy of the model.
為了更清楚地說明本申請實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單 地介紹,顯而易見地,下面描述中的附圖僅僅是本申請中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments recorded in this application. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without exerting creative efforts. Picture attached.
圖1為本發明的一個示例性實施例提供的PCB缺陷檢測模型的評估方法的流程示意圖;圖2為本發明的一個示例性實施例提供的對缺陷預測結果進行分類的第一類界面示意圖;圖3為本發明的一個示例性實施例提供的對缺陷預測結果進行分類的第二類界面示意圖。 Figure 1 is a schematic flow chart of a PCB defect detection model evaluation method provided by an exemplary embodiment of the present invention; Figure 2 is a schematic diagram of the first type of interface for classifying defect prediction results provided by an exemplary embodiment of the present invention; Figure 3 is a schematic diagram of a second type of interface for classifying defect prediction results provided by an exemplary embodiment of the present invention.
為了使本技術領域的人員更好地理解本發明方案,下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分的實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。 In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of the present invention.
需要說明的是,本發明的說明書和發明申請專利範圍及上述附圖中的術語「第一」、「第二」等是用於區別類似的對象,而不必用於描述特定的順序或先後次序。應該理解這樣使用的數據在適當情況下可以互換,以便這裏描述的本發明的實施例能夠以除了在這裏圖示或描述的那些以外的順序實施。此外,術語「包 括」和「具有」以及他們的任何變形,意圖在於覆蓋不排他的包含,例如,包含了一系列步驟或單元的過程、方法、裝置、產品或設備不必限於清楚地列出的那些步驟或單元,而是可包括沒有清楚地列出的或對於這些過程、方法、產品或設備固有的其他步驟或單元。 It should be noted that the terms "first", "second", etc. in the description of the invention, the patent scope of the invention, and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. . It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the invention described herein are capable of being practiced in sequences other than those illustrated or described herein. Furthermore, the term "package "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or equipment that includes a series of steps or units need not be limited to those steps or units expressly listed , but may include other steps or elements not expressly listed or inherent to such processes, methods, products or devices.
本發明提出了一種評估工具,在評估工具的軟件中,顯示分配了AI分數(預測得到的概率值)的缺陷圖像,如圖2和圖3所示,工具中可以通過調整AI閾值來模擬結果。此軟件不僅可以獲取有關殺傷力不足和殺傷力過大的統計數據,還可以查看特定的錯誤識別圖像並創建一組新的訓練數據,該數據集專門針對有問題的(錯誤識別的)圖像。這樣的集合可用於重新訓練適當調整的AI模型,以獲得更準確的識別。 The present invention proposes an evaluation tool. In the software of the evaluation tool, defect images assigned AI scores (predicted probability values) are displayed, as shown in Figures 2 and 3. The tool can be simulated by adjusting the AI threshold. result. Not only can this software obtain statistics on underkill and overkill, it can also look at specific misidentified images and create a new set of training data that specifically targets the problematic (misidentified) images. . Such a collection can be used to retrain appropriately tuned AI models for more accurate recognition.
在本發明的一個實施例中,提供了一種PCB缺陷檢測模型的評估方法,用於評估被預先訓練的缺陷檢測模型對PCB圖像的缺陷預測能力,所述缺陷檢測模型對PCB圖像的缺陷預測結果包括缺陷類型及相應的概率值,如圖1所示,評估方法包括:預先建立測試圖像集,其包括多個測試圖像,每個測試圖像具有缺陷類別標籤;將所述測試圖像集中的多個測試圖像輸入待評估的缺陷檢測模型,得到與所述測試圖像一一對應的缺陷預測結果(包括缺陷類型及相應的概率值);按照得到的缺陷預測結果中的缺陷類型,對缺陷預測結 果進行分類;按照分類結果,輸出並顯示被預測為同一缺陷類型的測試圖像,且各個測試圖像的缺陷類別標籤及對應的缺陷預測結果中的概率值被配置為可查看;根據測試圖像的缺陷類別標籤及分類結果,以評估所述缺陷檢測模型識別各種缺陷類型的能力,並比較同一分類下的測試圖像對應的概率值,以評估所述缺陷檢測模型識別該類缺陷的收斂度。 In one embodiment of the present invention, a method for evaluating a PCB defect detection model is provided, which is used to evaluate the defect prediction ability of a pre-trained defect detection model on PCB images. The defect detection model can predict the defects of PCB images. The prediction results include defect types and corresponding probability values, as shown in Figure 1. The evaluation method includes: pre-establishing a test image set, which includes multiple test images, each test image has a defect category label; Multiple test images in the image set are input into the defect detection model to be evaluated, and defect prediction results (including defect types and corresponding probability values) corresponding to the test images are obtained; according to the obtained defect prediction results Defect type, defect prediction result Classify the results; according to the classification results, output and display the test images predicted to be the same defect type, and the defect category label of each test image and the probability value in the corresponding defect prediction result are configured to be viewable; according to the test image The defect category labels and classification results of the image are used to evaluate the ability of the defect detection model to identify various defect types, and the probability values corresponding to the test images under the same category are compared to evaluate the convergence of the defect detection model in identifying this type of defect. Spend.
具體地,比如測試圖像集包括1000張標籤為短路的測試圖像和800張標籤為斷路的測試圖像,將這1800張測試圖像輸入缺陷檢測模型,得到1800個缺陷預測結果,比如其中990張標籤為短路的測試圖像對應的缺陷預測結果為短路缺陷類型及各自的概率值,剩餘的10張中有6張被識別為斷路缺陷類型,有4張被識別為其他缺陷類型;比如其中750張標籤為斷路的測試圖像對應的缺陷預測結果為斷路缺陷類型及各自的概率值,剩餘的50張中有15張被識別為短路缺陷類型,有35張被識別為其他缺陷類型。 Specifically, for example, the test image set includes 1000 test images labeled short circuit and 800 test images labeled open circuit. These 1800 test images are input into the defect detection model to obtain 1800 defect prediction results, such as The defect prediction results corresponding to the 990 test images labeled short circuit are short circuit defect types and their respective probability values. Among the remaining 10 images, 6 were identified as open circuit defect types, and 4 were identified as other defect types; for example Among them, the defect prediction results corresponding to 750 test images labeled as open circuits are open circuit defect types and their respective probability values. Among the remaining 50 images, 15 were identified as short circuit defect types, and 35 were identified as other defect types.
那麽,比如按照預設結果中的短路缺陷類型,對缺陷預測結果進行分類,得到所述990張標籤為短路的測試圖像和所述15張被識別為短路缺陷類型、標籤為斷路的測試圖像,顯示界面如圖2和圖3所示:所述缺陷預測結果中的概率值被顯示在對應的測試圖像上的局部區域(圖2和圖3中為左上角區域);所述測 試圖像的缺陷類別標籤被配置為顯示在受觸發而出現的彈窗內(如圖2所示),所述彈窗的觸發操作包括單擊對應的測試圖像、多擊對應的測試圖像、右鍵點擊對應的測試圖像、光標停留在對應的測試圖像上中的一種或多種。 Then, for example, the defect prediction results are classified according to the short circuit defect type in the preset results, and the 990 test images labeled as short circuit and the 15 test images identified as the short circuit defect type and labeled as open circuit are obtained. The display interface is as shown in Figures 2 and 3: the probability value in the defect prediction result is displayed in a local area on the corresponding test image (the upper left corner area in Figures 2 and 3); the test The defect category label of the test image is configured to be displayed in a pop-up window that appears when triggered (as shown in Figure 2). The triggering operation of the pop-up window includes clicking the corresponding test image and multiple-clicking the corresponding test image. One or more of the following: image, right-click on the corresponding test image, or hovering the cursor on the corresponding test image.
這種將概率值直觀地顯示在測試圖像上的方式能夠直觀地看到預測概率值的整體情況,以確定一個合適的用於界定真實缺陷和誤報缺陷的分界分值,具體其確定方式在下文對評估收斂度進行詳細說明之後再闡述。 This way of visually displaying the probability value on the test image can visually see the overall situation of the predicted probability value, so as to determine an appropriate dividing score for defining real defects and false positive defects. The specific determination method is as follows The evaluation of convergence is explained in detail below.
本實施例中,評估的指標包括識別缺陷的能力和識別缺陷的收斂度:首先介紹識別缺陷的能力,以上述舉例來說,根據測試圖像的缺陷類別標籤及分類結果,計算分類正確率:有10張標籤為短路的測試圖像和15張標籤為斷路的測試圖像被識別錯誤,因此,分類正確率的計算公式可以為:100%-(10+15)/(990+15)97.5%。若以98%為預設的正確率閾值,則次缺陷檢測模型識別短路類型的缺陷的能力不合格,若以97%為預設的正確率閾值,則次缺陷檢測模型識別短路類型的缺陷的能力合格。 In this embodiment, the evaluation indicators include the ability to identify defects and the convergence of identifying defects: First, the ability to identify defects is introduced. Taking the above example, the classification accuracy rate is calculated based on the defect category label and classification result of the test image: There are 10 test images labeled as short circuit and 15 test images labeled as open circuit that were misidentified. Therefore, the calculation formula of the classification accuracy can be: 100%-(10+15)/(990+15) 97.5%. If 98% is used as the preset accuracy threshold, the secondary defect detection model’s ability to identify short-circuit type defects is unqualified. If 97% is used as the preset accuracy threshold, the secondary defect detection model’s ability to identify short-circuit type defects is insufficient. Qualified ability.
至於識別缺陷的收斂度,以上述舉例來說,比如在990張正確分類為短路的測試圖像的缺陷預測結果中,概率值的最大值為0.9,最小值為0.5,雖然都正確識別出了缺陷類型為短路,但是整體的預估概率值差異太大,或者,這990個概率值的方差太大,說明整體的預估概率值分布比較離散,則所述缺陷檢測模 型識別該類缺陷的收斂度不合格。 As for the convergence of identifying defects, taking the above example, for example, in the defect prediction results of 990 test images that were correctly classified as short circuits, the maximum value of the probability value was 0.9 and the minimum value was 0.5, although they were all correctly identified. The defect type is short circuit, but the overall estimated probability value is too different, or the variance of these 990 probability values is too large, indicating that the overall estimated probability value distribution is relatively discrete, then the defect detection model The convergence of the model to identify this type of defect is unqualified.
對PCB缺陷檢測模型進行評估是為了優化該模型:本發明實施例將缺陷預測結果進行分類,可以有效地評估在各個分類下的模型識別缺陷的能力和識別缺陷的收斂度,在一個實施例中,僅當兩者的評估結果均為合格的情況下,認為模型通過此分類(缺陷類型)下的評估。若評估結果不合格,則對所述缺陷檢測模塊進行再訓練,且所述缺陷檢測模型將學習注意力集中在識別能力或收斂度不合格的該類缺陷上。這種好處是巨大的:比如識別短路類型的缺陷的能力和收斂度均達標,而識別斷路類型的缺陷的能力和/或收斂度未達標,則優化模型的策略為將學習注意力集中在識別斷路缺陷的圖像特徵上,具體可以採用如下方式:若評估模型識別斷路缺陷的能力不合格,則更新識別斷路缺陷的學習樣本庫,利用更新後的學習樣本庫對所述缺陷檢測模型進行再訓練;或者將上述評估過程中缺陷類別標籤與分類結果不相符的測試圖像提取出來,所述缺陷檢測模型利用深度學習算法對所述缺陷類別標籤與分類結果不相符的測試圖像進行特徵學習,以得到優化後的模型。即查看特定的錯誤識別圖像並創建一組新的訓練數據,該數據集專門針對有問題的(錯誤識別的)圖像。這樣的集合可用於重新訓練適當調整的AI模型,以獲得更準確的識別。 The purpose of evaluating the PCB defect detection model is to optimize the model: the embodiment of the present invention classifies the defect prediction results, and can effectively evaluate the model's ability to identify defects and the degree of convergence in identifying defects under each classification. In one embodiment , only if the evaluation results of both are qualified, the model is considered to have passed the evaluation under this classification (defect type). If the evaluation result is unqualified, the defect detection module is retrained, and the defect detection model focuses its learning attention on the type of defects whose recognition ability or convergence is unqualified. This benefit is huge: for example, the ability to identify short-circuit type defects and the degree of convergence are up to standard, but the ability and/or convergence degree to identify open-circuit type defects are not up to standard, then the strategy for optimizing the model is to focus the learning attention on identification. Regarding the image features of circuit break defects, the following method can be adopted: if the evaluation model's ability to identify circuit break defects is unqualified, the learning sample library for identifying circuit break defects is updated, and the updated learning sample library is used to re-use the defect detection model. training; or extract the test images whose defect category labels do not match the classification results during the above evaluation process, and the defect detection model uses a deep learning algorithm to perform feature learning on the test images whose defect category labels do not match the classification results. , to obtain the optimized model. That is, look at specific misrecognized images and create a new set of training data that is specific to the problematic (misrecognized) images. Such a collection can be used to retrain appropriately tuned AI models for more accurate recognition.
若評估所述缺陷檢測模型識別該類缺陷的收斂度不合 格,則更新或調整所述缺陷檢測模型的打分機制,即相當於調節模型參數或權重值分配比例,使得預測出的概率值的離散度降低。 If the convergence degree of the defect detection model in identifying this type of defect is not satisfactory, grid, then the scoring mechanism of the defect detection model is updated or adjusted, which is equivalent to adjusting the model parameters or weight value allocation proportion, so that the dispersion of the predicted probability value is reduced.
在所述缺陷檢測模型識別該類缺陷的收斂度合格的情況下,就可以根據該分類下的測試圖像對應的概率值以及預設的規則,確定用於界定真實缺陷和誤報缺陷的分界分值,具體可採用以下方式:查找該分類下的測試圖像對應的概率值的最小值,以該最小值與預設的差異閾值作運算,得到所述分界分值;或者,計算該分類下的測試圖像對應的概率值的平均值,以該平均值與預設的差異閾值作運算,得到所述分界分值;或者,對該分類下的測試圖像對應的概率值的平均值進行排序,排除前若干個概率值和後若干個概率值,計算剩餘的概率值的平均值,以該剩餘的概率值的平均值與預設的差異閾值作運算,得到所述分界分值;其中,所述預設的差異閾值為正數、負數或零。 When the defect detection model has qualified convergence in identifying this type of defect, the demarcation line for defining real defects and false positive defects can be determined based on the probability value corresponding to the test image under this classification and the preset rules. value, specifically the following methods can be used: find the minimum value of the probability value corresponding to the test image under the classification, and operate the minimum value with the preset difference threshold to obtain the demarcation score; or, calculate the demarcation score under the classification The average value of the probability values corresponding to the test images, and the average value is calculated with the preset difference threshold to obtain the demarcation score; or, the average value of the probability values corresponding to the test images under the classification is calculated. Sort, exclude the first several probability values and the last several probability values, calculate the average value of the remaining probability values, and calculate the average value of the remaining probability values with the preset difference threshold to obtain the demarcation score; wherein , the preset difference threshold is a positive number, a negative number or zero.
根據本發明的一種PCB缺陷檢測模型的評估裝置,包括以下模塊:測試樣本模塊,其被配置為建立測試圖像集,其包括多個測試圖像,每個測試圖像具有缺陷類別標籤;預測模塊,其被配置為將所述測試圖像集中的多個測試圖像輸入待評估的缺陷檢測模型,得到與所述測試圖像一一對應的缺陷預測結果; 分類模塊,其被配置為按照所述預測模塊的缺陷預測結果中的缺陷類型,對缺陷預測結果進行分類;顯示模塊,其被配置為按照所述分類模塊的分類結果,輸出並顯示被預測為同一缺陷類型的測試圖像,且能夠顯示各個測試圖像的缺陷類別標籤及對應的缺陷預測結果中的概率值;識別能力評估模塊,其被配置為根據測試圖像的缺陷類別標簽及分類結果,以評估所述缺陷檢測模型識別各種缺陷類型的能力;收斂度評估模塊,其被配置為比較同一分類下的測試圖像對應的概率值,以評估所述缺陷檢測模型識別該類缺陷的收斂度。 An evaluation device for a PCB defect detection model according to the present invention includes the following modules: a test sample module configured to establish a test image set, which includes a plurality of test images, each test image having a defect category label; prediction A module configured to input multiple test images in the test image set into a defect detection model to be evaluated, and obtain defect prediction results corresponding to the test images one-to-one; a classification module, which is configured to classify the defect prediction results according to the defect types in the defect prediction results of the prediction module; a display module, which is configured to output and display the prediction results according to the classification results of the classification module. Test images of the same defect type, and can display the defect category labels of each test image and the probability values in the corresponding defect prediction results; a recognition capability evaluation module configured to display the defect category labels and classification results of the test images , to evaluate the ability of the defect detection model to identify various defect types; a convergence evaluation module configured to compare the probability values corresponding to test images under the same category to evaluate the convergence of the defect detection model in identifying this type of defect Spend.
進一步地,所述識別能力評估模塊根據測試圖像的缺陷類別標籤及分類結果,計算分類正確率,若所述分類正確率低於預設的正確率閾值,則識別能力評估模塊的評估結果為所述缺陷檢測模型識別該類缺陷的能力不合格;所述收斂度評估模塊判斷同一分類下的測試圖像對應的概率值的最大值與最小值的差值是否大於預設的差異閾值,或者,判斷同一分類下的測試圖像對應的概率值的方差是否大於預設的方差閾值,若是,則收斂度評估模塊的評估結果為所述缺陷檢測模型識別該類缺陷的收斂度不合格。 Further, the recognition ability evaluation module calculates the classification accuracy rate based on the defect category label and classification result of the test image. If the classification accuracy rate is lower than the preset accuracy threshold, the evaluation result of the recognition ability evaluation module is The defect detection model's ability to identify this type of defect is unqualified; the convergence evaluation module determines whether the difference between the maximum value and the minimum value of the probability value corresponding to the test image under the same category is greater than the preset difference threshold, or , determine whether the variance of the probability values corresponding to the test images under the same category is greater than the preset variance threshold. If so, the evaluation result of the convergence evaluation module is that the convergence of the defect detection model in identifying this type of defect is unqualified.
進一步地,所述PCB缺陷檢測模型的評估裝置還包括分界分值確定模塊,其被配置為在所述收斂度評估模塊的評估結果 為所述缺陷檢測模型識別該類缺陷的收斂度合格的情況下,根據該分類下的測試圖像對應的概率值以及預設的規則,確定用於界定真實缺陷和誤報缺陷的分界分值。 Further, the evaluation device of the PCB defect detection model further includes a demarcation score determination module, which is configured to determine the evaluation result of the convergence evaluation module. When the defect detection model has qualified convergence in identifying this type of defect, the demarcation score for defining real defects and false positive defects is determined based on the probability value corresponding to the test image under this classification and the preset rules.
本PCB缺陷檢測模型的評估裝置實施例與上述評估方法實施例屬於相同構思,在此通過引用的方式將上述評估方法實施例的全部內容並入本評估裝置實施例中。 The evaluation device embodiment of this PCB defect detection model has the same concept as the above-mentioned evaluation method embodiment, and the entire content of the above-mentioned evaluation method embodiment is incorporated into this evaluation device embodiment by reference.
根據本發明的再一方面,提供了一種PCB缺陷檢測模型的訓練方法,利用如上所述的評估方法對當前完成訓練的缺陷檢測模型進行評估,若評估所述缺陷檢測模型識別所有類型缺陷的能力以及識別所有類型缺陷的收斂度均合格,則所述缺陷檢測模型結束訓練;否則對所述缺陷檢測模型進行再訓練,且所述缺陷檢測模型將學習注意力集中在識別能力或收斂度不合格的該類缺陷上。 According to yet another aspect of the present invention, a method for training a PCB defect detection model is provided. The evaluation method as described above is used to evaluate the currently trained defect detection model. If the ability of the defect detection model to identify all types of defects is evaluated, and the convergence of identifying all types of defects is qualified, then the defect detection model ends training; otherwise, the defect detection model is retrained, and the defect detection model focuses its learning attention on the identification ability or the convergence is unqualified of such defects.
若評估所述缺陷檢測模型識別該類缺陷的能力不合格,則更新該類缺陷的學習樣本庫,利用更新後的學習樣本庫對所述缺陷檢測模型進行再訓練;或者,確定缺陷類別標籤與分類結果不相符的測試圖像,所述缺陷檢測模型利用深度學習算法對所述缺陷類別標籤與分類結果不相符的測試圖像進行特徵學習,以得到優化後的模型。 If the ability of the defect detection model to identify this type of defect is not qualified, update the learning sample library of this type of defect, and use the updated learning sample library to retrain the defect detection model; or, determine the defect category label and For test images whose classification results do not match, the defect detection model uses a deep learning algorithm to perform feature learning on test images whose defect category labels do not match the classification results to obtain an optimized model.
若評估所述缺陷檢測模型識別該類缺陷的收斂度不合格,則更新或調整所述缺陷檢測模型的打分機制。 If the evaluation of the defect detection model's convergence in identifying such defects is unsatisfactory, the scoring mechanism of the defect detection model is updated or adjusted.
根據本發明的又一方面,提供了一種PCB缺陷檢測方 法,包括以下步驟:將待檢測的PCB圖像輸入結束訓練的缺陷檢測模型,其中,所述缺陷檢測模型利用如上所述的評估方法完成評估;所述缺陷檢測模型輸出所述待檢測的PCB圖像的缺陷預測結果,若所述缺陷預測結果中的概率值高於在評估過程中確定的用於界定真實缺陷和誤報缺陷的分界分值,則所述缺陷檢測模型輸出的檢測結果為真實缺陷以及缺陷預測結果的缺陷類型;否則所述缺陷檢測模型輸出的檢測結果為誤報缺陷。比如比較圖2和圖3,圖2中分數(概率值)較低表明圖2中的圖像具有誤報缺陷的可能性更大,圖3中分數(概率值)較高表明圖3中的圖像具有真實缺陷的可能性更大。 According to another aspect of the present invention, a PCB defect detection method is provided The method includes the following steps: inputting the PCB image to be detected into the defect detection model that has completed training, wherein the defect detection model uses the evaluation method as described above to complete the evaluation; the defect detection model outputs the PCB to be detected Defect prediction results of the image, if the probability value in the defect prediction results is higher than the dividing score determined during the evaluation process to define real defects and false positive defects, then the detection result output by the defect detection model is true The defect and the defect type of the defect prediction result; otherwise, the detection result output by the defect detection model is a false positive defect. For example, comparing Figure 2 and Figure 3, a lower score (probability value) in Figure 2 indicates that the image in Figure 2 is more likely to have a false alarm defect, and a higher score (probability value) in Figure 3 indicates that the image in Figure 3 Like having real flaws is more likely.
需要說明的是,在本文中,諸如第一和第二等之類的關系術語僅僅用來將一個實體或者操作與另一個實體或操作區分開來,而不一定要求或者暗示這些實體或操作之間存在任何這種實際的關系或者順序。而且,術語「包括」、「包含」或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者設備所固有的要素。在沒有更多限制的情況下,由語句「包括一個……」限定的要素,並不排除在包括所述要素的過程、方法、物品或者設備中還存在另外的相同要素。 It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations are mutually exclusive. any such actual relationship or sequence exists between them. Furthermore, the terms "comprises," "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes the stated element.
以上所述僅是本申請的具體實施方式,應當指出,對於 本技術領域的普通技術人員來說,在不脫離本申請原理的前提下,還可以做出若干改進和潤飾,這些改進和潤飾也應視為本申請的保護範圍。 The above are only specific embodiments of the present application. It should be pointed out that for Those of ordinary skill in the art can make several improvements and modifications without departing from the principles of the present application, and these improvements and modifications should also be regarded as the protection scope of the present application.
Claims (13)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210703079.9A CN114842273B (en) | 2022-06-21 | 2022-06-21 | Evaluation method, evaluation device and training method of PCB defect detection model |
CN202210703079.9 | 2022-06-21 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202400991A TW202400991A (en) | 2024-01-01 |
TWI834426B true TWI834426B (en) | 2024-03-01 |
Family
ID=82573802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111147747A TWI834426B (en) | 2022-06-21 | 2022-12-13 | Evaluation method, evaluation device and training method for pcb defect detection model |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114842273B (en) |
TW (1) | TWI834426B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116739980B (en) * | 2023-05-04 | 2024-07-26 | 鲸朵(上海)智能科技有限公司 | Detection capability assessment method and device of anomaly detection model |
CN116563278B (en) * | 2023-07-06 | 2023-11-17 | 宁德时代新能源科技股份有限公司 | Detection result display method, device, computer equipment and storage medium |
CN117078674B (en) * | 2023-10-14 | 2024-01-05 | 中电鹏程智能装备有限公司 | Intelligent PCBA appearance defect detection method and detection system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112381175A (en) * | 2020-12-05 | 2021-02-19 | 中国人民解放军32181部队 | Circuit board identification and analysis method based on image processing |
CN112907562A (en) * | 2021-03-16 | 2021-06-04 | 中科海拓(无锡)科技有限公司 | MobileNet-based SMT defect classification algorithm |
WO2021109011A1 (en) * | 2019-12-04 | 2021-06-10 | 电子科技大学 | Intelligent capacitor internal defect detection method based on ultrasound image |
CN113450312A (en) * | 2021-06-03 | 2021-09-28 | 南通大学 | System and method for detecting flash defect based on ResNet64 network |
KR20210157253A (en) * | 2020-06-19 | 2021-12-28 | 아주대학교산학협력단 | Apparatus and method for learning quality estimation model of welding, and estimation apparatus using the model |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113255590A (en) * | 2021-06-25 | 2021-08-13 | 众芯汉创(北京)科技有限公司 | Defect detection model training method, defect detection method, device and system |
-
2022
- 2022-06-21 CN CN202210703079.9A patent/CN114842273B/en active Active
- 2022-12-13 TW TW111147747A patent/TWI834426B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021109011A1 (en) * | 2019-12-04 | 2021-06-10 | 电子科技大学 | Intelligent capacitor internal defect detection method based on ultrasound image |
KR20210157253A (en) * | 2020-06-19 | 2021-12-28 | 아주대학교산학협력단 | Apparatus and method for learning quality estimation model of welding, and estimation apparatus using the model |
CN112381175A (en) * | 2020-12-05 | 2021-02-19 | 中国人民解放军32181部队 | Circuit board identification and analysis method based on image processing |
CN112907562A (en) * | 2021-03-16 | 2021-06-04 | 中科海拓(无锡)科技有限公司 | MobileNet-based SMT defect classification algorithm |
CN113450312A (en) * | 2021-06-03 | 2021-09-28 | 南通大学 | System and method for detecting flash defect based on ResNet64 network |
Also Published As
Publication number | Publication date |
---|---|
CN114842273A (en) | 2022-08-02 |
TW202400991A (en) | 2024-01-01 |
CN114842273B (en) | 2022-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI834426B (en) | Evaluation method, evaluation device and training method for pcb defect detection model | |
JP6472621B2 (en) | Classifier construction method, image classification method, and image classification apparatus | |
TWI826207B (en) | Pcb defect detection system and pcb defect detection method | |
CN109946303A (en) | Check device and method | |
JP2001230289A (en) | Fault analyzing method and system | |
CN111242899B (en) | Image-based flaw detection method and computer-readable storage medium | |
TWI747686B (en) | A defect detection method and a defect detection device | |
US20230142578A1 (en) | System and method for detecting welding based on edge computing | |
CN113111903A (en) | Intelligent production line monitoring system and monitoring method | |
CN103824092A (en) | Image classification method for monitoring state of electric transmission and transformation equipment on line | |
CN111310826A (en) | Method and device for detecting labeling abnormity of sample set and electronic equipment | |
TWI707299B (en) | Optical inspection secondary image classification method | |
CN113781483B (en) | Industrial product appearance defect detection method and device | |
TWI749714B (en) | Method for defect detection, method for defect classification and system thereof | |
CN111191670A (en) | Neural network-based classification device and classification method | |
US20240013369A1 (en) | Image defect detecting system, generation method of image defect detecting system and non-transitory computer readable medium | |
JP2020077158A (en) | Image processing device and image processing method | |
CN105447511A (en) | SVM object detection method based on Adaboost Haar-Like features | |
CN115908398A (en) | Deep learning model evaluation method for industrial detection | |
KR101782366B1 (en) | Vision inspection method based on learning data using normalization of sample scale | |
CN116258908A (en) | Ground disaster prediction evaluation classification method based on unmanned aerial vehicle remote sensing image data | |
CN114596296A (en) | High-sensitivity hot-rolled steel coil end surface defect identification system and method | |
CN110728310B (en) | Target detection model fusion method and fusion system based on super-parameter optimization | |
CN114155412A (en) | Deep learning model iteration method, device, equipment and storage medium | |
CN112800257A (en) | Method for quickly adding sample training data based on image searching |