TWI635463B - Method for detecting appearance of articles with continuous image capturing function - Google Patents

Method for detecting appearance of articles with continuous image capturing function Download PDF

Info

Publication number
TWI635463B
TWI635463B TW106110391A TW106110391A TWI635463B TW I635463 B TWI635463 B TW I635463B TW 106110391 A TW106110391 A TW 106110391A TW 106110391 A TW106110391 A TW 106110391A TW I635463 B TWI635463 B TW I635463B
Authority
TW
Taiwan
Prior art keywords
image
appearance
images
processing device
information
Prior art date
Application number
TW106110391A
Other languages
Chinese (zh)
Other versions
TW201837864A (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 TW106110391A priority Critical patent/TWI635463B/en
Application granted granted Critical
Publication of TWI635463B publication Critical patent/TWI635463B/en
Publication of TW201837864A publication Critical patent/TW201837864A/en

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Manipulator (AREA)

Abstract

本發明係一種具有連續擷取影像功能的物品外觀檢測方法,主要透過一自動機械裝置吸取一待測物品進行移動,並且藉由一影像處理裝置於該待測物品的移動過程中連續擷取外觀影像,且兩相接續外觀影像的接續區域之影像相同;該影像處理裝置於擷取到外觀影像後,將兩相接續外觀影像的接續區域之影像進行比對,當判定正確,將外觀影像與該影像處理裝置內預設的一組樣品影像中相對應的影像進行驗證比對,當判定正確則代表待測物品的外觀正常,藉由連續擷取影像的方式以改善比對影像數量不足的狀況,藉此達到提升檢測效率及精確度的目的。The invention relates to a method for detecting the appearance of an article having a continuous image capturing function, which mainly moves an object to be tested through an automatic mechanical device for movement, and continuously captures the appearance of the object to be tested by an image processing device. The image is the same as the image of the contiguous area of the two-phase contiguous image; after the image processing device captures the image, the image of the contiguous area of the two-phase contiguous image is compared, and when the determination is correct, the image is The corresponding image in the preset set of sample images in the image processing device is compared and verified. When the determination is correct, the appearance of the object to be tested is normal, and the image is continuously captured to improve the number of the compared images. The situation, thereby achieving the purpose of improving detection efficiency and accuracy.

Description

具有連續擷取影像功能的物品外觀檢測方法Appearance detection method for articles with continuous image capture function

本發明係一種物體外觀檢測方法,尤指一種具有連續擷取影像功能的物品外觀檢測方法。The invention relates to an object appearance detecting method, in particular to an object appearance detecting method with a continuous capturing image function.

現在的消費者對於購買行動裝置的考量不僅要求使用效能,更要求具有特色、好看的外觀,因此,手機業者力花費許多心力,力求將行動裝置的外觀設計的如精品一般,以博得消費者的青睞。Today's consumers are not only required to use performance, but also require a distinctive and good-looking appearance. Therefore, the mobile phone industry has spent a lot of effort to strive to design the mobile device as a boutique. Favor.

目前,行動裝置的外觀設計多著重於整體形狀、按鈕造型及機殼材質、花色或紋路等,其中更以採用金屬機殼輔以金屬髮絲紋路較受消費者青睞,因此,手機業者大多採用金屬機殼;由於金屬機殼的金屬髮絲紋路較為細緻,因此機殼製造商在生產後,皆需要對每一個金屬機殼進行檢測,以檢查金屬髮絲紋路是否有斷線、紋路不正確等異常狀況。At present, the design of the mobile device is more focused on the overall shape, button shape and chassis material, color or texture, etc. Among them, the metal casing is supplemented by the metal hairline, which is favored by consumers. Therefore, the mobile phone industry mostly adopts Metal casing; because the metal hairline of the metal casing is more detailed, the casing manufacturer needs to inspect each metal casing after production to check whether the metal hairline is broken or the grain is incorrect. And other abnormal conditions.

現有技術中有一種物體外觀檢測方法是利用一自動機械裝置如機械手臂吸取金屬機殼進行移動,並且於機械手臂的每一次移動後,擷取金屬機殼當前位置的影像,以進行影像比對;但是目前的機械手臂受限於移動精度的問題,使得每一次的移動距離都過大,導致金屬機殼的前一個位置與下一個位置之間的區域並無法擷取影像,也就無法進行影像比對,而導致檢測缺失,當這些金屬機殼存在有異常時,若出貨給手機業者就可能產生商業上的賠償問題而造成損失,因此現有技術,存在有待解決的問題。In the prior art, an object appearance detecting method is to use an automatic mechanical device such as a mechanical arm to take a metal casing to move, and after each movement of the robot arm, capture an image of a current position of the metal casing for image comparison. However, the current robotic arm is limited by the problem of the accuracy of the movement, so that the moving distance is too large each time, and the area between the front position and the next position of the metal casing cannot capture the image, and the image cannot be imaged. In comparison, the detection is missing. When there is an abnormality in these metal casings, if the shipment to the mobile phone manufacturer may cause commercial compensation problems and cause losses, the prior art has problems to be solved.

有鑑於上述現有技術所存在的問題,本發明的主要目的係提供一種具有連續擷取影像功能的物品外觀檢測方法,透過一自動機械裝置吸取一待測物品進行移動,並且透過一影像處理裝置於帶測物品移動過程持續擷取影像,以提升檢測精確度,藉此達到提升檢測效率以及檢測精確度的目的。In view of the above problems in the prior art, the main object of the present invention is to provide an object appearance detecting method with a continuous image capturing function, which is obtained by taking an object to be tested by an automatic mechanical device and moving through an image processing device. The moving process of the measured item continuously captures the image to improve the detection accuracy, thereby improving the detection efficiency and the detection accuracy.

為達成上述目的所採取的技術手段,係令前述具有連續擷取影像功能的物品外觀檢測方法,係由一影像處理裝置執行,該影像處理裝置電連接一自動機械裝置,該自動機械裝置用以移動一待測物品且預設有一組以上的位置資訊,該影像處理裝置預設一組以上的樣品影像,該方法包含以下步驟: 讀取該自動機械裝置內預設的一組位置資訊,以對應產生一路徑資訊,並且根據該路徑資訊對應產生多數觸發訊號; 根據該等觸發訊號,於該自動機械裝置吸取該待測物品移動時,對應該待測物品的外觀,連續擷取多數外觀影像,且相接續的兩外觀影像之接續區域的影像相同; 將該等外觀影像的接續區域的影像進行比對; 將該等外觀影像與該組樣品影像進行比對,以輸出一比對資訊。The technical means for achieving the above object is to perform the method for detecting the appearance of an article having a continuous image capturing function, which is performed by an image processing device electrically connected to an automatic mechanical device. Moving an object to be tested and pre-setting more than one set of position information, the image processing device presets more than one set of sample images, the method comprising the steps of: reading a preset set of position information in the automatic mechanical device, Corresponding to generate a path information, and correspondingly generate a majority of the trigger signals according to the path information; according to the trigger signals, when the robot moves the object to be tested, the appearance of the object to be tested is continuously captured, and most of the appearance images are continuously captured. And the images of the contiguous areas of the two adjacent images are the same; the images of the contiguous areas of the image are compared; the images are compared with the set of sample images to output a comparison information.

透過上述方法可知,當該自動機械裝置吸取該待測物品移動時,該影像處理裝置連續擷取該待測物品的外觀影像,以提供足夠的外觀影像進行驗證比對,藉此達到提升檢測效率及精確度的目的。According to the above method, when the automatic mechanical device absorbs the movement of the object to be tested, the image processing device continuously captures the appearance image of the object to be tested to provide sufficient appearance images for verification comparison, thereby improving detection efficiency. And the purpose of precision.

關於本發明一種具有連續擷取影像功能的物品外觀檢測方法,請參閱圖1、2所示,其包括一自動機械裝置10、一影像處理裝置20及一待測物品30;本實施例中,該待測物品30可為一手機機殼。Referring to FIG. 1 and FIG. 2, the present invention includes an automatic mechanical device 10, an image processing device 20, and an object to be tested 30. In this embodiment, The item to be tested 30 can be a mobile phone case.

該自動機械裝置10包括一底座11及一機械吸取本體12,該底座11內設有一訊號處理裝置13,該訊號處理裝置13內預設有一組以上位置資訊,該組位置資訊包括一初始位置資訊及一結束位置資訊,該機械吸取本體12設置於該底座11上,並且與該訊號處理裝置13電連接,該機械吸取本體12用以吸取該待測物品30,以進行移動、旋轉;本實施例中,該自動機械裝置10為一機械手臂。The robot apparatus 10 includes a base 11 and a mechanical suction body 12. The base 11 is provided with a signal processing device 13. The signal processing device 13 is pre-positioned with more than one set of position information, and the set of position information includes an initial position information. And the end position information, the mechanical suction body 12 is disposed on the base 11 and electrically connected to the signal processing device 13, the mechanical suction body 12 is configured to suck the object to be tested 30 for movement and rotation; In the example, the robot 10 is a robot arm.

該影像處理裝置20包括一影像擷取器21、一顯示器22及一影像分析器23,該影像分析器23分別與影像擷取器21、該顯示器22電連接,該影像分析器23又與該自動機械裝置10的該訊號處理裝置13電連接,該影像分析器23內預設有一組以上樣品影像並且用來處理接收到的影像資訊;本實施例中,該影像擷取器21可為一相機;該影像分析器23為一電腦。The image processing device 20 includes an image capture device 21, a display 22, and an image analyzer 23. The image analyzer 23 is electrically connected to the image capture device 21 and the display 22, respectively. The signal processing device 13 of the robot 10 is electrically connected. The image analyzer 23 is pre-configured with a plurality of sample images and is used to process the received image information. In this embodiment, the image capturing device 21 can be a The camera; the image analyzer 23 is a computer.

首先,該影像分析器23讀取儲存在該訊號處理裝置13內的該初始位置資訊、該結束位置資訊,並且進行路徑分析,以對應產生一路徑資訊,該影像分析器23根據該路徑資訊對應產生多數影像擷取點,並且根據每一影像擷取點分別產生對應的一觸發訊號,接著該影像分析器23發送一啟動訊號至該訊號處理裝置13,令該機械吸取本體12吸取該待測物品30,並且根據該初始位置資訊,將該待測物品30移動到該影像擷取器21下方之對應的一初始位置定位,該影像分析器23將該路徑資訊發送至該訊號處理裝置13,以令機械吸取本體12帶動該待測物品30根據該路徑資訊進行移動,該影像分析器23於該待測物品30移動到對應的每一個影像擷取點時,將對應的觸發訊號發送至該影像擷取器21,令該影像擷取器21於該待測物品30移動的過程中連續擷取多數外觀影像,直到該機械吸取本體12根據該結束位置資訊,將該待測物品30移動到相對應的一結束位置停止;本實施例中,該路徑資訊包括該待測物品30從該初始位置移動至該結束位置的移動距離及移動時間。First, the image analyzer 23 reads the initial position information and the end position information stored in the signal processing device 13, and performs path analysis to generate a path information corresponding to the path information. A plurality of image capture points are generated, and a corresponding trigger signal is generated according to each image capture point, and then the image analyzer 23 sends an activation signal to the signal processing device 13 to cause the mechanical pickup body 12 to absorb the test target. And the object 30 is moved to the corresponding initial position of the image capturing device 21 according to the initial position information, and the image analyzer 23 sends the path information to the signal processing device 13 . The mechanical analyzer 12 drives the object to be tested 30 to move according to the path information. When the object to be tested 30 moves to the corresponding image capturing point, the image analyzer 23 sends a corresponding trigger signal to the object. The image capturing device 21 causes the image capturing device 21 to continuously capture most of the appearance images during the movement of the object to be tested 30 until the mechanical suction The body 12 stops moving the object to be tested 30 to a corresponding end position according to the end position information. In the embodiment, the path information includes a moving distance of the object to be tested 30 from the initial position to the end position. And moving time.

本實施例中,上述產生該等影像擷取點的方式可包含有以下兩種方式,一種方式為依照所要擷取的影像數量及影像解析度,將該路徑資訊中的移動距離以等間距的方式,產生該等影像擷取點;另一種方式為依照所要擷取的影像數量及影像解析度,將該路徑資訊中的移動時間以固定間隔時間的方式,劃分出該等影像擷取點,上述兩種方式僅是舉例,並非加以限制。In this embodiment, the manner of generating the image capturing points may include the following two methods. One method is that the moving distances in the path information are equally spaced according to the number of images to be captured and the image resolution. The method is to generate the image capturing points; the other method is to divide the moving time in the path information into the image capturing points in a fixed interval according to the number of images to be captured and the image resolution. The above two methods are merely examples and are not intended to be limiting.

本實施例中,該機械吸取本體12於停止移動時,會產生慣性晃動,為避免所擷取的外觀影像不清楚,該影像擷取器21於該機械吸取本體12吸取該待測物品30移動至初始位置及結束位置時,分別擷取一起始外觀影像、一結束外觀影像,且該起始外觀影像、該結束外觀影像均會包括一部份的環境的影像及一部份該待測物品30的影像,以提供必要的影像擷取緩衝;因此,連續擷取的外觀影像中的第一張影像即為該起始外觀影像,最後一張影像即為該結束外觀影像。In this embodiment, when the mechanical suction body 12 stops moving, inertial shaking occurs. To prevent the captured image from being unclear, the image capturing device 21 absorbs the object to be tested 30 from the mechanical suction body 12. When the initial position and the end position are respectively, a starting appearance image and an ending appearance image are captured, and the initial appearance image and the ending appearance image respectively include a part of the environment image and a part of the object to be tested. The image of 30 is provided to provide the necessary image capture buffer; therefore, the first image in the continuously captured appearance image is the initial appearance image, and the last image is the end appearance image.

由於該等外觀影像是該影像擷取器21於該待測物品30持續移動時所擷取的,因此,相接續兩外觀影像的接續區域之影像相同,請參閱圖3所示,試以該起始外觀影像A、一第一外觀影像B及一第二外觀影像C舉例說明,該起始外觀影像A包括一第一接續區域A1、一第二接續區域A2,該第一外觀影像B包括一第一接續區域B1、一第二接續區域B2,該第二外觀影像C包括一第一接續區域C1及一第二接續區域C2。Since the image is captured by the image capturing device 21 while the object to be tested 30 is continuously moved, the image of the connecting region of the two adjacent images is the same, as shown in FIG. For example, the initial appearance image A includes a first connection area A1 and a second connection area A2. The first appearance image B includes a first appearance image B and a second appearance image C. A first connection area B1 and a second connection area B2, the second appearance image C includes a first connection area C1 and a second connection area C2.

其中,該起始外觀影像的第一接續區域為環境的影像;該結束外觀影像的第二接續區域為環境的影像。The first connection area of the initial appearance image is an image of the environment; and the second connection area of the end appearance image is an image of the environment.

該影像分析器23將該起始外觀影像A的第二接續區域A2與相鄰的下一該第一外觀影像B的第一接續區域B1進行影像比對,當相同時,則判定該第一外觀影像B與該起始外觀影像A為相接續影像,且影像正常,該影像分析器23進一步將該第一外觀影像B的第二接續區域B2與相鄰的下一該第二外觀影像C的第一接續區域C1進行比對,當比對完所有相接續外觀影像的接續區域之影像,並且都判定為正常時,將該第一外觀影像B、該第二外觀影像C,與該組樣品影像中相對應的影像進行比對,當影像相同時,則判定該第一外觀影像B、該第二外觀影像C正常,即表示該待測物品30上對應該第一外觀影像B、該第二外觀影像C的區域之外觀正常,並且該影像分析器23會比對完所有外觀影像;本較佳實施例中,該影像分析器23將該結束外觀影像的第一接續區域與相鄰(相接續)的前一外觀影像的第二接續區域進行比對。The image analyzer 23 compares the second contiguous area A2 of the initial appearance image A with the first contiguous area B1 of the next adjacent first appearance image B, and when the same, determines the first The appearance image B and the initial appearance image A are consecutive images, and the image is normal. The image analyzer 23 further divides the second connection region B2 of the first appearance image B with the adjacent next second appearance image C. The first contiguous area C1 is compared. When the images of the contiguous areas of the successive appearance images are compared and both are determined to be normal, the first appearance image B and the second appearance image C are associated with the group. Comparing the corresponding images in the sample image, and determining that the first appearance image B and the second appearance image C are normal when the images are the same, that is, the first appearance image B corresponding to the object to be tested 30 is The appearance of the area of the second appearance image C is normal, and the image analyzer 23 compares all the appearance images; in the preferred embodiment, the image analyzer 23 compares the first connection area of the finished appearance image with the adjacent (connected) the previous one A second connecting area of the image for comparison.

本實施例中,當該影像分析器23比對完畢該等外觀影像,並且都判定為正常時,該影像分析器23會對應產生一正確比對資訊,並且傳送至該顯示器22顯示該待測物品30的外觀正常。In this embodiment, when the image analyzer 23 compares the appearance images and determines that they are normal, the image analyzer 23 correspondingly generates a correct comparison information, and transmits to the display 22 to display the to-be-tested. The appearance of the item 30 is normal.

本實施例中,當相接續兩外觀影像的接續區域之影像並不相同時,則該影像分析器22判定該待測物品30外觀異常,並且對應發送一第一異常比對資訊到該顯示器22顯示該待測物品30的外觀異常,以及發送至該訊號處理裝置13進行處理,以令該機械吸取本體12將該待測物品30移送至一異常區域放置,供檢測人員進行檢測。In this embodiment, when the images of the contiguous regions of the two adjacent images are not the same, the image analyzer 22 determines that the object to be tested 30 is abnormal in appearance, and correspondingly sends a first abnormal comparison information to the display 22 The appearance of the object to be tested 30 is abnormal, and is sent to the signal processing device 13 for processing, so that the mechanical suction body 12 transfers the object to be tested 30 to an abnormal area for detection by the detecting personnel.

本實施例中,該影像分析器23將該等外觀影像分別與該組樣品影像中相對應的影像進行比對,並且當其中一外觀影像所比對的結果為不一樣時,則該影像分析器23判定該待測物品30外觀異常,並且對應傳送一第二異常比對資訊到該顯示器22顯示該待測物品30的外觀異常,以及傳送至該訊號處理裝置13,以令該機械吸取本體12將該待測物品30移送至一異常區域放置。In this embodiment, the image analyzer 23 compares the appearance images with the corresponding images in the set of sample images, and when the comparison results of one of the appearance images are different, the image analysis The device 23 determines that the object to be tested 30 is abnormal in appearance, and correspondingly transmits a second abnormality comparison information to the display 22 to display an abnormal appearance of the object to be tested 30, and transmits the same to the signal processing device 13 to enable the mechanical suction body. 12 Transfer the item to be tested 30 to an abnormal area for placement.

如圖4所示,由上述本發明的較佳實施例之應用方式,可進一步歸納出一物品外觀檢測方法,主要係由一自動機械裝置10與一影像處理裝置20電連接,該自動機械裝置10內預設一組以上位置資訊,該影像處理裝置20內預設一組以上樣品影像,該自動機械裝置10吸取一待測物品30進行移動,供該影像處理裝置20擷取影像,並且由該影像處理裝置20執行以下步驟: 讀取該自動機械裝置10內預設的一組位置資訊,以對應產生一路徑資訊,並且根據該路徑資訊對應產生多數觸發訊號(S10);本實施例中,該組位置資訊可供使用者根據該待測物品30尺寸大小不同,而自行設定; 根據該等觸發訊號,於該自動機械裝置10吸取該待測物品30移動時,對應該待測物品30的外觀,連續擷取多數外觀影像,且相接續外觀影像的接續區域的影像相同(S20); 將相接續外觀影像的接續區域的影像進行比對(S30); 將該等外觀影像與該組樣品影像進行比對,以輸出一比對資訊(S40)。As shown in FIG. 4, the application method of the preferred embodiment of the present invention can further summarize an object appearance detecting method, which is mainly connected by an automatic mechanical device 10 and an image processing device 20, the automatic mechanical device. Presetting a set of more than one position information in the image processing device 20, the automaton device 10 picks up an object to be tested 30 for movement, and the image processing device 20 captures the image, and The image processing device 20 performs the following steps: reading a preset set of position information in the automatic mechanical device 10 to generate a path information correspondingly, and generating a majority trigger signal according to the path information (S10); The position information of the group can be set by the user according to the size of the object to be tested 30. According to the trigger signals, when the robot 10 picks up the object to be tested 30, the corresponding item 30 is determined. Appearance, continuously captures most of the appearance image, and the image of the connection area of the continuous appearance image is the same (S20); the connection area of the continuous appearance image The images are compared (S30); the appearance images are compared with the set of sample images to output a comparison information (S40).

因此,檢測人員藉由該影像處理裝置20根據該組位置資訊,以產生該路徑資訊,以令該自動機械裝置10依據該路徑資訊吸取該待測物品30移動,因此,當上述步驟執行到「讀取該自動機械裝置10內預設的一組位置資訊,以對應產生一路徑資訊,並且根據該路徑資訊對應產生多數觸發訊號(S10)」的步驟時,如圖5所示,更包括以下次步驟: 根據該組位置資訊中的一初始位置資訊、一結束位置資訊進行路徑分析,以對應產生一路徑資訊(S11);本實施例中,該自動機械裝置10根據該初始位置資訊,將該待測物品30移動到一初始位置定位,使該影像處理裝置20可擷取影像,該自動機械裝置10根據該結束位置資訊,將該待測物品30移動到一結束位置定位,使該影像處理裝置20停止擷取影像;該影像處理模組20將該路徑資訊傳送至該自動機械裝置10,以令該自動機械裝置10根據該路徑資訊進行移動; 根據該路徑資訊對應產生多數影像擷取點,並且根據該等影像擷取點分別產生對應的觸發訊號(S12);本實施例中,該路徑資訊包括有該待測物品30從該初始位置移動至該結束位置的移動距離及移動時間;該等影像擷取點,依照所需擷取的影像數量及影像解析度,將該路徑資訊中的移動距離,以等間距的方式產生該等影像擷取點;或者將該路徑資訊中的移動時間,以固定間隔時間的方式產生該等影像擷取點。Therefore, the image detecting device 20 generates the path information according to the set of position information by the image processing device 20, so that the robot 10 absorbs the object to be tested 30 according to the path information, and therefore, when the step is performed, When a set of position information preset in the robot mechanism 10 is read to correspondingly generate a path information, and a step of generating a plurality of trigger signals (S10) according to the path information, as shown in FIG. 5, the following is further included. Sub-step: performing path analysis according to an initial position information and an end position information in the group position information to generate a path information correspondingly (S11); in this embodiment, the robot mechanism 10 according to the initial position information The object to be tested 30 is moved to an initial position, so that the image processing device 20 can capture an image, and the robot 10 moves the object to be tested 30 to an end position according to the end position information, so that the image is displayed. The processing device 20 stops capturing the image; the image processing module 20 transmits the path information to the automatic mechanical device 10 to make the automatic mechanical device 1 0 is generated according to the path information; a plurality of image capture points are generated according to the path information, and corresponding trigger signals are generated according to the image capture points (S12); in this embodiment, the path information includes the Moving distance and moving time of the measured article 30 from the initial position to the ending position; the image capturing points, according to the number of images to be captured and the image resolution, the moving distance in the path information, etc. The spacing method generates the image capturing points; or the moving time in the path information is generated at a fixed interval time.

該自動機械裝置10根據該路徑資訊吸取該待測物品30進行移動,當該待測物品30移動到每一個影像擷取點時,該影像處理裝置20根據每一個影像擷取點所對應的觸發訊號,並且於該待測物品30持續移動時,連續擷取該待測物品30的多數外觀影像,並且相接續外觀影像的接續區域之影像相同。The robot mechanism 10 absorbs the object to be tested 30 according to the path information, and when the object to be tested 30 moves to each image capturing point, the image processing device 20 triggers according to each image capturing point. The signal, and when the object to be tested 30 continues to move, continuously captures most of the appearance images of the object to be tested 30, and the images of the contiguous regions of the successive appearance images are the same.

該影像處理裝置20將相接續外觀影像的接續區域進行比對,當相接續外觀影像的接續區域之影像相同時,則與該組樣品影像中相對應的影像進行比較;當相接續外觀影像的接續區域之影像不相同時,該影像處理裝置20對應輸出一第一異常比對資訊,供檢測人員得知該待測物品30的外觀異常,並且同時傳送至該自動機械裝置10,以令該自動機械裝置10將該待測物品30移送至一異常區域放置。The image processing device 20 compares the contiguous regions of the successive appearance images, and when the images of the contiguous regions of the successive appearance images are the same, compares with the corresponding images in the set of sample images; When the image of the splicing area is different, the image processing apparatus 20 outputs a first abnormality comparison information for the detecting personnel to know that the appearance of the object to be tested 30 is abnormal, and simultaneously transmits to the automatic mechanical device 10 to make the image The robot 10 transfers the article to be tested 30 to an abnormal area for placement.

因此,由上述可知,當所有相接續外觀影像的接續區域之影像相同後,為要進一步確認該外觀影像是否有異常,該影像處理模組20將該等外觀影像與該組樣品影像中相對應的影像進行比對,當該外觀影像與該組樣品影像中相對應的影像不相同時,則輸出的比對資訊對應為一第二異常比對資訊,供檢測人員得知該待測物品30的外觀異常,並且同時傳送至該自動機械裝置10,以令該自動機械裝置10將該待測物品30移送至該異常區域放置;若該等外觀影像與該組樣品影像中相對應的影像均相同時,該影像處理裝置20輸出的比對資訊對應為一正確比對資訊,供檢測人員得知,該待測物品30的外觀正常。Therefore, it can be seen from the above that after the images of the contiguous areas of the successive appearance images are the same, in order to further confirm whether the appearance image is abnormal, the image processing module 20 corresponds the appearance images to the set of sample images. When the image is different from the corresponding image in the sample image, the output comparison information corresponds to a second abnormal comparison information for the detecting personnel to know the object to be tested 30. The appearance is abnormal, and is simultaneously transmitted to the robot mechanism 10, so that the robot mechanism 10 transfers the object to be tested 30 to the abnormal area; if the appearance images and the corresponding images in the group of sample images are In the same case, the comparison information output by the image processing device 20 corresponds to a correct comparison information, and the detecting personnel knows that the appearance of the object to be tested 30 is normal.

綜上所述,本發明透過該自動機械裝置10吸取該待測物品30進行移動,並且透過該影像處理裝置20於該待測物品30的移動過程中,對該待測物品30的外觀連續擷取該等外觀影像,並且所擷取的外觀影像中相接續外觀影像的接續區域之影像相同,該影像裝置20比對相接續外觀影像的接續區域之影像是否相同,以判斷該等外觀影像是否不連續、或有異常後,更將該等外觀影像與該組樣品影像中相對應的影像進行比對,以進一步確認該等外觀影像是否正常,藉由連續擷取影像的方式以改善比對影像數量不足的狀況,藉此達到提升檢測效率及精確度的目的。In summary, the present invention moves the object to be tested 30 by the robot mechanism 10 and moves through the image processing device 20 during the movement of the object to be tested 30. Taking the appearance images, and the images of the successive areas of the successive appearance images in the captured appearance image are the same, and the image device 20 compares the images of the connection areas of the successive appearance images to determine whether the appearance images are the same. After the discontinuity or abnormality, the appearance images are compared with the corresponding images in the set of sample images to further confirm whether the appearance images are normal, and the images are continuously captured to improve the comparison. The situation that the number of images is insufficient, thereby achieving the purpose of improving detection efficiency and accuracy.

10‧‧‧自動機械裝置10‧‧‧Automatic mechanical devices

11‧‧‧底座11‧‧‧Base

12‧‧‧機械吸取本體12‧‧‧ mechanical suction body

13‧‧‧訊號處理裝置13‧‧‧Signal processing unit

20‧‧‧影像處理裝置20‧‧‧Image processing device

21‧‧‧影像擷取器21‧‧‧Image capture device

22‧‧‧顯示器22‧‧‧ display

23‧‧‧影像分析器23‧‧‧Image Analyzer

30‧‧‧待測物品30‧‧‧ Items to be tested

圖1 係本發明較佳實施例的自動機械裝置及影像處理裝置之立體外觀圖。 圖2 係本發明較佳實施例的自動機械裝置及影像處理裝置之動作示意圖。 圖3 係本發明較佳實施例的外觀影像示意圖。 圖4 係本發明較佳實施例的第一方法流程圖。 圖5 係本發明較佳實施例的第二方法流程圖。1 is a perspective view of an automatic mechanical device and an image processing device according to a preferred embodiment of the present invention. 2 is a schematic view showing the operation of the automatic mechanical device and the image processing device according to the preferred embodiment of the present invention. 3 is a schematic view of an appearance image of a preferred embodiment of the present invention. 4 is a flow chart of a first method of a preferred embodiment of the present invention. Figure 5 is a flow chart of a second method of the preferred embodiment of the present invention.

Claims (9)

一種具有連續擷取影像功能的物品外觀檢測方法,係由一影像處理裝置執行,該影像處理裝置電連接一自動機械裝置,該自動機械裝置用以移動一待測物品且預設有一組以上的位置資訊,該影像處理裝置預設一組以上的樣品影像,其中該自動機械裝置包括一底座、一機械吸取本體及一訊號處理裝置,該機械吸取本體設置於該底座上,該訊號處理裝置設置於該底座內並且與該機械吸取本體電連接,該機械吸取本體用以吸取該待測物品進行移動,該訊號處理裝置用以處理所接收到的資訊;上述該組位置資訊預設於該訊號處理裝置內,並且該方法包含以下步驟:讀取該自動機械裝置內預設的一組位置資訊,以對應產生一路徑資訊,並且根據該路徑資訊對應產生多數觸發訊號;根據該等觸發訊號,於該自動機械裝置吸取該待測物品移動時,對應該待測物品的外觀,連續擷取多數外觀影像,且相接續的兩外觀影像之接續區域的影像相同;將該等續外觀影像的接續區域的影像進行比對;將該等外觀影像與該組樣品影像進行比對,以輸出一比對資訊。 An object appearance detecting method with a continuous image capturing function is performed by an image processing device, and the image processing device is electrically connected to an automatic mechanical device for moving an object to be tested and pre-set with more than one set. Position information, the image processing device presets a plurality of sample images, wherein the robot mechanism comprises a base, a mechanical suction body and a signal processing device, the mechanical suction body is disposed on the base, and the signal processing device is configured In the base and electrically connected to the mechanical suction body, the mechanical suction body is configured to absorb the object to be tested for movement, and the signal processing device is configured to process the received information; the set of position information is preset to the signal Processing the device, and the method includes the steps of: reading a preset set of position information in the automechanical device to generate a path information correspondingly, and generating a majority of the trigger signals according to the path information; according to the trigger signals, When the automatic mechanical device absorbs the movement of the object to be tested, corresponding to the item to be tested Appearance, continuously capturing most of the appearance images, and the images of the contiguous areas of the successive two appearance images are the same; comparing the images of the contiguous areas of the continuation appearance images; comparing the appearance images with the group of sample images Yes, to output a comparison information. 如請求項1所述之具有連續擷取影像功能的物品外觀檢測方法,在該「讀取該自動機械裝置內預設的一組位置資訊,以對應產生一路徑資訊,並且根據該路徑資訊對應產生多數觸發訊號」步驟中,更包括以下次步驟:根據該組位置資訊中的一初始位置資訊、一結束位置資訊進行路徑分析,以對應產生該路徑資訊;根據該路徑資訊對應產生多數影像擷取點,並且根據該等影像擷取點分別產生對應的觸發訊號。 The method for detecting an appearance of an item having the function of continuously capturing images as described in claim 1 is: “reading a set of position information preset in the automatic mechanical device to generate a path information correspondingly, and corresponding to the path information according to the path information. In the step of generating a majority of trigger signals, the method further includes the following steps: performing path analysis according to an initial position information and an end position information in the group position information to generate the path information correspondingly; and generating a majority image according to the path information. The points are taken, and corresponding trigger signals are generated according to the image capturing points. 如請求項2所述之具有連續擷取影像功能的物品外觀檢測方法,其中每一外觀影像各別包括一第一接續區域、一第二接續區域,該影像處理裝置將相接續的兩外觀影像中,後一個外觀影像之第一接續區域,與前一個外觀影像的第二接續區域進行比對,當後一個外觀影像之第一接續區域與前一個外觀影像的第二接續區域不相同時,該影像處理裝置發送一第一異常比對資訊至該自動機械裝置,以令該自動機械裝置將該待測物品吸取至一異常區域放置。 The method for detecting the appearance of an item having the function of continuously capturing images as described in claim 2, wherein each of the appearance images includes a first connection area and a second connection area, and the image processing device transmits the two adjacent appearance images. The first contiguous area of the next appearance image is compared with the second contiguous area of the previous appearance image, when the first contiguous area of the latter appearance image is different from the second contiguous area of the previous appearance image, The image processing device sends a first abnormal comparison information to the automatic mechanical device to cause the automatic mechanical device to suck the object to be tested to an abnormal region for placement. 如請求項3所述之具有連續擷取影像功能的物品外觀檢測方法,其中,該連續擷取的多數外觀影像中的第一張外觀影像為一起始外觀影像,最後一張外觀影像為一結束外觀影像,該起始外觀影像的第一接續區域為一環境的影像,該結束外觀影像的第二接續區域為一環境的影像,該影像處理裝置將該起始外觀影像的第二接續區域與相鄰的下一外觀影像之第一接續區域進行比對,當不相同時,則對應發送該第一異常比對資訊;該影像處理裝置將該結束外觀影像的第一接續區域與相鄰的前一外觀影像之第二接續區域進行比對,當不相同時,則對應發送該第一異常比對資訊。 The method for detecting the appearance of an item having the function of continuously capturing images as described in claim 3, wherein the first appearance image of the plurality of consecutive appearance images is a starting appearance image, and the last appearance image is an end image. The first image of the initial appearance image is an image of the environment, and the second connection area of the finished image is an image of the environment, and the image processing device selects the second connection region of the initial appearance image. Comparing the first contiguous regions of the adjacent next appearance images, and when not identical, transmitting the first abnormal comparison information; the image processing device is configured to overlap the first contiguous region of the appearance image with the adjacent The second consecutive areas of the previous appearance image are compared, and when they are not the same, the first abnormal comparison information is correspondingly transmitted. 如請求項4所述之具有連續擷取影像功能的物品外觀檢測方法,當其中一外觀影像與該組樣品影像中相對應的影像不相同時,該影像處理裝置輸出的比對資訊對應為一第二異常比對資訊,以令該自動機械裝置吸取該待測物品移動至該異常區域放置。 The method for detecting the appearance of an item having the function of continuously capturing images according to claim 4, wherein when the one of the appearance images and the image corresponding to the group of sample images are different, the comparison information output by the image processing device corresponds to one The second abnormality compares the information so that the robot moves the object to be tested and moves to the abnormal area for placement. 如請求項5所述之具有連續擷取影像功能的物品外觀檢測方法,其中當各該外觀影像與該組樣品影像中相對應的影像皆相同時,該影像處理裝置輸出的比對資訊對應為一正確比對資訊。 The method for detecting the appearance of an item having the function of continuously capturing images as described in claim 5, wherein when the image corresponding to the image of the set of sample images is the same, the comparison information output by the image processing device corresponds to A correct comparison of information. 如請求項6所述之具有連續擷取影像功能的物品外觀檢測方法,其中該路徑資訊包括有該待測物品從對應之初始位置移動至對應之結束位置的 移動距離,依照所需擷取的影像數量及影像解析度,將該路徑資訊的移動距離,以等間距的方式產生該等影像擷取點。 The method for detecting an appearance of an item having the function of continuously capturing images according to claim 6, wherein the path information includes moving the item to be tested from the corresponding initial position to the corresponding end position. The moving distance is generated according to the number of images to be captured and the image resolution, and the moving distance of the path information is generated in an equally spaced manner. 如請求項6所述之具有連續擷取影像功能的物品外觀檢測方法,其中該路徑資訊包括有該待測物品從對應的初始位置移動至對應的結束位置的移動時間,依照所需擷取的影像數量及影像解析度,將該路徑資訊的移動時間,以固定間隔時間的方式產生該等影像擷取點。 The method for detecting an appearance of an item having the function of continuously capturing images according to claim 6, wherein the path information includes a moving time of moving the item to be tested from a corresponding initial position to a corresponding ending position, and the required time is as follows. The number of images and the resolution of the image, and the moving time of the path information is generated at a fixed interval. 如請求項7或8所述之具有連續擷取影像功能的物品外觀檢測方法,其中該影像處理裝置包括一影像擷取器、一顯示器及一影像分析器,該影像分析器分別與影像擷取器、該顯示器電連接,該影像分析器與該訊號處理裝置電連接,該顯示器用以顯示該第一異常比對資訊、該第二異常比對資訊及該正確比對資訊,該影像擷取器根據該等觸發訊號對該待測物品進行影像擷取,該影像分析器用以處理所接收到的影像資訊;上述該組樣品影像預設於該影像分析器內。 The method for detecting an appearance of an item having a continuous image capturing function according to claim 7 or 8, wherein the image processing device comprises an image capturing device, a display and an image analyzer, wherein the image analyzer separately captures the image The image analyzer is electrically connected to the signal processing device, and the display is configured to display the first abnormality comparison information, the second abnormal comparison information, and the correct comparison information, and the image capture The image is captured by the image to be tested according to the trigger signals, and the image analyzer is configured to process the received image information; the set of sample images is preset in the image analyzer.
TW106110391A 2017-03-28 2017-03-28 Method for detecting appearance of articles with continuous image capturing function TWI635463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106110391A TWI635463B (en) 2017-03-28 2017-03-28 Method for detecting appearance of articles with continuous image capturing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106110391A TWI635463B (en) 2017-03-28 2017-03-28 Method for detecting appearance of articles with continuous image capturing function

Publications (2)

Publication Number Publication Date
TWI635463B true TWI635463B (en) 2018-09-11
TW201837864A TW201837864A (en) 2018-10-16

Family

ID=64452839

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106110391A TWI635463B (en) 2017-03-28 2017-03-28 Method for detecting appearance of articles with continuous image capturing function

Country Status (1)

Country Link
TW (1) TWI635463B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819176A (en) * 2011-06-10 2012-12-12 富港电子(昆山)有限公司 Laser projection device capable of achieving splicing automatically and method thereof
TW201704738A (en) * 2015-07-23 2017-02-01 台達電子工業股份有限公司 Device of detecting appearance of electronic components and detecting method thereof
TW201705107A (en) * 2015-07-17 2017-02-01 友達光電股份有限公司 Display system having borderless design

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819176A (en) * 2011-06-10 2012-12-12 富港电子(昆山)有限公司 Laser projection device capable of achieving splicing automatically and method thereof
TW201705107A (en) * 2015-07-17 2017-02-01 友達光電股份有限公司 Display system having borderless design
TW201704738A (en) * 2015-07-23 2017-02-01 台達電子工業股份有限公司 Device of detecting appearance of electronic components and detecting method thereof

Also Published As

Publication number Publication date
TW201837864A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
US11173609B2 (en) Hand-eye calibration method and system
JP6750841B2 (en) Inspection method, inspection device, processing device, program and recording medium
JP6657243B2 (en) Image-based tray alignment and tube slot location in vision systems
US9604363B2 (en) Object pickup device and method for picking up object
JP5893695B1 (en) Article transport system
US20170129101A1 (en) Robot control apparatus and robot control method
JPH09504401A (en) Method and apparatus for ball bond inspection system
US20150035541A1 (en) Signal integrity test apparatus and method for testing signal integrity of electronic product
JP2015216482A (en) Imaging control method and imaging apparatus
US20180294244A1 (en) Detector for detecting position of ic device and method for the same
CN106030283B (en) For examining the apparatus and method of semiconductor packages
CN110580716A (en) depth information acquisition method, device and medium
JP2020075327A (en) Control system
KR101643713B1 (en) Method for inspecting of product using learning type smart camera
CN115524347A (en) Defect detection method, defect detection apparatus, and computer-readable storage medium
JP2007511075A (en) Pick and place machine with improved settings and operating procedures
KR101535801B1 (en) Process inspection device, method and system for assembling process in product manufacturing using depth map sensors
TWI635463B (en) Method for detecting appearance of articles with continuous image capturing function
KR101890765B1 (en) Apparatus and Method for Diagnosing PCB using PIN Detection based on Vision System
KR101076741B1 (en) Vision system of test heander in socket and the method thereof
CN112834529A (en) 3D defect detection system and method based on multi-angle imaging
KR20130128923A (en) Method and apparatus for tracking mounting error of chip mounter
TW201506387A (en) Map comparison apparatus, comparison method, and comparison program
KR20150104766A (en) Tracking method for badness history in inspection process
US20150116486A1 (en) Terminal device, image measuring system and method of inspection of workpiece

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees