TWI748350B - Dimension detection method and system - Google Patents

Dimension detection method and system Download PDF

Info

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
Application number
TW109105425A
Other languages
Chinese (zh)
Other versions
TW202133040A (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 TW109105425A priority Critical patent/TWI748350B/en
Publication of TW202133040A publication Critical patent/TW202133040A/en
Application granted granted Critical
Publication of TWI748350B publication Critical patent/TWI748350B/en

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

尺寸檢測方法及系統Dimension detection method and system

本發明是有關於一種尺寸檢測方法,特別是指一種涉及影像辨識技術的尺寸檢測方法。本發明還有關於能實施該尺寸檢測方法的一種尺寸檢測系統。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 storage unit 11, a photographing unit 12, and a light emitting unit. The unit 13, an output unit 14, and a processing unit 15 electrically connected to the storage unit 11, the photographing unit 12, the light-emitting unit 13 and the output unit 14.

該儲存單元11可例如被實施為硬碟,並且儲存有多筆相關於該等物件的尺寸檢測資料。更具體地說,每一尺寸檢測資料在本實施例中是對應於該等物件的其中一種物件,且每一尺寸檢測資料例如包含一檢測模式代碼、一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件。The storage unit 11 can be implemented as a hard disk, for example, and stores multiple pieces of size detection data related to the objects. More specifically, in this embodiment, each size detection data corresponds to one of the objects, and each size detection data includes, for example, a detection mode code, a size measurement program, and a corresponding size. Dimensional compliance conditions for measurement procedures.

該拍攝單元12可例如被實施為一台工業攝影機,並且,如圖2所示,該拍攝單元12所具有的一拍攝鏡頭121在本實施例中例如是朝向下方,也就是說,該拍攝單元12在本實施例中是被設置成用於朝下進行拍攝,但並不以此為限。The photographing unit 12 may be implemented as an industrial camera, for example, and, as shown in FIG. 2, a photographing lens 121 of the photographing unit 12 is facing downward in this embodiment, that is, the photographing unit 12 is set for shooting downward in this embodiment, but it is not limited to this.

該輸出單元14可例如被實施為一台顯示螢幕,而該處理單元15則可例如被實施為一中央處理器。The output unit 14 can be implemented as a display screen, for example, and the processing unit 15 can be implemented as a central processing unit, for example.

補充說明的是,在其他實施例中,該儲存單元11也可例如被實施為其他任何種類的資料儲存裝置(例如唯讀記憶體或快閃記憶體)或其組合,該拍攝單元12也可例如被實施為其他任何具有拍照功能的影像記錄裝置,該輸出單元14也可例如被實施為一揚聲器,或者是揚聲器及顯示螢幕的組合,而該處理單元15也可被實施為一微處理器(Microprocessor)、一數位信號處理器(Digital Signal Processor),或者是一特殊應用積體電路(Application-Specific Integrated Circuit),而並不以本實施例為限。It is added that in other embodiments, the storage unit 11 can also be implemented as any other type of data storage device (such as read-only memory or flash memory) or a combination thereof, and the shooting unit 12 can also be implemented For example, implemented as any other image recording device with camera function, the output unit 14 can also be implemented as a speaker, or a combination of a speaker and a display screen, and the processing unit 15 can also be implemented as a microprocessor (Microprocessor), a digital signal processor (Digital Signal Processor), or an Application-Specific Integrated Circuit (Application-Specific Integrated Circuit), but not limited to this embodiment.

該發光單元13包括電連接於該處理單元15的一第一光源131及一第二光源132,且該第一光源131及該第二光源132各能受該處理單元15控制地發光及不發光。更詳細地說,如圖2所示,該第一光源131及該第二光源132在本實施例中分別被實施為兩個彼此相對的平面光源裝置,其中,該第一光源131是設置於該拍攝單元12的上方,並且具有一用於朝下發光的下發光面133,另一方面,該第二光源132是設置於該拍攝單元12的下方,且具有一與該拍攝單元12彼此間隔相對且用於朝上發光的上發光面134。也就是說,當該拍攝單元12進行拍攝時,該第一光源131所發出的光相對於該拍攝單元12為順向光,而該第二光源132所發出的光相對於該拍攝單元12則為逆向光。The light-emitting unit 13 includes a first light source 131 and a second light source 132 electrically connected to the processing unit 15, and the first light source 131 and the second light source 132 can each be controlled by the processing unit 15 to emit light or not to emit light . In more detail, as shown in FIG. 2, the first light source 131 and the second light source 132 are respectively implemented as two planar light source devices opposite to each other in this embodiment, wherein the first light source 131 is arranged at Above the photographing unit 12, there is a lower light emitting surface 133 for downward light emission. On the other hand, the second light source 132 is arranged below the photographing unit 12 and has a distance from the photographing unit 12 An upper light-emitting surface 134 opposite to and used for upward light emission. That is to say, when the photographing unit 12 performs photographing, the light emitted by the first light source 131 is forward light relative to the photographing unit 12, and the light emitted by the second light source 132 is relative to the photographing unit 12 For reverse 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 storage unit 11 corresponds to one of the multiple types of the shoe soles 5, that is, each size detection data uniquely corresponds to one of the specific brands and styles. And the size of the sole 5. It is added that the application of this embodiment is not limited to the size detection of shoe soles. Therefore, in other applications of this embodiment, the objects can also be any other products or semi-finished products that require size detection, respectively. It is not limited to the application described in this embodiment.

每一鞋底5上例如顯露有一識別特徵。配合參閱圖3,以圖3所示出的該鞋底5為例,該鞋底5上的識別特徵例如為一由多個字元所組成的識別代碼51,且該識別代碼51可例如是以凸起(亦可為凹下)的方式而與該鞋底5一體成形地形成於該鞋底5的上表面。For example, an identification feature is revealed on each shoe sole 5. With reference to FIG. 3, taking the sole 5 shown in FIG. 3 as an example, the identification feature on the sole 5 is, for example, an identification code 51 composed of multiple characters, and the identification code 51 may, for example, be a convex It is formed integrally with the sole 5 on the upper surface of the sole 5 in a raised (can also be recessed) manner.

更進一步地說,該識別代碼51例如是用於表示該鞋底5所屬的品牌、款式及尺寸。也就是說,若任兩個鞋底5的品牌、款式及尺寸完全相同,則其兩者的識別代碼51亦會是彼此相同的,而若任兩個鞋底5的品牌、款式及尺寸有其中任一者彼此不同,則其兩者的識別代碼51亦會彼此不同。Furthermore, the identification code 51 is used to indicate the brand, style and size of the sole 5, for example. That is to say, if the brands, styles and sizes of any two soles 5 are exactly the same, the identification codes 51 of the two will also be the same as each other, and if the brands, styles and sizes of any two soles 5 have any of them If one is different from each other, the identification codes 51 of the two will also be different from each other.

補充說明的是,對於其他圖未示出的鞋底或是其他種類的物件,該識別代碼51亦可例如是透過貼標或印刷的方式而顯露在鞋底上,或者,該識別特徵也可例如被實施為顯露於物件外觀上的條碼、符號、圖樣,或者是物件本身的外觀特徵,而並不限於本實施例所述的該識別代碼51。It is supplemented that for shoe soles or other types of objects not shown in other figures, the identification code 51 can also be exposed on the shoe sole, for example, by labeling or printing, or the identification feature can also be, for example, It is implemented as a bar code, a symbol, or a pattern displayed on the appearance of the object, or the appearance feature of the object itself, and is not limited to the identification code 51 described in this embodiment.

參閱圖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 surface 134 of the second light source 132, and the side of the sole 5 showing the identification code 51 is completely located within the shooting range of the shooting unit 12 (i.e., as shown in the figure) 2), the process starts from step S1.

補充說明的是,在步驟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 surface 134 of the second light source 132 by a robotic arm or other type of transport device, and then adjusted by a positioning mechanism. The sole 5 is positioned to a predetermined position of the upper light-emitting surface 134, and the sole 5 presents a predetermined angle. In other words, the second light source 132 is also used as a bearing platform for carrying the sole 5 in this embodiment, and the robotic arm and the positioning mechanism will assume the sole 5 in a preset posture (that is, the The preset position and the preset angle) are placed on the second light source 132, but not limited to this.

在步驟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 processing unit 15 controls the first light source 131 to emit light, and controls the second light source 132 not to emit light, so that a first side surface of the shoe sole 5 facing the photographing unit 12 is emitted by the first light source 131 The light shines. Moreover, when the first light source 131 emits light, the processing unit 15 also controls the photographing unit 12 to photograph the sole 5 to obtain a first photographing result from the photographing unit 12. In more detail, in this embodiment, the first side surface of the shoe sole 5 is the upper surface of the shoe sole 5 on which the identification code 51 is formed, and the first photographing result is, for example, a photograph taken by the photographing unit 12 A color photo produced, but not limited to this. It is worth noting that because the light emitted by the first light source 131 is forward light for the photographing unit 12, and the identification code 51 is convex (or concave) on the sole 5, the photographing The unit 12 performs shooting when the first light source 131 emits light, which helps to make the identification code 51 on the sole 5 appear more three-dimensional and clear in the first shooting result, which is suitable for image recognition.

