TWI485633B - Method for selecting balls by image recognition - Google Patents
Method for selecting balls by image recognition Download PDFInfo
- Publication number
- TWI485633B TWI485633B TW099131144A TW99131144A TWI485633B TW I485633 B TWI485633 B TW I485633B TW 099131144 A TW099131144 A TW 099131144A TW 99131144 A TW99131144 A TW 99131144A TW I485633 B TWI485633 B TW I485633B
- Authority
- TW
- Taiwan
- Prior art keywords
- sphere
- ball
- image
- spherical surface
- conveying
- Prior art date
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Sorting Of Articles (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Description
本發明係與球體篩選方法有關,特別是指一種利用影像識別之球體選別方法。The invention relates to a sphere screening method, in particular to a sphere sorting method using image recognition.
查中華民國申請第7322056號之珠子圓度選別機,係由一進料裝置,一檢驗裝置及一分送裝置所組合構成,其檢驗裝置包括在進料箱漏口下方由另一DC齒輪馬達帶動旋轉之平面圓盤,及一控制其旋轉速度之調速器,同時在其圓盤內側邊緣具有一阻擋片,而在進料箱漏孔前方則具有一斜置之導引片,於圓盤內側叉橫置另一導引片,分別引導圓盤上之珠子,依次檢驗,選別分離。Inspecting the Republic of China Application No. 7322056, the bead roundness sorting machine is composed of a feeding device, an inspection device and a dispensing device, and the inspection device includes another DC gear motor under the inlet of the feeding box. a rotating flat disk, and a governor that controls its rotational speed, while having a blocking piece on the inner edge of the disk, and an inclined guiding piece in front of the leakage hole of the feeding box, in the circle The inner fork of the disc is horizontally placed on the other guiding piece, and the beads on the disc are respectively guided, and are sequentially inspected and separated.
次查另一種球體選別機,其選別方法主要利用一發光單元將光線照射在球體上,使球體產生一被光接收單元接收的反射光線,隨後進行光強度的比對,藉由設定兩者的差值高低,來判定該球體表面是否具有瑕疵,以進行選別分離,例如,當兩者的差值高於預設範圍時,則判定該球體表面具有瑕疵。Another method of sorting another sphere sorting machine is to select a light-emitting unit to illuminate the light on the sphere, so that the sphere generates a reflected light received by the light-receiving unit, and then compares the light intensities by setting the two. The difference is high or low to determine whether the surface of the sphere has flaws for sorting. For example, when the difference between the two is higher than the preset range, it is determined that the surface of the sphere has flaws.
然而,無論是利用機構式選別分離球體或透過光比對的方式進行選別分離球體,其都僅能將球體選別為合格或不合格兩種,因此,上述兩種球體選別方法並無法提供有效地的數據以供對球體的生產過程進行改進分析、預測和評估,而真正對球體的生產過程進行準確修正。However, whether it is to separate the spheres by means of mechanical sorting or to separate the spheres by means of optical alignment, only the spheres can be selected as either qualified or unqualified. Therefore, the above two sphere sorting methods cannot provide effective The data is used to improve the analysis, prediction and evaluation of the sphere's production process, and to accurately correct the sphere's production process.
是以,如何開發出一種球體篩選方法,其能夠解決上述問題,即是本發明的研發動機。Therefore, how to develop a sphere screening method capable of solving the above problem is the research engine of the present invention.
本發明之目的在於提供一種利用影像識別之球體選別方法,其主要得以對球體的生產過程進行準確的修正。It is an object of the present invention to provide a sphere sorting method using image recognition, which is mainly capable of accurately correcting the production process of a sphere.
緣是,為了達成前述目的,依據本發明所提供之一種利用影像識別之球體選別方法,其包含有:球體輸送步驟:將球體輸送至一輸送裝置,令該球體具有一裸露於外的第一球表面;第一次拍攝取像步驟:藉由一第一攝影裝置拍攝儲存該球體第一球表面的影像;影像比對步驟:將該球體第一球表面的影像與資料庫的影像資料進行比對,藉以建立合格球體、不合格球體以及不合格球體種類的資料。In order to achieve the foregoing object, a sphere selection method using image recognition according to the present invention includes: a sphere transporting step: transporting the sphere to a transport device, so that the sphere has a first exposed Ball surface; first taking image capturing step: capturing and storing an image of the first ball surface of the ball by a first photographing device; image matching step: performing image of the first ball surface of the sphere and image data of the database Comparison, in order to establish qualified spheres, unqualified spheres and information on the types of unqualified spheres.
較佳地,該球體輸送步驟中,令該球體表面區分為至少一第一球表面與一第二球表面,且該第一球表面裸露於外;該第一次拍攝取像步驟之後更具有球體轉動步驟以及第二次拍攝取像步驟,其中該球體轉動步驟係藉由該輸送裝置使該球體轉動,讓該第二表面裸露於外;該第二次拍攝取像步驟係藉由一第二攝影裝置拍攝儲存該球體第二球表面的影像;而該影像比對步驟係將該球體第一球表面及第二球表面的影像分別與資料庫的影像資料進行比對。Preferably, in the step of transporting the sphere, the surface of the sphere is divided into at least a first spherical surface and a second spherical surface, and the first spherical surface is exposed to the outside; the first photographing and taking step further has a ball rotation step and a second image capturing step, wherein the ball rotation step rotates the ball by the conveying device to expose the second surface; the second imaging taking step is performed by a first The photographic device captures an image of the surface of the second ball of the sphere; and the image matching step compares the image of the first spherical surface and the second spherical surface of the sphere with the image data of the database.
較佳地,該球體輸送步驟中,該輸送裝置為一可透光材質製成,且至少設有一可提供光源而用以照射該輸送裝置的光源單元,使該第一、二攝影裝置拍攝該球體第一、二球表面的影像更為清楚。Preferably, in the ball transporting step, the conveying device is made of a light transmissive material, and at least one light source unit is provided for providing a light source for illuminating the conveying device, so that the first and second photographic devices capture the light source unit. The image of the first and second spheres of the sphere is clearer.
較佳地,於該影像比對步驟後更具有一球體輸出步驟,其根據影像比對步驟的結果,而控制各該球體的落向。Preferably, after the image matching step, there is a ball outputting step of controlling the falling direction of each of the spheres according to the result of the image matching step.
有關本發明為達成上述目的,所採用之技術、手段及其他之功效,茲舉一較佳可行實施例並配合圖式詳細說明如后。The present invention has been described in connection with the preferred embodiments of the present invention in accordance with the accompanying drawings.
參閱第1圖,係為本發明的方塊流程圖,本發明實施例所提供的一種利用影像識別之球體選別方法,其主要係由一球體輸送步驟11、一第一次拍攝取像步驟12、一球體轉動步驟13、一第二次拍攝取像步驟14、一影像比對步驟15以及一球體輸出步驟16所達成,其中:該球體輸送步驟11:參閱第2圖,係本發明的局部示意圖,將球體20輸送至一輸送裝置30,令該球體20表面區分為一第一球表面21與一第二球表面22,且該第一球表面21裸露於外;其中該輸送裝置30可為一具有滾動槽311的底盤31以及一可轉動的設於該底盤31上的轉盤32所構成,而該轉盤32可進行特定轉度轉動且環設有對應該滾動槽311的複數推拔孔321,各該推拔孔321係呈上寬下窄的型態,單一推拔孔321係供單一球體20容置,且容置後該球體20的一部分係露出於該推拔孔321之外而與該滾動槽311接觸。需說明的是,為使圖面易於理解,因此第2圖係將環狀排列狀的推拔孔321展開呈一平面狀繪製,同時將對應該推拔孔321的其他部位一併展開繪製。Referring to FIG. 1 , it is a block diagram of the present invention. The method for selecting a sphere using image recognition is mainly provided by a sphere conveying step 11 and a first taking image capturing step 12 . A sphere rotation step 13, a second image capture step 14, an image comparison step 15 and a sphere output step 16 are achieved, wherein: the sphere delivery step 11: refer to FIG. 2, which is a partial schematic view of the present invention. The ball 20 is transported to a conveying device 30, and the surface of the ball 20 is divided into a first spherical surface 21 and a second spherical surface 22, and the first spherical surface 21 is exposed; wherein the conveying device 30 can be A chassis 31 having a rolling groove 311 and a rotatable rotatable 32 provided on the chassis 31, and the rotating plate 32 can be rotated by a specific rotation and provided with a plurality of pushing holes 321 corresponding to the rolling grooves 311. Each of the push holes 321 is in a shape of an upper width and a lower width, and the single push hole 321 is received by the single ball 20, and a part of the ball 20 is exposed outside the push hole 321 after being accommodated. It is in contact with the rolling groove 311. In addition, in order to make the drawing easy to understand, the second drawing is to draw the circularly-arranged push-out holes 321 in a planar shape, and the other parts corresponding to the push-out holes 321 are drawn together.
該第一次拍攝取像步驟12:藉由一第一攝影裝置41拍攝儲存該球體20第一球表面21的影像;其中該第一攝影裝置41為一般的攝影機,且該第一攝影裝置41係設於第一位置51而對該球體20第一球表面21作影像拍攝儲存的動作,而該第一位置51是指對應該轉盤32的推拔孔321且該球體20的第一球表面21裸露於外的位置而言。The first photographing and capturing step 12: capturing an image of the first spherical surface 21 of the spherical body 20 by a first photographing device 41; wherein the first photographing device 41 is a general camera, and the first photographing device 41 The first position 51 refers to the action of storing and storing the first ball surface 21 of the ball 20, and the first position 51 refers to the push hole 321 corresponding to the turntable 32 and the first ball surface of the ball 20 21 is exposed to the outside position.
該球體轉動步驟13:藉由該輸送裝置30使該球體20轉動,讓該第二表面22裸露於外,本實施例中係控制該輸送裝置30的轉盤32轉動一角度,藉由該球體20受限於該轉盤32推拔孔321以及部分球體20與該底盤31滾動槽311接觸之故,使轉動後的轉盤32得以帶動該球體20在該推拔孔321內並沿該滾動槽311滾動,讓該球體20的第二球表面22裸露於外。The ball rotating step 13: the ball 20 is rotated by the conveying device 30 to expose the second surface 22, and in this embodiment, the turntable 32 of the conveying device 30 is controlled to rotate by an angle, by the ball 20 The rotation of the turntable 32 and the partial ball 20 are in contact with the rolling groove 311 of the chassis 31, so that the rotated turntable 32 can drive the ball 20 in the push-out hole 321 and roll along the rolling groove 311. The second ball surface 22 of the sphere 20 is exposed to the outside.
該第二次拍攝取像步驟14:藉由一第二攝影裝置42拍攝儲存該球體20第二球表面22的影像;其中該第二攝影裝置42為一般的攝影機,且該第二攝影裝置42係設於第二位置52而對該球體20第二球表面22作影像拍攝儲存的動作,而該第二位置52是指對應轉動一角度後的該轉盤32的推拔孔321且該球體20的第二球表面22裸露於外的位置而言。The second imaging taking step 14 is to capture an image storing the second spherical surface 22 of the sphere 20 by a second photographing device 42; wherein the second photographing device 42 is a general camera, and the second photographing device 42 The second position 52 is configured to perform image capturing and storing of the second ball surface 22 of the ball 20, and the second position 52 refers to the pushing hole 321 of the turntable 32 corresponding to an angle of rotation and the ball 20 The second ball surface 22 is exposed in an outer position.
該影像比對步驟15:將所拍攝儲存的該球體20第一球表面21及第二球表面22的影像分別與資料庫的影像資料進行比對,藉以建立合格球體、不合格球體以及不合格球體種類的資料。The image matching step 15: comparing the images of the first spherical surface 21 and the second spherical surface 22 of the spherical body 20 that are captured and stored with the image data of the database, thereby establishing a qualified sphere, a defective sphere, and a failure. Information on the type of sphere.
該球體輸出步驟16:其根據該影像比對步驟15的結果,而控制各該球體20的落向,藉以區分出合格球體、具刮痕瑕疵的不合格球體、具髒汙瑕疵的不合格球體等,以便對不合格球體再進行處理。The sphere outputting step 16: controlling the falling direction of each of the spheres 20 according to the result of the image matching step 15, thereby distinguishing the qualified sphere, the unqualified sphere with the scratched flaw, and the unqualified sphere with the dirty flaw. Etc., in order to deal with the unqualified spheres.
以上所述即為本發明實施例各主要步驟的說明。The above is the description of the main steps of the embodiment of the present invention.
據此,本發明不僅能將球體選別為合格或不合格兩種型態之外,針對不合格球體的部份,更透過拍攝取像以及影像比對等步驟,可以針對不合格的球體再進行更仔細地選別區分,例如刮痕、髒污等…,藉以建立球體批號的資料,而提供有效地的數據以供對球體的生產過程進行改進分析、預測和評估,是以,本發明得以達到對球體的生產過程進行準確修正的目的。Accordingly, the present invention can not only select the two types of spheres that are qualified or unqualified, but also the parts of the unqualified spheres, and the steps of photographing and image matching, etc., can be performed for the unqualified spheres. More careful selection of distinctions, such as scratches, dirt, etc., to establish the data of the sphere lot number, and to provide effective data for improved analysis, prediction and evaluation of the sphere's production process, so that the invention can be achieved The purpose of accurately correcting the production process of the sphere.
另外,本發明亦可透過單一次的拍攝取像步驟,經與資料庫的影像資料比對分析即可達到對球體的生產過程進行準確修正的目的,當然亦可對該球體進行二次以上的拍攝取像以及取像後的比對分析,而越多次的拍攝取像,將使比對分析後所建立的資料更為準確,而更得以作為修正生產過程的參考資料。In addition, the present invention can also achieve the purpose of accurately correcting the production process of the sphere by performing a single image capturing step, and comparing with the image data of the database, and of course, the sphere can be more than twice. Taking the image and the comparison analysis after taking the image, the more images taken, the more accurate the data created after the comparison analysis, and the reference material for correcting the production process.
值得一提的是,參閱第3圖,本發明可於該輸送裝置30的轉盤32的側邊至少設有一光源單元60,本實施例係舉二組為例,該光源單元60為複數個發光二極體(LED)61所組成,同時撘配一由可透光材質製成的轉盤32,藉由該光源單元60提供一光源照射在該轉盤32,使該第一、二攝影裝置41、42拍攝該球體20第一、二球表面21、22的影像更為清楚。It is to be noted that, in the third embodiment, at least one light source unit 60 is disposed on the side of the turntable 32 of the transport device 30. In this embodiment, two groups are taken as an example, and the light source unit 60 is a plurality of light sources. The second electrode (LED) 61 is composed of a turntable 32 made of a permeable material, and the light source unit 60 provides a light source to illuminate the turntable 32, so that the first and second photographic devices 41, 42 The image of the first and second spherical surfaces 21, 22 of the sphere 20 is more clearly photographed.
綜上所述,此實施例及圖示僅為本發明之較佳實施例而已,當不能以之限定本發明實施之範圍,即大凡依本發明申請專利範圍所作之均等變化與修飾,皆應屬本發明專利涵蓋之範圍內。In the above, the embodiments and the drawings are only the preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, that is, the equal changes and modifications made by the scope of the patent application of the present invention should be It is within the scope of the patent of the present invention.
11...球體輸送步驟11. . . Sphere transport step
12...第一次拍攝取像步驟12. . . First capture step
13...球體轉動步驟13. . . Sphere rotation step
14...第二次拍攝取像步驟14. . . Second capture step
15...影像比對步驟15. . . Image comparison step
16...球體輸出步驟16. . . Sphere output step
20...球體20. . . Sphere
21...第一球表面twenty one. . . First ball surface
22...第二球表面twenty two. . . Second ball surface
30...輸送裝置30. . . Conveyor
31...底盤31. . . Chassis
311...滾動槽311. . . Rolling groove
32...轉盤32. . . Turntable
321...推拔孔321. . . Push hole
41...第一攝影裝置41. . . First photographic device
42...第二攝影裝置42. . . Second photographic device
51...第一位置51. . . First position
52...第二位置52. . . Second position
60...光源單元60. . . Light source unit
61...發光二極體61. . . Light-emitting diode
第1圖 係本發明的方塊流程圖。Figure 1 is a block flow diagram of the present invention.
第2圖 係本發明的局部示意圖,顯示輸送裝置、球體及第一、二攝影裝置之間的狀態。Figure 2 is a partial schematic view of the present invention showing the state of the conveyor, the ball and the first and second photographic devices.
第3圖 係本發明的另一局部示意圖,顯示設有光源單元的狀態。Fig. 3 is another partial schematic view showing the state in which the light source unit is provided.
11...球體輸送步驟11. . . Sphere transport step
12...第一次拍攝取像步驟12. . . First capture step
13...球體轉動步驟13. . . Sphere rotation step
14...第二次拍攝取像步驟14. . . Second capture step
15...影像比對步驟15. . . Image comparison step
16...球體輸出步驟16. . . Sphere output step
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW099131144A TWI485633B (en) | 2010-09-15 | 2010-09-15 | Method for selecting balls by image recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW099131144A TWI485633B (en) | 2010-09-15 | 2010-09-15 | Method for selecting balls by image recognition |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201211915A TW201211915A (en) | 2012-03-16 |
TWI485633B true TWI485633B (en) | 2015-05-21 |
Family
ID=46764466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW099131144A TWI485633B (en) | 2010-09-15 | 2010-09-15 | Method for selecting balls by image recognition |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI485633B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW394883B (en) * | 1997-11-25 | 2000-06-21 | Xl Vision Inc | Method and system for computer access and cursor control using a relief object image generator |
US6718067B1 (en) * | 1999-07-30 | 2004-04-06 | Sony Corporation | Method of manipulating illumination effects associated with an image |
US6825931B2 (en) * | 1998-08-13 | 2004-11-30 | Acushnet Company | Apparatus and method for automated game ball inspection |
-
2010
- 2010-09-15 TW TW099131144A patent/TWI485633B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW394883B (en) * | 1997-11-25 | 2000-06-21 | Xl Vision Inc | Method and system for computer access and cursor control using a relief object image generator |
US6825931B2 (en) * | 1998-08-13 | 2004-11-30 | Acushnet Company | Apparatus and method for automated game ball inspection |
US6718067B1 (en) * | 1999-07-30 | 2004-04-06 | Sony Corporation | Method of manipulating illumination effects associated with an image |
Also Published As
Publication number | Publication date |
---|---|
TW201211915A (en) | 2012-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI580951B (en) | Inspection apparatus and inspection method | |
US8179524B2 (en) | Hard disk inspection apparatus | |
JP6834174B2 (en) | Visual inspection method and visual inspection equipment | |
JP2018017639A (en) | Surface defect inspection method and surface defect inspection device | |
JP6778754B2 (en) | Burn inspection device for glass containers | |
JP6859627B2 (en) | Visual inspection equipment | |
US9581554B2 (en) | Photon emitter array | |
US20100053790A1 (en) | Hard disk inspection apparatus and method, as well as program | |
US10782250B2 (en) | Hybrid inspection system and inspection method for dosage | |
CN107727665B (en) | Appearance inspection device and appearance inspection method | |
WO2008153452A1 (en) | A surface inspection device and an arrangement for inspecting a surface | |
US20200378899A1 (en) | Glass processing apparatus and methods | |
JP2012026858A (en) | Device for inspecting inner peripheral surface of cylindrical container | |
TWI623740B (en) | Inspection method, inspection system, production method | |
TW201341785A (en) | A system and method for inspecting an article for defects | |
JP2009109243A (en) | Device for inspecting resin sealing material | |
TWI485633B (en) | Method for selecting balls by image recognition | |
KR102646891B1 (en) | Lens Unit Inspection Apparatus | |
JP5959430B2 (en) | Bottle cap appearance inspection device and appearance inspection method | |
KR20160045451A (en) | method for inspection the capsule | |
JP2011237441A (en) | Device for inspecting part flaw | |
KR101485425B1 (en) | Cover-glass Analysis Apparatus | |
JP6937647B2 (en) | Optical display panel damage inspection method | |
TWM483255U (en) | Six-surface inspection mechanism of tablet inspection machine | |
TWM585898U (en) | Automatic optical inspection mechanism for inspecting defects of silicon wafer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |