TWI748350B - Dimension detection method and system - Google Patents
Dimension detection method and system Download PDFInfo
- Publication number
- TWI748350B TWI748350B TW109105425A TW109105425A TWI748350B TW I748350 B TWI748350 B TW I748350B TW 109105425 A TW109105425 A TW 109105425A TW 109105425 A TW109105425 A TW 109105425A TW I748350 B TWI748350 B TW I748350B
- Authority
- TW
- Taiwan
- Prior art keywords
- size
- processing unit
- result
- unit
- light
- Prior art date
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
Abstract
一種尺寸檢測方法由一包含儲存單元、拍攝單元及處理單元的尺寸檢測系統對多個不同的物件實施,儲存單元儲存多筆尺寸檢測資料。對於每一物件,該方法包含:處理單元根據拍攝單元對物件拍攝的結果辨識出顯露於物件的識別特徵;處理單元根據識別特徵從尺寸檢測資料中選出被識別特徵指示出且包含目標尺寸量測程序及目標尺寸合規條件的目標尺寸檢測資料;處理單元根據拍攝單元對物件拍攝的結果執行目標尺寸量測程序以產生尺寸量測結果及一指示出尺寸量測結果是否符合目標合規條件的尺寸檢測結果;該處理單元輸出該尺寸檢測結果。A size detection method is implemented by a size detection system including a storage unit, a shooting unit and a processing unit on a plurality of different objects, and the storage unit stores a plurality of size detection data. For each object, the method includes: the processing unit recognizes the identification feature exposed on the object according to the result of the shooting unit shooting the object; the processing unit selects the identified feature from the size detection data according to the identification feature and includes the target size measurement The program and the target size detection data of the target size compliance condition; the processing unit executes the target size measurement program according to the result of the shooting unit shooting the object to generate the size measurement result and an indicator indicating whether the size measurement result meets the target compliance condition Size detection result; the processing unit outputs the size detection result.
Description
本發明是有關於一種尺寸檢測方法,特別是指一種涉及影像辨識技術的尺寸檢測方法。本發明還有關於能實施該尺寸檢測方法的一種尺寸檢測系統。The invention relates to a size detection method, in particular to a size detection method involving image recognition technology. The invention also relates to a size detection system capable of implementing the size detection method.
近年來,自動化技術的發展令許多產品的產能得到了有效提升,然而,產能的提升亦代表後續的品質檢測作業將相對地承受更大的壓力,而本案所欲探討的議題,便在於如何使產品在尺寸方面的品質檢測作業能夠進行得更加順暢。In recent years, the development of automation technology has effectively increased the production capacity of many products. However, the increase in production capacity also means that the subsequent quality inspection operations will be relatively under greater pressure. The topic to be discussed in this case is how to use Product quality inspection work in terms of size can be carried out more smoothly.
本發明的其中一目的,在於提供一種能使尺寸檢測作業進行得更加順暢的尺寸檢測方法。One of the objectives of the present invention is to provide a size inspection method that enables the size inspection operation to be performed more smoothly.
本發明尺寸檢測方法由一尺寸檢測系統對多個彼此不同的物件實施,該尺寸檢測系統包含一儲存單元、一拍攝單元及一處理單元,該儲存單元儲存多筆尺寸檢測資料,每一尺寸檢測資料包含一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件。對於每一物件,該尺寸檢測方法包含下列步驟:(A)該處理單元根據該拍攝單元對該物件進行拍攝的結果進行影像辨識,以辨識出顯露於該物件的一識別特徵;(B)該處理單元根據該識別特徵從該等尺寸檢測資料中選出一被該識別特徵所指示出的目標尺寸檢測資料,該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為一目標尺寸量測程序及一目標尺寸合規條件;(C)該處理單元根據該拍攝單元對該物件進行拍攝的結果執行該目標尺寸量測程序,以產生一尺寸量測結果,以及一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果; (D)該處理單元輸出該尺寸檢測結果。The size detection method of the present invention is implemented by a size detection system for multiple objects that are different from each other. The size detection system includes a storage unit, a shooting unit, and a processing unit. The storage unit stores a plurality of size detection data, each of which is detected The data includes a size measurement procedure and the size compliance conditions corresponding to the size measurement procedure. For each object, the size detection method includes the following steps: (A) the processing unit performs image recognition based on the result of shooting the object by the shooting unit, so as to identify an identification feature exposed on the object; (B) the The processing unit selects a target size detection data indicated by the identification feature from the size detection data according to the identification feature, and the size measurement procedure and the size compliance condition contained in the target size detection data are respectively regarded as A target size measurement procedure and a target size compliance condition; (C) the processing unit executes the target size measurement procedure according to the result of the shooting unit shooting the object to generate a size measurement result, and an instruction Determine whether the size measurement result meets the target compliance condition of the size detection result; (D) The processing unit outputs the size detection result.
在本發明尺寸檢測方法的一些實施態樣中,在步驟(A)中,該識別特徵為一形成於該物件上的識別代碼,且該處理單元是利用光學字元辨識技術以辨識出該識別特徵。In some embodiments of the size detection method of the present invention, in step (A), the identification feature is an identification code formed on the object, and the processing unit uses optical character recognition technology to identify the identification feature.
在本發明尺寸檢測方法的一些實施態樣中,該尺寸檢測系統還包含一能受該處理單元控制地發光的發光單元,且該發光單元包括一第一光源及一第二光源,該第一光源所發出的光相對於該拍攝單元為順向光,該第二光源所發出的光相對於該拍攝單元為逆向光,在步驟(A)中,該處理單元控制該第一光源發光,以致該物件朝向該拍攝單元的一第一側表面受光,並且,該處理單元在該第一光源發光的情況下控制該拍攝單元對該物件進行拍攝,以從該拍攝單元獲得一第一拍攝結果,並對該第一拍攝結果進行影像辨識以辨識出該識別特徵,在步驟(C)中,該處理單元控制該第二光源發光,以致該物件背向該拍攝單元的一第二側表面受光,並且,該處理單元在該第二光源發光的情況下控制該拍攝單元對該物件進行拍攝,以從該拍攝單元獲得一第二拍攝結果,並根據該第二拍攝結果執行該目標尺寸量測程序。In some embodiments of the size detection method of the present invention, the size detection system further includes a light-emitting unit capable of emitting light under the control of the processing unit, and the light-emitting unit includes a first light source and a second light source. The light emitted by the light source is forward light relative to the photographing unit, and the light emitted by the second light source is backward light relative to the photographing unit. In step (A), the processing unit controls the first light source to emit light, so that The object receives light toward a first side surface of the photographing unit, and the processing unit controls the photographing unit to photograph the object when the first light source emits light, so as to obtain a first photographing result from the photographing unit, And perform image recognition on the first shooting result to recognize the recognition feature. In step (C), the processing unit controls the second light source to emit light so that the object receives light on a second side surface of the shooting unit away from it, In addition, the processing unit controls the photographing unit to photograph the object when the second light source emits light, so as to obtain a second photographing result from the photographing unit, and execute the target size measurement program according to the second photographing result .
在本發明尺寸檢測方法的一些實施態樣中,該拍攝單元是用於朝下進行拍攝,並且,該第二光源為一平面光源裝置,且具有一與該拍攝單元彼此間隔相對且用於朝上發光的上發光面,並且,至少在步驟(C)中,該物件是被承載於該第二光源的上發光面上。In some implementation aspects of the size detection method of the present invention, the photographing unit is used for shooting downwards, and the second light source is a planar light source device, and has a spaced opposite to the photographing unit and is used for facing downwards. The upper light-emitting surface of the upper light-emitting surface, and, at least in step (C), the object is carried on the upper light-emitting surface of the second light source.
在本發明尺寸檢測方法的一些實施態樣中,在步驟(B)中,該目標尺寸量測程序指示出該物件上的至少一對量測位置,且該目標尺寸合規條件包含至少一與該對量測位置對應的合規尺寸範圍,並且,在步驟(C)中,該尺寸量測結果包含至少一與該合規尺寸範圍對應的間隔距離,並且,當該處理單元判斷出每一間隔距離皆在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果符合該目標合規條件的尺寸檢測結果,當該處理單元判斷出任一間隔距離未在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果不符合該目標合規條件的尺寸檢測結果。In some embodiments of the size detection method of the present invention, in step (B), the target size measurement program indicates at least a pair of measurement positions on the object, and the target size compliance condition includes at least one and The pair of measurement positions corresponds to the compliant size range, and, in step (C), the size measurement result includes at least one separation distance corresponding to the compliant size range, and when the processing unit determines that each When the separation distance is within the range of the corresponding compliant size, a size detection result indicating that the size measurement result meets the target compliance condition is generated, and when the processing unit determines that any separation distance is not within its corresponding range When the size is within the compliance size range, a size detection result indicating that the size measurement result does not meet the target compliance condition is generated.
在本發明尺寸檢測方法的一些實施態樣中,在步驟(C)中,在該處理單元執行該目標尺寸量測程序的過程中,該處理單元是先根據該拍攝單元對該物件進行拍攝的結果辨識出該物件所具有的多個特徵點,並根據該等特徵點計算出該物件所呈現的姿態,接著,該處理單元再根據該物件所呈現的姿態辨識出該對量測位置。In some embodiments of the size detection method of the present invention, in step (C), during the process of the processing unit executing the target size measurement program, the processing unit first photographs the object according to the photographing unit As a result, multiple feature points of the object are identified, and the posture presented by the object is calculated based on the feature points. Then, the processing unit then recognizes the pair of measurement positions according to the posture presented by the object.
本發明的另一目的,在於提供能實施該尺寸檢測方法的一種尺寸檢測系統。Another object of the present invention is to provide a size detection system that can implement the size detection method.
本發明尺寸檢測系統適於應用在多個彼此不同的物件,並包含一儲存單元、一拍攝單元及一電連接該儲存單元及該拍攝單元的處理單元,該儲存單元儲存多筆尺寸檢測資料,每一尺寸檢測資料包含一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件。對於每一物件:該處理單元根據該拍攝單元對該物件進行拍攝的結果進行影像辨識,以辨識出顯露於該物件的一識別特徵;該處理單元根據該識別特徵從該等尺寸檢測資料中選出一被該識別特徵所指示出的目標尺寸檢測資料,該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為一目標尺寸量測程序及一目標尺寸合規條件;該處理單元根據該拍攝單元對該物件進行拍攝的結果執行該目標尺寸量測程序,以產生一尺寸量測結果,以及一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果;該處理單元輸出該尺寸檢測結果。The size detection system of the present invention is suitable for application to a plurality of different objects, and includes a storage unit, a shooting unit, and a processing unit electrically connected to the storage unit and the shooting unit. The storage unit stores a plurality of size detection data. Each size inspection data includes a size measurement procedure and a corresponding size compliance condition for the size measurement procedure. For each object: the processing unit performs image recognition according to the result of shooting the object by the shooting unit to identify an identification feature exposed on the object; the processing unit selects from the size detection data according to the identification feature A target size detection data indicated by the identification feature, the size measurement procedure and the size compliance condition included in the target size detection data are respectively regarded as a target size measurement procedure and a target size compliance condition; The processing unit executes the target size measurement program according to the result of the shooting unit shooting the object to generate a size measurement result, and a size detection result indicating whether the size measurement result meets the target compliance condition ; The processing unit outputs the size detection result.
在本發明尺寸檢測系統的一些實施態樣中,該識別特徵為一形成於該物件上的識別代碼,且該處理單元是利用光學字元辨識技術以辨識出該識別特徵。In some embodiments of the size detection system of the present invention, the identification feature is an identification code formed on the object, and the processing unit uses optical character recognition technology to identify the identification feature.
在本發明尺寸檢測系統的一些實施態樣中,該尺寸檢測系統還包含一能受該處理單元控制地發光的發光單元,且該發光單元包括一第一光源及一第二光源,該第一光源所發出的光相對於該拍攝單元為順向光,該第二光源所發出的光相對於該拍攝單元為逆向光。並且,對於每該物件:該處理單元還控制該第一光源發光,以致該物件朝向該拍攝單元的一第一側表面受光,並且,該處理單元還在該第一光源發光的情況下控制該拍攝單元對該物件進行拍攝,以從該拍攝單元獲得一第一拍攝結果,且該處理單元是對該第一拍攝結果進行影像辨識以辨識出該識別特徵;該處理單元還控制該第二光源發光,以致該物件背向該拍攝單元的一第二側表面受光,並且,該處理單元還在該第二光源發光的情況下控制該拍攝單元對該物件進行拍攝,以從該拍攝單元獲得一第二拍攝結果,並且,該處理單元是根據該第二拍攝結果執行該目標尺寸量測程序。In some embodiments of the size detection system of the present invention, the size detection system further includes a light-emitting unit capable of emitting light under the control of the processing unit, and the light-emitting unit includes a first light source and a second light source. The light emitted by the light source is forward light relative to the photographing unit, and the light emitted by the second light source is backward light relative to the photographing unit. And, for each object: the processing unit also controls the first light source to emit light, so that the object receives light toward a first side surface of the photographing unit, and the processing unit also controls the first light source to emit light. The photographing unit photographs the object to obtain a first photographing result from the photographing unit, and the processing unit performs image recognition on the first photographing result to identify the identification feature; the processing unit also controls the second light source Emit light, so that the object receives light from a second side surface of the shooting unit, and the processing unit controls the shooting unit to shoot the object when the second light source emits light, so as to obtain an image from the shooting unit The second shooting result, and the processing unit executes the target size measurement program according to the second shooting result.
在本發明尺寸檢測系統的一些實施態樣中,該拍攝單元是用於朝下進行拍攝,並且,該第二光源為一平面光源裝置,且具有一與該拍攝單元彼此間隔相對且用於朝上發光的上發光面,並且,在該處理單元控制該第二光源發光時,該物件是被承載於該第二光源的上發光面上。In some embodiments of the size detection system of the present invention, the photographing unit is used for shooting downwards, and the second light source is a planar light source device, and has a spaced opposite to the photographing unit and is used for facing downwards. The upper light-emitting surface of the upper light-emitting surface, and when the processing unit controls the second light source to emit light, the object is carried on the upper light-emitting surface of the second light source.
在本發明尺寸檢測系統的一些實施態樣中,該目標尺寸量測程序指示出該物件上的至少一對量測位置,該目標尺寸合規條件包含至少一與該對量測位置對應的合規尺寸範圍,該尺寸量測結果包含至少一與該合規尺寸範圍對應的間隔距離,並且,當該處理單元判斷出每一間隔距離皆在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果符合該目標合規條件的尺寸檢測結果,當該處理單元判斷出任一間隔距離未在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果不符合該目標合規條件的尺寸檢測結果。In some implementation aspects of the size detection system of the present invention, the target size measurement program indicates at least a pair of measurement positions on the object, and the target size compliance condition includes at least one compliance condition corresponding to the pair of measurement positions. The measurement result of the size includes at least one separation distance corresponding to the compliant size range, and when the processing unit determines that each separation distance is within the corresponding compliant size range, Generate a size detection result indicating that the size measurement result meets the target compliance condition, and when the processing unit determines that any separation distance is not within the corresponding compliant size range, it generates an indication that the size measurement The result does not meet the dimensional inspection result of the target compliance condition.
在本發明尺寸檢測系統的一些實施態樣中,在該處理單元執行該目標尺寸量測程序的過程中,該處理單元是先根據該拍攝單元對該物件進行拍攝的結果辨識出該物件所具有的多個特徵點,並根據該等特徵點計算出該物件所呈現的姿態,接著,該處理單元再根據該物件所呈現的姿態辨識出該對量測位置。In some embodiments of the size detection system of the present invention, when the processing unit executes the target size measurement program, the processing unit first recognizes that the object has the object according to the result of the shooting unit shooting the object. And calculate the posture presented by the object according to the feature points, and then the processing unit recognizes the pair of measurement positions according to the posture presented by the object.
本發明之功效在於:藉由該處理單元根據該識別特徵選出該目標尺寸檢測資料、執行該目標尺寸量測程序以產生該尺寸量測結果及該尺寸檢測結果並將該尺寸檢測結果輸出,該尺寸檢測系統能不限制順序地自動對各種物件進行尺寸檢測,且無需透過人為操作來選擇所欲檢測物件的種類,因此,該尺寸檢測系統確實能使尺寸方面的品質檢測作業進行得更加順暢,而確實能達成本發明之目的。The effect of the present invention is that the processing unit selects the target size detection data according to the identification feature, executes the target size measurement program to generate the size measurement result and the size detection result, and output the size detection result. The size detection system can automatically perform size detection on various objects without restricting the sequence, and there is no need to manually select the type of object to be detected. Therefore, the size detection system can indeed make the size quality inspection work more smoothly. It can indeed achieve the purpose of the invention.
在本發明被詳細描述之前應當注意:本專利說明書中所述的「電連接」是泛指多個電子設備/裝置/元件之間透過導電材料相連接而達成的有線電連接,以及透過無線通訊技術進行無線信號傳輸的無線電連接。並且,本專利說明書中所述的「電連接」亦泛指兩個電子設備/裝置/元件之間直接相連而形成的「直接電連接」,以及兩個電子設備/裝置/元件之間還透過其他電子設備/裝置/元件相連而形成的「間接電連接」。Before the present invention is described in detail, it should be noted that the "electrical connection" mentioned in this patent specification refers to a wired electrical connection between multiple electronic devices/devices/components connected through conductive materials, as well as through wireless communication Technology is a radio connection for wireless signal transmission. Moreover, the “electrical connection” mentioned in this patent specification also refers to the “direct electrical connection” formed by the direct connection between two electronic equipment/devices/components, and the “direct electrical connection” between the two electronic equipment/devices/components "Indirect electrical connection" formed by connecting other electronic equipment/devices/components.
同時參閱圖1及圖2,本發明尺寸檢測系統1之一實施例適用於對多個彼此不同的物件進行尺寸檢測,且該尺寸檢測系統1包含一儲存單元11、一拍攝單元12、一發光單元13、一輸出單元14,以及一電連接該儲存單元11、該拍攝單元12、該發光單元13及該輸出單元14的處理單元15。1 and 2 at the same time, an embodiment of the size detection system 1 of the present invention is suitable for size detection of multiple objects that are different from each other, and the size detection system 1 includes a
該儲存單元11可例如被實施為硬碟,並且儲存有多筆相關於該等物件的尺寸檢測資料。更具體地說,每一尺寸檢測資料在本實施例中是對應於該等物件的其中一種物件,且每一尺寸檢測資料例如包含一檢測模式代碼、一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件。The
該拍攝單元12可例如被實施為一台工業攝影機,並且,如圖2所示,該拍攝單元12所具有的一拍攝鏡頭121在本實施例中例如是朝向下方,也就是說,該拍攝單元12在本實施例中是被設置成用於朝下進行拍攝,但並不以此為限。The photographing
該輸出單元14可例如被實施為一台顯示螢幕,而該處理單元15則可例如被實施為一中央處理器。The
補充說明的是,在其他實施例中,該儲存單元11也可例如被實施為其他任何種類的資料儲存裝置(例如唯讀記憶體或快閃記憶體)或其組合,該拍攝單元12也可例如被實施為其他任何具有拍照功能的影像記錄裝置,該輸出單元14也可例如被實施為一揚聲器,或者是揚聲器及顯示螢幕的組合,而該處理單元15也可被實施為一微處理器(Microprocessor)、一數位信號處理器(Digital Signal Processor),或者是一特殊應用積體電路(Application-Specific Integrated Circuit),而並不以本實施例為限。It is added that in other embodiments, the
該發光單元13包括電連接於該處理單元15的一第一光源131及一第二光源132,且該第一光源131及該第二光源132各能受該處理單元15控制地發光及不發光。更詳細地說,如圖2所示,該第一光源131及該第二光源132在本實施例中分別被實施為兩個彼此相對的平面光源裝置,其中,該第一光源131是設置於該拍攝單元12的上方,並且具有一用於朝下發光的下發光面133,另一方面,該第二光源132是設置於該拍攝單元12的下方,且具有一與該拍攝單元12彼此間隔相對且用於朝上發光的上發光面134。也就是說,當該拍攝單元12進行拍攝時,該第一光源131所發出的光相對於該拍攝單元12為順向光,而該第二光源132所發出的光相對於該拍攝單元12則為逆向光。The light-
在本實施例的示例性應用中,該等物件例如分別為多個鞋底5(圖2示例性地示出其中一者),且每一鞋底5屬於一特定的品牌、款式及尺寸。並且,該儲存單元11所儲存的該等尺寸檢測資料是各自對應於該等鞋底5之多個種類的其中一種,也就是說,每一尺寸檢測資料是唯一地對應於其中一種特定品牌、款式及尺寸的鞋底5。補充說明的是,本實施例的應用並不限於是對鞋底進行尺寸檢測,因此,在本實施例的其他應用中,該等物件也可分別為其他任何需要進行尺寸檢測的產品或半成品,而並不以本實施例所述的應用為限。In the exemplary application of this embodiment, the objects are, for example, a plurality of soles 5 (Figure 2 exemplarily shows one of them), and each sole 5 belongs to a specific brand, style, and size. Moreover, the size detection data stored in the
每一鞋底5上例如顯露有一識別特徵。配合參閱圖3,以圖3所示出的該鞋底5為例,該鞋底5上的識別特徵例如為一由多個字元所組成的識別代碼51,且該識別代碼51可例如是以凸起(亦可為凹下)的方式而與該鞋底5一體成形地形成於該鞋底5的上表面。For example, an identification feature is revealed on each
更進一步地說,該識別代碼51例如是用於表示該鞋底5所屬的品牌、款式及尺寸。也就是說,若任兩個鞋底5的品牌、款式及尺寸完全相同,則其兩者的識別代碼51亦會是彼此相同的,而若任兩個鞋底5的品牌、款式及尺寸有其中任一者彼此不同,則其兩者的識別代碼51亦會彼此不同。Furthermore, the
補充說明的是,對於其他圖未示出的鞋底或是其他種類的物件,該識別代碼51亦可例如是透過貼標或印刷的方式而顯露在鞋底上,或者,該識別特徵也可例如被實施為顯露於物件外觀上的條碼、符號、圖樣,或者是物件本身的外觀特徵,而並不限於本實施例所述的該識別代碼51。It is supplemented that for shoe soles or other types of objects not shown in other figures, the
參閱圖4並配合參閱圖1至圖3,以下示例性地詳細說明本實施例的該尺寸檢測系統1如何對圖3所示的該鞋底5實施一尺寸檢測方法。Referring to FIG. 4 in conjunction with FIGS. 1 to 3, the following exemplarily describes in detail how the size detection system 1 of this embodiment implements a size detection method on the sole 5 shown in FIG. 3.
首先,在該鞋底5被承載於該第二光源132的上發光面134上,且該鞋底5顯露出該識別代碼51的一面完整地位於該拍攝單元12之拍攝範圍內的情況下(即圖2所繪示的情況),流程從步驟S1開始進行。First, in the case where the sole 5 is carried on the upper light-emitting
補充說明的是,在步驟S1開始進行之前,該鞋底5可例如是先被一機械手臂或其他類型的運送裝置運送至該第二光源132的上發光面134上,再由一定位機構調將該鞋底5定位至該上發光面134的一預設位置,並使該鞋底5呈現一預設角度。也就是說,該第二光源132在本實施例中還被作為用來承載該鞋底5的一承載台,且該機械手臂及該定位機構會將該鞋底5以預設的姿態(亦即該預設位置及該預設角度)放置於該第二光源132上,但並不以此為限。It is supplemented that before step S1 is started, the sole 5 may be transported to the upper light-emitting
在步驟S1中,該處理單元15控制該第一光源131發光,且控制該第二光源132不發光,以致該鞋底5朝向該拍攝單元12的一第一側表面受到該第一光源131所發出的光照射。並且,在該第一光源131發光的情況下,該處理單元15還控制該拍攝單元12對該鞋底5進行拍攝,以從該拍攝單元12獲得一第一拍攝結果。更詳細地說,在本實施例中,該鞋底5的第一側表面即為該鞋底5形成有該識別代碼51的上表面,且該第一拍攝結果例如是由該拍攝單元12進行拍攝所產生的一張彩色照片,但並不以此為限。值得說明的是,由於該第一光源131所發出的光對於該拍攝單元12而言為順向光,且該識別代碼51於該鞋底5上為凸起(或凹下)狀,故該拍攝單元12在該第一光源131發光的情況下進行拍攝,有助於使該鞋底5上的該識別代碼51於該第一拍攝結果中顯得更加立體、清晰而適用於影像辨識。In step S1, the
在該處理單元15獲得該第一拍攝結果後,流程進行至步驟S2。After the
在步驟S2中,該處理單元15利用光學字元辨識(Optical Character Recognition,簡稱OCR)技術對該第一拍攝結果進行影像辨識,以辨識出該識別代碼51。更具體地說,在本實施例中,該處理單元15可例如是藉由運行一預存在該儲存單元11內的光學字元辨識模型來對該第一拍攝結果進行影像辨識以辨識出該識別代碼51,但並不以此為限。In step S2, the
在該處理單元15辨識出該識別代碼51後,流程進行至步驟S3。After the
在步驟S3中,該處理單元15根據該識別代碼51從該等尺寸檢測資料中選出一被該識別代碼51所指示出的目標尺寸檢測資料。更具體地說,在本實施例中,該處理單元15可例如是判斷該識別代碼51是否與該等尺寸檢測資料之其中一者的檢測模式代碼彼此相符,若該處理單元15的判斷結果為是,則該處理單元15將檢測模式代碼與該識別代碼51相符的該筆尺寸檢測資料選為該目標尺寸檢測資料,而若該處理單元15的判斷結果為否,則該處理單元15例如透過該輸出單元14輸出一辨識失敗通知,但並不以此為限。In step S3, the
為了便於說明,在此將該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為本實施例的一目標尺寸量測程序及一目標尺寸合規條件。For ease of description, the size measurement procedure and the size compliance condition included in the target size detection data are respectively used as a target size measurement procedure and a target size compliance condition of this embodiment.
配合參閱圖5,在本實施例中,該目標尺寸量測程序例如指示出該鞋底5上的兩對量測位置。更具體地說,該目標尺寸量測程序所指示出的其中一對量測位置可例如分別為圖5所示出的一量測位置P1及一量測位置P2,而該目標尺寸量測程序所指示出的另一對量測位置則可例如分別為圖5所示出的一量測位置P3及一量測位置P4。另一方面,該目標尺寸合規條件則例如包含兩個合規尺寸範圍,且該兩合規尺寸範圍分別為一對應該對量測位置P1、P2的第一合規尺寸範圍,以及一對應該對量測位置P3、P4的第二合規尺寸範圍。更具體地說,該第一合規尺寸範圍例如代表該量測位置P1及該量測位置P2之間的可容許距離範圍(例如108mm~110mm),亦即代表該對量測位置P1、P2之間的可容許公差大小,類似地,該第二合規尺寸範圍則例如代表該量測位置P3及該量測位置P4之間的可容許距離範圍,亦即代表該對量測位置P3、P4之間的可容許公差大小,但並不以此為限。In conjunction with FIG. 5, in this embodiment, the target size measurement program indicates, for example, two pairs of measurement positions on the
應當理解的是,本實施例所述的該目標尺寸量測程序及該目標尺寸合規條件僅是用於示例性地說明,而並非用於限制本發明的實施範圍。在類似的實施態樣中,該目標尺寸量測程序所指示出的量測位置的數量亦可為一對、三對或更多,而該目標尺寸合規條件所包含的合規尺寸範圍的數量亦可依據量測位置數量的不同而自由調整,而並不以本實施例為限。It should be understood that the target size measurement program and the target size compliance conditions described in this embodiment are only for illustrative purposes, and are not used to limit the scope of implementation of the present invention. In a similar implementation aspect, the number of measurement positions indicated by the target size measurement program can also be one pair, three pairs or more, and the target size compliance condition includes the range of the compliance size. The number can also be adjusted freely according to the number of measurement positions, and is not limited to this embodiment.
在該處理單元15選出該目標尺寸檢測資料後,流程進行至步驟S4。After the
在步驟S4中,該處理單元15控制該第二光源132發光,且控制該第一光源131不發光,以致該鞋底5背向該拍攝單元12的一第二側表面受到該第二光源132所發出的光照射。並且,在該第二光源132發光的情況下,該處理單元15還控制該拍攝單元12對該鞋底5進行拍攝,以從該拍攝單元12獲得一第二拍攝結果。更詳細地說,在本實施例中,該鞋底5的第二側表面即為該鞋底5朝向該第二光源132的下表面,且該第二拍攝結果例如是由該拍攝單元12進行拍攝所產生的另一張彩色照片,但並不以此為限。值得說明的是,由於該鞋底5是被放置於該第二光源132的上發光面134上,故該第二光源132所發出的光會有其中一部分被該鞋底5所遮蔽,並且,由於該第二光源132所發出的光對於該拍攝單元12而言為逆向光,所以,該拍攝單元12在該第二光源132發光的情況下進行拍攝,有助於增加該鞋底5與拍攝背景(也就是該第二光源132的上發光面134)之間的明暗對比,從而更加突顯出該鞋底5的外型輪廓,以使得該鞋底5的輪廓邊緣於該第二拍攝結果中顯得更加清晰銳利。In step S4, the
在該處理單元15獲得該第二拍攝結果後,流程進行至步驟S5。After the
在步驟S5中,該處理單元15根據該第二拍攝結果執行該目標尺寸量測程序,以產生一尺寸量測結果。在本實施例中,該尺寸量測結果例如包含兩個間隔距離,且該兩間隔距離分別為一對應該第一合規尺寸範圍的第一間隔距離D1,以及一對應該第二合規尺寸範圍的第二間隔距離D2。更具體地說,該第一間隔距離D1即為該處理單元15測量該量測位置P1與該量測位置P2之間的間隔距離的結果,而該第二間隔距離D2則為該處理單元15測量該量測位置P3與該量測位置P4之間的間隔距離的結果。In step S5, the
另外,在本實施例中,在該處理單元15執行該目標尺寸量測程序的過程中,該處理單元15例如是先根據該第二拍攝結果辨識出該鞋底5所具有的多個特徵點(可例如是該鞋底5表面上的紋路),並根據該等特徵點計算出該鞋底5所呈現的姿態,也就是計算出該鞋底5於該第二光源132上所呈現的位置及角度。接著,該處理單元15再根據該鞋底5所呈現的姿態辨識出該兩對量測位置(亦即該等量測位置P1~P4),以產生該尺寸量測結果。如此一來,即便該鞋底5被放置在該第二光源132的位置及角度與預設值相比有些偏移,該處理單元15仍能藉由該等特徵點之間的相對位置而準確地辨識出該等量測位置P1~P4,從而精確地測量出該第一間隔距離D1及該第二間隔距離D2。In addition, in this embodiment, when the
在該處理單元15產生該尺寸量測結果後,流程進行至步驟S6。After the
在步驟S6中,該處理單元15將該尺寸量測結果與該目標合規條件比對,並產生一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果。具體而言,若該處理單元15判斷出每一間隔距離皆位於其所對應的合規尺寸範圍之內,則判定該尺寸量測結果符合該目標合規條件,而若該處理單元15判斷出該等間隔距離的其中任一者並未位於其所對應的合規尺寸範圍之內,則該處理單元15判定該尺寸量測結果不符合該目標合規條件。In step S6, the
以本實施例舉例來說,若該處理單元15判斷出該第一間隔距離D1在該第一合規尺寸範圍之內,且該第二間隔距離D2亦在該第二合規尺寸範圍之內時,該處理單元15產生指示出該尺寸量測結果符合該目標合規條件的尺寸檢測結果。另一方面,若該處理單元15判斷出該第一間隔距離D1未在該第一合規尺寸範圍之內,或者該第二間隔距離D2未在該第二合規尺寸範圍之內時,則該處理單元15產生指示出該尺寸量測結果不符合該目標合規條件的尺寸檢測結果。Taking this embodiment for example, if the
在該處理單元15產生該尺寸檢測結果後,流程進行至步驟S7。After the
在步驟S7中,該處理單元15透過該輸出單元14顯示該尺寸量測結果及該尺寸檢測結果,以供該尺寸檢測系統1的操作者參考。如此一來,該尺寸檢測結果能用於供操作者判斷該鞋底5的尺寸是否符合產品規範,更明確地說,該尺寸檢測結果能用於供操作者判斷該鞋底5是否為尺寸不合的瑕疵品,並決定否要將該鞋底5汰除。補充說明的是,在其他實施例中,該處理單元15亦可僅透過該輸出單元14輸出該尺寸檢測結果,而不輸出該尺寸量測結果,另一方面,該處理單元15也可以是將該尺寸量測結果及該尺寸檢測結果輸出至其他的自動化作業系統,以致其根據該尺寸量測結果及該尺寸檢測結果對該鞋底5進行後續的自動化處理(例如組裝或運送至瑕疵品集中處),而並不以本實施例為限。In step S7, the
以上即為本實施例之尺寸量測方法的示例說明。應當理解的是,對於該鞋底5以外的其他品牌、款式及/或尺寸的鞋底,甚至是鞋底以外的其他種類的物件,本實施例對其所實施的該尺寸量測方法與該前述相比大致相同,如此一來,藉由實施該尺寸量測方法,本實施例的該尺寸檢測系統1能夠自動地辨識出各種物件的識別特徵,並將其所指示出的尺寸檢測資料選作目標尺寸檢測資料,以進行對應各種物件的尺寸量測程序。藉此,該尺寸檢測系統1不但能夠同時支援針對各種物件的尺寸檢測功能,還能以不限制順序、亦無需人為操作選擇物件種類地自動對各種物件進行尺寸檢測,因此確實能使尺寸方面的品質檢測作業進行得更加順暢。The above is an example description of the size measurement method of this embodiment. It should be understood that for soles of other brands, styles and/or sizes other than the sole 5, or even other types of objects other than the sole, the size measurement method implemented in this embodiment is compared with the foregoing Roughly the same, in this way, by implementing the size measurement method, the size detection system 1 of this embodiment can automatically recognize the identification features of various objects, and select the size detection data indicated by it as the target size Check the data to carry out the size measurement procedures corresponding to various objects. As a result, the size detection system 1 can not only support the size detection function for various objects at the same time, but also can automatically perform size detection on various objects in an unlimited order and without manual operation. The quality inspection operation is carried out more smoothly.
補充說明的是,在另一實施例中,在該尺寸檢測系統1的周圍環境足夠明亮的情況下,則該尺寸檢測系統1亦可不包含本實施例所述的該發光單元13,並且,在不包含該發光單元13的另該實施例中,該處理單元15在該尺寸檢測方法中可以是只控制該拍攝單元12拍攝物件一次,並根據該拍攝單元12對物件進行單一次拍攝的結果進行識別特徵的辨識以及目標尺寸量測程序的執行,而並不以本實施例為限。It is added that, in another embodiment, if the surrounding environment of the size detection system 1 is sufficiently bright, the size detection system 1 may not include the light-emitting
綜上所述,藉由實施該尺寸檢測方法,本實施例的尺寸檢測系統1能不限制順序地自動對各種物件進行尺寸檢測,且無需透過人為操作來選擇所欲檢測物件的種類,因此,該尺寸檢測系統1確實能使尺寸方面的品質檢測作業進行得更加順暢,而確實能達成本發明之目的。In summary, by implementing the size detection method, the size detection system 1 of this embodiment can automatically perform size detection on various objects without restricting the sequence, and there is no need to manually select the types of objects to be detected. Therefore, The size inspection system 1 can indeed make the size inspection work more smoothly, and can indeed achieve the purpose of the invention.
惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above are only examples of the present invention, and should not be used to limit the scope of implementation of the present invention, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to This invention patent covers the scope.
1:尺寸檢測系統 11:儲存單元 12:拍攝單元 121:拍攝鏡頭 13:發光單元 131:第一光源 132:第二光源 133:下發光面 134:上發光面 14:輸出單元 15:處理單元 5:鞋底 51:識別代碼 P1~P4:量測位置 D1:第一間隔距離 D2:第二間隔距離 S1~S7:步驟1: Dimension detection system 11: storage unit 12: Shooting unit 121: shooting lens 13: Light-emitting unit 131: The first light source 132: second light source 133: lower light-emitting surface 134: upper light-emitting surface 14: output unit 15: Processing unit 5: sole 51: Identification code P1~P4: measurement position D1: The first separation distance D2: Second separation distance S1~S7: steps
本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是本發明尺寸檢測系統之一實施例的一方塊示意圖; 圖2是一立體示意圖,示例性地繪示該實施例的一拍攝單元、一發光單元以及一適用於該實施例的物件; 圖3是一示意圖,示例性繪示該物件(該物件為一鞋底)及一顯露於該鞋底上的識別代碼; 圖4是一流程圖,示例性地說明該實施例如何對該鞋底實施一尺寸檢測方法;及 圖5是一示意圖,示例性繪示對應於該鞋底的兩對量測位置及對應的兩個間隔距離。Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram of an embodiment of the size detection system of the present invention; FIG. 2 is a three-dimensional schematic diagram exemplarily showing a photographing unit, a light-emitting unit, and an object suitable for the embodiment; Figure 3 is a schematic diagram illustrating the object (the object is a shoe sole) and an identification code exposed on the shoe sole; Fig. 4 is a flowchart illustrating how the embodiment implements a size detection method for the shoe sole; and Fig. 5 is a schematic diagram illustrating two pairs of measurement positions corresponding to the sole and two corresponding separation distances.
S1~S7:步驟S1~S7: steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109105425A TWI748350B (en) | 2020-02-20 | 2020-02-20 | Dimension detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109105425A TWI748350B (en) | 2020-02-20 | 2020-02-20 | Dimension detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202133040A TW202133040A (en) | 2021-09-01 |
TWI748350B true TWI748350B (en) | 2021-12-01 |
Family
ID=78777663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109105425A TWI748350B (en) | 2020-02-20 | 2020-02-20 | Dimension detection method and system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI748350B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8463036B1 (en) * | 2010-09-30 | 2013-06-11 | A9.Com, Inc. | Shape-based search of a collection of content |
TW201724986A (en) * | 2013-11-19 | 2017-07-16 | 耐克創新有限合夥公司 | System for processing partially assembled part of article of footwear and system and method for generating tool path for processing partially assembled article of footwear |
TW201820063A (en) * | 2016-11-25 | 2018-06-01 | 趙書宏 | Automated processing machine with automated concepts and its method of operation |
US10899868B2 (en) * | 2014-06-23 | 2021-01-26 | Carbon, Inc. | Methods for producing footwear with materials having multiple mechanisms of hardening |
-
2020
- 2020-02-20 TW TW109105425A patent/TWI748350B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8463036B1 (en) * | 2010-09-30 | 2013-06-11 | A9.Com, Inc. | Shape-based search of a collection of content |
TW201724986A (en) * | 2013-11-19 | 2017-07-16 | 耐克創新有限合夥公司 | System for processing partially assembled part of article of footwear and system and method for generating tool path for processing partially assembled article of footwear |
US10899868B2 (en) * | 2014-06-23 | 2021-01-26 | Carbon, Inc. | Methods for producing footwear with materials having multiple mechanisms of hardening |
TW201820063A (en) * | 2016-11-25 | 2018-06-01 | 趙書宏 | Automated processing machine with automated concepts and its method of operation |
Also Published As
Publication number | Publication date |
---|---|
TW202133040A (en) | 2021-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI518637B (en) | Metthod and machine vision apparatus for 3d verification from 2d images | |
US10184979B2 (en) | IC device-in-pocket detection with angular mounted lasers and a camera | |
US20190066333A1 (en) | Information processing apparatus, method for controlling information processing apparatus, and storage medium | |
WO2020147498A1 (en) | Detection method and apparatus for automatic driving sensor, and electronic device | |
JP2006337254A (en) | Imaging apparatus, method and program for measuring distance of photographed image, and recording medium | |
CN113344929B (en) | Welding spot visual detection and identification method, readable storage medium and equipment | |
JP2020527854A (en) | Methods and systems for determining component lighting settings | |
JP5045591B2 (en) | Method for creating area setting data for inspection area and board appearance inspection apparatus | |
JP4870054B2 (en) | Substrate processing apparatus, surface mounting machine, printing machine, inspection machine, and coating machine | |
US20080205754A1 (en) | Color identifying apparatus and color identifying method | |
TWI748350B (en) | Dimension detection method and system | |
US10967517B2 (en) | Information processing apparatus, method, and storage medium for presenting information for calibration | |
JP5908351B2 (en) | Drilling position determination device, drilling position determination method, and program | |
CN110210291B (en) | Guide vane parameter acquisition method and device, electronic equipment and storage medium | |
JP2012216981A (en) | Calibration method for stereo camera and information processing device | |
CN110779446A (en) | Battery detection method and device, electronic equipment and battery detection system | |
TWI577979B (en) | Method and system for correcting light channels | |
JP6597469B2 (en) | Defect inspection equipment | |
TWI549097B (en) | A method of detecting images of appearance of electronic components and computer readable media thereof | |
KR101383827B1 (en) | System and method for automatic extraction of soldering regions in pcb | |
TWI650530B (en) | Measure system and method thereof | |
JP7388871B2 (en) | Judgment device, judgment method and judgment program | |
CN114298993A (en) | Detection method and detection device of optical lens | |
JP2020129187A (en) | Contour recognition device, contour recognition system and contour recognition method | |
TW202016498A (en) | Centroid detection device for circuit board capable of detecting the centroid of the circuit board without physically contacting the circuit board |