在該處理單元15獲得該第一拍攝結果後,流程進行至步驟S2。After the processing unit 15 obtains the first photographing result, the flow proceeds to step S2.

在步驟S2中,該處理單元15利用光學字元辨識(Optical Character Recognition,簡稱OCR)技術對該第一拍攝結果進行影像辨識,以辨識出該識別代碼51。更具體地說,在本實施例中,該處理單元15可例如是藉由運行一預存在該儲存單元11內的光學字元辨識模型來對該第一拍攝結果進行影像辨識以辨識出該識別代碼51,但並不以此為限。In step S2, the processing unit 15 uses optical character recognition (Optical Character Recognition, OCR) technology to perform image recognition on the first shooting result to recognize the identification code 51. More specifically, in this embodiment, the processing unit 15 can perform image recognition on the first shooting result by running an optical character recognition model pre-stored in the storage unit 11 to recognize the recognition. Code 51, but not limited to this.

在該處理單元15辨識出該識別代碼51後,流程進行至步驟S3。After the processing unit 15 recognizes the identification code 51, the flow proceeds to step S3.

在步驟S3中,該處理單元15根據該識別代碼51從該等尺寸檢測資料中選出一被該識別代碼51所指示出的目標尺寸檢測資料。更具體地說,在本實施例中,該處理單元15可例如是判斷該識別代碼51是否與該等尺寸檢測資料之其中一者的檢測模式代碼彼此相符,若該處理單元15的判斷結果為是,則該處理單元15將檢測模式代碼與該識別代碼51相符的該筆尺寸檢測資料選為該目標尺寸檢測資料,而若該處理單元15的判斷結果為否,則該處理單元15例如透過該輸出單元14輸出一辨識失敗通知,但並不以此為限。In step S3, the processing unit 15 selects a target size detection data indicated by the identification code 51 from the size detection data according to the identification code 51. More specifically, in this embodiment, the processing unit 15 may, for example, determine whether the identification code 51 matches the detection mode code of one of the size detection data, if the determination result of the processing unit 15 is If yes, the processing unit 15 selects the pen size detection data whose detection mode code matches the identification code 51 as the target size detection data, and if the judgment result of the processing unit 15 is no, the processing unit 15 transmits The output unit 14 outputs a recognition failure notification, but it is not limited to this.

為了便於說明,在此將該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為本實施例的一目標尺寸量測程序及一目標尺寸合規條件。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 shoe sole 5. More specifically, the pair of measurement positions indicated by the target size measurement program may be, for example, a measurement position P1 and a measurement position P2 shown in FIG. 5, and the target size measurement program The other pair of measurement positions indicated may be, for example, a measurement position P3 and a measurement position P4 shown in FIG. 5, respectively. On the other hand, the target size compliance condition includes, for example, two compliant size ranges, and the two compliant size ranges are a pair of first compliant size ranges corresponding to the measurement positions P1 and P2, and a pair of It should be the second compliant size range for the measurement positions P3 and P4. More specifically, the first compliant size range, for example, represents the allowable distance range between the measurement position P1 and the measurement position P2 (for example, 108mm~110mm), that is, the pair of measurement positions P1, P2 Similarly, the second compliant size range represents, for example, the allowable distance range between the measurement position P3 and the measurement position P4, that is, the pair of measurement positions P3, The allowable tolerance between P4, but not limited to this.

應當理解的是,本實施例所述的該目標尺寸量測程序及該目標尺寸合規條件僅是用於示例性地說明,而並非用於限制本發明的實施範圍。在類似的實施態樣中,該目標尺寸量測程序所指示出的量測位置的數量亦可為一對、三對或更多,而該目標尺寸合規條件所包含的合規尺寸範圍的數量亦可依據量測位置數量的不同而自由調整,而並不以本實施例為限。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 processing unit 15 selects the target size detection data, the flow proceeds to step S4.

在步驟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 processing unit 15 controls the second light source 132 to emit light, and controls the first light source 131 not to emit light, so that a second side surface of the sole 5 facing away from the photographing unit 12 is affected by the second light source 132. The emitted light shines. Moreover, when the second light source 132 emits light, the processing unit 15 also controls the photographing unit 12 to photograph the sole 5 to obtain a second photographing result from the photographing unit 12. In more detail, in the present embodiment, the second side surface of the sole 5 is the lower surface of the sole 5 facing the second light source 132, and the second photographing result is, for example, the photograph taken by the photographing unit 12 Another color photo produced, but not limited to this. It is worth noting that because the sole 5 is placed on the upper light-emitting surface 134 of the second light source 132, part of the light emitted by the second light source 132 will be shielded by the sole 5, and due to the The light emitted by the second light source 132 is reverse light for the photographing unit 12, therefore, the photographing unit 12 takes pictures when the second light source 132 emits light, which helps increase the sole 5 and the photographing background (also It is the contrast between the light and darkness of the upper light-emitting surface 134 of the second light source 132, which further highlights the outline of the sole 5, so that the outline edge of the sole 5 appears clearer and sharper in the second photographing result.

在該處理單元15獲得該第二拍攝結果後,流程進行至步驟S5。After the processing unit 15 obtains the second photographing result, the flow proceeds to step S5.

在步驟S5中,該處理單元15根據該第二拍攝結果執行該目標尺寸量測程序,以產生一尺寸量測結果。在本實施例中,該尺寸量測結果例如包含兩個間隔距離,且該兩間隔距離分別為一對應該第一合規尺寸範圍的第一間隔距離D1,以及一對應該第二合規尺寸範圍的第二間隔距離D2。更具體地說,該第一間隔距離D1即為該處理單元15測量該量測位置P1與該量測位置P2之間的間隔距離的結果,而該第二間隔距離D2則為該處理單元15測量該量測位置P3與該量測位置P4之間的間隔距離的結果。In step S5, the processing unit 15 executes the target size measurement program according to the second shooting result to generate a size measurement result. In this embodiment, the size measurement result includes, for example, two separation distances, and the two separation distances are respectively a first separation distance D1 corresponding to the first compliance size range, and a corresponding second compliance size The second separation distance D2 of the range. More specifically, the first separation distance D1 is the result of the processing unit 15 measuring the separation distance between the measurement position P1 and the measurement position P2, and the second separation distance D2 is the processing unit 15 The result of measuring the separation distance between the measurement position P3 and the measurement position P4.

另外,在本實施例中,在該處理單元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 processing unit 15 executes the target size measurement program, the processing unit 15 first recognizes a plurality of feature points of the sole 5 according to the second photographing result ( It can be, for example, the lines on the surface of the sole 5), and calculate the posture of the sole 5 according to the feature points, that is, calculate the position and angle of the sole 5 on the second light source 132. Then, the processing unit 15 recognizes the two pairs of measurement positions (that is, the measurement positions P1 to P4) according to the posture presented by the sole 5 to generate the size measurement result. In this way, even if the position and angle of the sole 5 placed on the second light source 132 are slightly offset from the preset values, the processing unit 15 can still accurately determine the position and angle of the second light source 132 based on the relative positions of the characteristic points. The measurement positions P1 to P4 are identified, so that the first separation distance D1 and the second separation distance D2 can be accurately measured.

在該處理單元15產生該尺寸量測結果後,流程進行至步驟S6。After the processing unit 15 generates the size measurement result, the flow proceeds to step S6.

在步驟S6中,該處理單元15將該尺寸量測結果與該目標合規條件比對,並產生一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果。具體而言,若該處理單元15判斷出每一間隔距離皆位於其所對應的合規尺寸範圍之內,則判定該尺寸量測結果符合該目標合規條件,而若該處理單元15判斷出該等間隔距離的其中任一者並未位於其所對應的合規尺寸範圍之內,則該處理單元15判定該尺寸量測結果不符合該目標合規條件。In step S6, the processing unit 15 compares the size measurement result with the target compliance condition, and generates a size detection result indicating whether the size measurement result meets the target compliance condition. Specifically, if the processing unit 15 determines that each interval distance is within its corresponding compliance size range, it determines that the size measurement result meets the target compliance condition, and if the processing unit 15 determines If any one of the separation distances is not within the corresponding compliance size range, the processing unit 15 determines that the size measurement result does not meet the target compliance condition.

以本實施例舉例來說,若該處理單元15判斷出該第一間隔距離D1在該第一合規尺寸範圍之內,且該第二間隔距離D2亦在該第二合規尺寸範圍之內時,該處理單元15產生指示出該尺寸量測結果符合該目標合規條件的尺寸檢測結果。另一方面,若該處理單元15判斷出該第一間隔距離D1未在該第一合規尺寸範圍之內,或者該第二間隔距離D2未在該第二合規尺寸範圍之內時,則該處理單元15產生指示出該尺寸量測結果不符合該目標合規條件的尺寸檢測結果。Taking this embodiment for example, if the processing unit 15 determines that the first separation distance D1 is within the first compliant size range, and the second separation distance D2 is also within the second compliant size range At this time, the processing unit 15 generates a size detection result indicating that the size measurement result meets the target compliance condition. On the other hand, if the processing unit 15 determines that the first separation distance D1 is not within the first compliant size range, or the second separation distance D2 is not within the second compliant size range, then The processing unit 15 generates a size detection result indicating that the size measurement result does not meet the target compliance condition.

在該處理單元15產生該尺寸檢測結果後,流程進行至步驟S7。After the processing unit 15 generates the size detection result, the flow proceeds to step S7.

在步驟S7中,該處理單元15透過該輸出單元14顯示該尺寸量測結果及該尺寸檢測結果,以供該尺寸檢測系統1的操作者參考。如此一來,該尺寸檢測結果能用於供操作者判斷該鞋底5的尺寸是否符合產品規範,更明確地說,該尺寸檢測結果能用於供操作者判斷該鞋底5是否為尺寸不合的瑕疵品,並決定否要將該鞋底5汰除。補充說明的是,在其他實施例中,該處理單元15亦可僅透過該輸出單元14輸出該尺寸檢測結果,而不輸出該尺寸量測結果,另一方面,該處理單元15也可以是將該尺寸量測結果及該尺寸檢測結果輸出至其他的自動化作業系統,以致其根據該尺寸量測結果及該尺寸檢測結果對該鞋底5進行後續的自動化處理(例如組裝或運送至瑕疵品集中處),而並不以本實施例為限。In step S7, the processing unit 15 displays the size measurement result and the size detection result through the output unit 14 for reference by the operator of the size detection system 1. In this way, the size detection result can be used for the operator to judge whether the size of the shoe sole 5 meets the product specification, more specifically, the size detection result can be used for the operator to judge whether the shoe sole 5 is defective in size Product, and decide whether to eliminate the sole 5. It is added that in other embodiments, the processing unit 15 may only output the size detection result through the output unit 14 without outputting the size measurement result. On the other hand, the processing unit 15 may also output the size measurement result. The size measurement result and the size detection result are output to other automated operating systems, so that it performs subsequent automated processing (such as assembly or transport to a defective product center) on the sole 5 according to the size measurement result and the size detection result ), but not limited to this embodiment.

以上即為本實施例之尺寸量測方法的示例說明。應當理解的是,對於該鞋底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 unit 13 described in this embodiment, and In another embodiment that does not include the light-emitting unit 13, the processing unit 15 may only control the photographing unit 12 to photograph the object once in the size detection method, and perform the processing according to the result of the photographing unit 12 taking a single shot of the object. The identification of the identification features and the execution of the target size measurement program are not limited to this embodiment.

綜上所述,藉由實施該尺寸檢測方法,本實施例的尺寸檢測系統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)

一種尺寸檢測方法,由一尺寸檢測系統對多個彼此不同的物件實施,該尺寸檢測系統包含一儲存單元、一拍攝單元、一發光單元及一處理單元,該儲存單元儲存多筆尺寸檢測資料,每一尺寸檢測資料包含一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件,該發光單元包括能受該處理單元控制地發光的一第一光源及一第二光源,該第一光源所發出的光相對於該拍攝單元為順向光,該第二光源所發出的光相對於該拍攝單元為逆向光;對於每一物件,該尺寸檢測方法包含下列步驟:(A)該處理單元控制該第一光源發光,以致該物件朝向該拍攝單元的一第一側表面受光,並且,該處理單元在該第一光源發光的情況下控制該拍攝單元對該物件進行拍攝,以從該拍攝單元獲得一第一拍攝結果,並對該第一拍攝結果進行影像辨識以辨識出顯露於該物件的一識別特徵;(B)該處理單元根據該識別特徵從該等尺寸檢測資料中選出一被該識別特徵所指示出的目標尺寸檢測資料,該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為一目標尺寸量測程序及一目標尺寸合規條件;(C)該處理單元控制該第二光源發光,以致該物件背向該拍攝單元的一第二側表面受光,並且,該處理單元在該第二光源發光的情況下控制該拍攝單元對該物件進行 拍攝,以從該拍攝單元獲得一第二拍攝結果,該處理單元根據該第二拍攝結果執行該目標尺寸量測程序,以產生一尺寸量測結果,以及一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果;及(D)該處理單元輸出該尺寸檢測結果。 A size detection method is implemented on a plurality of different objects by a size detection system. The size detection system includes a storage unit, a shooting unit, a light emitting unit and a processing unit. The storage unit stores a plurality of size detection data, Each size inspection data includes a size measurement program and a size compliance condition corresponding to the size measurement program. The light emitting unit includes a first light source and a second light source capable of emitting light under the control of the processing unit. The light emitted by the first 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; for each object, the size detection method includes the following steps: (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 photographing result to identify an identification feature exposed on the object; (B) the processing unit obtains from the size detection data according to the identification feature Select a target size inspection data indicated by the identification feature, the size measurement procedure and the size compliance condition contained in the target size inspection data are respectively regarded as a target size measurement procedure and a target size compliance condition (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 photographing unit, and the processing unit controls the photographing unit to emit light when the second light source emits light. Object proceeding Shooting to obtain a second shooting result from the shooting unit, and the processing unit executes the target size measurement program according to the second shooting result to generate a size measurement result, and an indication of whether the size measurement result conforms to The size detection result of the target compliance condition; and (D) the processing unit outputs the size detection result. 如請求項1所述的尺寸檢測方法,其中,在步驟(A)中,該識別特徵為一形成於該物件上的識別代碼,且該處理單元是利用光學字元辨識技術以辨識出該識別特徵。 The size detection method according to claim 1, wherein, in step (A), the identification feature is an identification code formed on the object, and the processing unit uses optical character identification technology to identify the identification feature. 如請求項1所述的尺寸檢測方法,其中,該拍攝單元是用於朝下進行拍攝,並且,該第二光源為一平面光源裝置,且具有一與該拍攝單元彼此間隔相對且用於朝上發光的上發光面,並且,至少在步驟(C)中,該物件是被承載於該第二光源的上發光面上。 The size detection method according to claim 1, wherein 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. 一種尺寸檢測方法,由一尺寸檢測系統對多個彼此不同的物件實施,該尺寸檢測系統包含一儲存單元、一拍攝單元及一處理單元,該儲存單元儲存多筆尺寸檢測資料,每一尺寸檢測資料包含一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件,對於每一物件,該尺寸檢測方法包含下列步驟:(A)該處理單元根據該拍攝單元對該物件進行拍攝的結果進行影像辨識,以辨識出顯露於該物件的一識別特徵;(B)該處理單元根據該識別特徵從該等尺寸檢測資料中選出一被該識別特徵所指示出的目標尺寸檢測資料,該 目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為一目標尺寸量測程序及一目標尺寸合規條件,該目標尺寸量測程序指示出該物件上的至少一對量測位置,且該目標尺寸合規條件包含至少一與該對量測位置對應的合規尺寸範圍;(C)該處理單元根據該拍攝單元對該物件進行拍攝的結果執行該目標尺寸量測程序,以產生一尺寸量測結果,以及一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果,該尺寸量測結果包含至少一與該合規尺寸範圍對應的間隔距離,並且,當該處理單元判斷出每一間隔距離皆在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果符合該目標合規條件的尺寸檢測結果,當該處理單元判斷出任一間隔距離未在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果不符合該目標合規條件的尺寸檢測結果,並且,在該處理單元執行該目標尺寸量測程序的過程中,該處理單元是先根據該拍攝單元對該物件進行拍攝的結果辨識出該物件所具有的多個特徵點,並根據該等特徵點計算出該物件所呈現的姿態,接著,該處理單元再根據該物件所呈現的姿態辨識出該對量測位置;及(D)該處理單元輸出該尺寸檢測結果。 A size detection method 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 a size compliance condition corresponding to the size measurement procedure. For each object, the size detection method includes the following steps: (A) The processing unit photographs the object according to the photographing unit The result of image recognition is performed to identify an identification feature exposed on the object; (B) the processing unit selects a target size detection data indicated by the identification feature from the size detection data according to the identification feature, Should 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, and the target size measurement procedure indicates at least one pair on the object Measuring position, and the target size compliance condition includes at least one compliant size range corresponding to the pair of measurement positions; (C) the processing unit executes the target size measurement according to the result of shooting the object by the shooting unit A program to generate a size measurement result and a size test result indicating whether the size measurement result meets the target compliance condition, the size measurement result includes at least one separation distance corresponding to the compliance size range, And, when the processing unit determines that each separation distance is within the corresponding compliance size range, it generates a size detection result indicating that the size measurement result meets the target compliance condition, and when the processing unit When it is determined that any separation distance is not within the range of the corresponding compliance size, a size detection result indicating that the size measurement result does not meet the target compliance condition is generated, and the processing unit executes the target size During the measurement procedure, the processing unit first recognizes the multiple characteristic points of the object according to the result of the photographing of the object by the photographing unit, and calculates the posture of the object based on the characteristic points. Then, the processing unit recognizes the pair of measurement positions according to the posture presented by the object; and (D) the processing unit outputs the size detection result. 一種尺寸檢測系統,適於應用在多個彼此不同的物件,並包含:一儲存單元,儲存多筆尺寸檢測資料,每一尺寸檢測 資料包含一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件;一拍攝單元;一發光單元,包括一第一光源及一第二光源;及一處理單元,電連接該儲存單元、該拍攝單元及該發光單元;其中,該第一光源及該第二光源能受該處理單元控制地發光,且該第一光源所發出的光相對於該拍攝單元為順向光,該第二光源所發出的光相對於該拍攝單元為逆向光,並且,對於每一物件:該處理單元控制該第一光源發光,以致該物件朝向該拍攝單元的一第一側表面受光,並且,該處理單元在該第一光源發光的情況下控制該拍攝單元對該物件進行拍攝,以從該拍攝單元獲得一第一拍攝結果,並對該第一拍攝結果進行影像辨識以辨識出顯露於該物件的一識別特徵;該處理單元根據該識別特徵從該等尺寸檢測資料中選出一被該識別特徵所指示出的目標尺寸檢測資料,該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為一目標尺寸量測程序及一目標尺寸合規條件;該處理單元控制該第二光源發光,以致該物件背向該拍攝單元的一第二側表面受光,並且,該處理單元在該第二光源發光的情況下控制該拍攝單元對該物件進行拍 攝,以從該拍攝單元獲得一第二拍攝結果,該處理單元根據該第二拍攝結果執行該目標尺寸量測程序,以產生一尺寸量測結果,以及一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果;及該處理單元輸出該尺寸檢測結果。 A size detection system, suitable for use in a number of different objects, and includes: a storage unit for storing multiple size detection data, each size detection The data includes a size measurement program and size compliance conditions corresponding to the size measurement program; a shooting unit; a light emitting unit including a first light source and a second light source; and a processing unit electrically connected to the storage Unit, the photographing unit, and the light-emitting unit; wherein the first light source and the second light source can emit light under the control of the processing unit, and the light emitted by the first light source is forward light relative to the photographing unit, the The light emitted by the second light source is reverse light with respect to the photographing unit, and for each object: 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 performs image recognition on the first photographing result to identify the An identification feature of the object; the processing unit selects a target size detection data indicated by the identification feature from the size detection data according to the identification feature, the size measurement program and the size measurement program included in the target size detection data The size compliance conditions are respectively used as a target size measurement program and a target size compliance condition; 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, and The processing unit controls the photographing unit to photograph the object when the second light source emits light. To obtain a second photographing result from the photographing unit, and the processing unit executes the target size measurement program according to the second photographing result to generate a size measurement result, and an indication of whether the size measurement result conforms to The size detection result of the target compliance condition; and the processing unit outputs the size detection result. 如請求項5所述的尺寸檢測系統,其中,該識別特徵為一形成於該物件上的識別代碼,且該處理單元是利用光學字元辨識技術以辨識出該識別特徵。 The size detection system according to claim 5, wherein 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. 如請求項5所述的尺寸檢測系統,其中,該拍攝單元是用於朝下進行拍攝,並且,該第二光源為一平面光源裝置,且具有一與該拍攝單元彼此間隔相對且用於朝上發光的上發光面,並且,在該處理單元控制該第二光源發光時,該物件是被承載於該第二光源的上發光面上。 The size detection system according to claim 5, wherein 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. 一種尺寸檢測系統,適於應用在多個彼此不同的物件,並包含:一儲存單元,儲存多筆尺寸檢測資料,每一尺寸檢測資料包含一尺寸量測程序,以及一對應該尺寸量測程序的尺寸合規條件;一拍攝單元;及一處理單元,電連接該儲存單元及該拍攝單元;其中,對於每一物件:該處理單元根據該拍攝單元對該物件進行拍攝的結果進行影像辨識,以辨識出顯露於該物件的一識別特徵;該處理單元根據該識別特徵從該等尺寸檢測資料中 選出一被該識別特徵所指示出的目標尺寸檢測資料,該目標尺寸檢測資料所包含的該尺寸量測程序及該尺寸合規條件分別被作為一目標尺寸量測程序及一目標尺寸合規條件,該目標尺寸量測程序指示出該物件上的至少一對量測位置,且該目標尺寸合規條件包含至少一與該對量測位置對應的合規尺寸範圍;該處理單元根據該拍攝單元對該物件進行拍攝的結果執行該目標尺寸量測程序,以產生一尺寸量測結果,以及一指示出該尺寸量測結果是否符合該目標合規條件的尺寸檢測結果,該尺寸量測結果包含至少一與該合規尺寸範圍對應的間隔距離,並且,當該處理單元判斷出每一間隔距離皆在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果符合該目標合規條件的尺寸檢測結果,當該處理單元判斷出任一間隔距離未在其所對應的該合規尺寸範圍之內時,產生指示出該尺寸量測結果不符合該目標合規條件的尺寸檢測結果,並且,在該處理單元執行該目標尺寸量測程序的過程中,該處理單元是先根據該拍攝單元對該物件進行拍攝的結果辨識出該物件所具有的多個特徵點,並根據該等特徵點計算出該物件所呈現的姿態,接著,該處理單元再根據該物件所呈現的姿態辨識出該對量測位置;及該處理單元輸出該尺寸檢測結果。 A size detection system suitable for application to multiple different objects, and includes: a storage unit storing multiple size detection data, each size detection data includes a size measurement program, and a corresponding size measurement program A photographing unit; and a processing unit electrically connected to the storage unit and the photographing unit; wherein, for each object: the processing unit performs image recognition based on the result of the photographing of the object by the photographing unit, To identify an identification feature exposed on the object; the processing unit detects the size of the data according to the identification feature Select a target size inspection data indicated by the identification feature, the size measurement procedure and the size compliance condition contained in the target size inspection data are respectively regarded as a target size measurement procedure and a target size compliance condition , 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 compliant size range corresponding to the pair of measurement positions; the processing unit is based on the photographing unit The target size measurement program is executed on the result of shooting the object to generate a size measurement result, and a size test result indicating whether the size measurement result meets the target compliance condition, and the size measurement result 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, it generates an indication that the size measurement result meets the The size detection result of the target compliance condition, when the processing unit determines that any separation distance is not within the corresponding compliance size range, it generates a size indicating that the size measurement result does not meet the target compliance condition The detection result, and, in the process of the processing unit executing the target size measurement program, the processing unit first recognizes the multiple feature points of the object according to the result of the shooting unit shooting the object, and according to The feature points calculate the posture presented by the object, and then the processing unit recognizes the pair of measurement positions according to the posture presented by the object; and the processing unit outputs the size detection result.
TW109105425A 2020-02-20 2020-02-20 Dimension detection method and system TWI748350B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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