TWI707308B - Object detection method and system based on monochromatic light - Google Patents

Object detection method and system based on monochromatic light Download PDF

Info

Publication number
TWI707308B
TWI707308B TW108126431A TW108126431A TWI707308B TW I707308 B TWI707308 B TW I707308B TW 108126431 A TW108126431 A TW 108126431A TW 108126431 A TW108126431 A TW 108126431A TW I707308 B TWI707308 B TW I707308B
Authority
TW
Taiwan
Prior art keywords
light
pictures
measured
picture
monochromatic light
Prior art date
Application number
TW108126431A
Other languages
Chinese (zh)
Other versions
TW202105325A (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 TW108126431A priority Critical patent/TWI707308B/en
Application granted granted Critical
Publication of TWI707308B publication Critical patent/TWI707308B/en
Publication of TW202105325A publication Critical patent/TW202105325A/en

Links

Images

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides an object detection method and system based on monochromatic light. The system includes a transmission unit, a camera, a light source, a light dividing unit and a computer device. The method includes: dispersing an incident light of a light source into monochromatic light of different colors through the dividing unit; collecting a picture of an object to be tested every preset time by the camera when the object getting through the monochromatic light, and obtaining a number of pictures of the object; acquiring a number of pictures of the object by the computer device and extracting the pictures of the object under the same color light from the extracted pictures, and integrating the extracted pictures under the same color light by the computer device; and outputting the integrated picture for object detection by the computer device.

Description

基於單色光之物體檢測方法及檢測系統 Object detection method and detection system based on monochromatic light

本發明涉及物體檢測領域,具體涉及一種基於單色光之物體檢測方法、基於單色光之物體檢測系統。 The invention relates to the field of object detection, in particular to an object detection method based on monochromatic light and an object detection system based on monochromatic light.

現在之流水線生產作業過程中,經常要對產品表面進行瑕疵檢測或待測物體表面圖像之獲取,傳統之檢測方法是依照待檢測物體之物理特性,使用多種顏色之光源,依序打光攝像,藉由反射光之性質檢查待檢測物體表面之物理特性。傳統之做法是使用單一之光源,常發生目標影像消失之情況,需要使用不同顏色之色光才能凸顯出目標影像,且這一過程需要花費較多之時間,尤其是在流水線上,由於存在更換光源使得目標影像消失之情況,所以需要將流水線之傳送帶暫停,待攝像單元獲取完反射光之情況後才能繼續轉動。 In the current assembly line production process, it is often necessary to inspect the surface of the product or obtain the image of the surface of the object to be tested. The traditional inspection method is to use multiple colors of light sources according to the physical characteristics of the object to be inspected, and light the camera sequentially. , Check the physical characteristics of the surface of the object to be inspected by the nature of the reflected light. The traditional method is to use a single light source, and it often happens that the target image disappears. Different colors of light are needed to highlight the target image, and this process takes a lot of time, especially on the assembly line, due to the replacement of the light source To cause the target image to disappear, the conveyor belt of the assembly line needs to be paused, and the camera unit can only continue to rotate after the camera unit has acquired the reflected light.

鑒於以上內容,有必要提出一種基於單色光之物體檢測方法、基於單色光之物體檢測系統,使得基於單色光之物體檢測在不更換光源之前提下方便快捷之完成待測物體之檢測。 In view of the above, it is necessary to propose an object detection method based on monochromatic light and an object detection system based on monochromatic light, so that the object detection based on monochromatic light can quickly and easily complete the detection of the object to be measured without changing the light source. .

本申請之第一方面提供一種基於單色光之物體檢測方法,所述方法包括:藉由分光單元將光源之入射光分解成不同顏色之單色光; 當待測物體跟隨傳送單元移動,藉由所述不同顏色之單色光照射區域時,攝像單元每隔一預設時間採集待測物體之圖片,得到多幅待測物體之圖片;電腦裝置獲取所述多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之圖片;電腦裝置整合從多幅圖片中提取之待測物體在同一色光照射下之圖片;電腦裝置輸出整合後之圖片,用於物體檢測。 The first aspect of the present application provides an object detection method based on monochromatic light, the method comprising: decomposing incident light from a light source into monochromatic light of different colors by a light splitting unit; When the object to be measured moves with the transmission unit and the area is illuminated by the monochromatic light of different colors, the camera unit collects pictures of the object to be measured every predetermined time to obtain multiple pictures of the object to be measured; the computer device obtains The multiple pictures of the object to be measured extract the pictures of the object under the same color light from the multiple pictures; the computer device integrates the pictures of the object to be measured extracted from the multiple pictures under the same color light; The computer device outputs the integrated picture for object detection.

優選地,所述分光單元為三棱鏡。 Preferably, the light splitting unit is a triangular prism.

優選地,所述預設時間為待測物體跟隨所述傳送單元移動時,所述待測物體上預設點開始進入一單色光照射區域之時間與所述預設點離開所述單色光照射區域之時間之間之時間差。 Preferably, the preset time is the time when the preset point on the object to be measured starts to enter a monochromatic light irradiation area and the preset point leaves the monochromatic light when the object to be measured moves with the transmission unit. The time difference between the time of light irradiation area.

優選地,獲取所述多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之圖片之步驟包括:獲取攝像單元在待測物體進入第一個單色光照射區域到離開最後一個單色光照射區域時間內元採集之所述待測物體之表面之多幅圖片;按照不同色光之照射區域分割所述多幅圖片,得到每一色光照射下待測物體之分割圖片;提取所述每一色光照射區域內之圖片資訊。 Preferably, the step of acquiring the pictures of the plurality of objects to be measured, and extracting the pictures of the objects to be measured under the same color light from the plurality of pictures includes: acquiring the first monochromatic light when the camera unit enters the object to be measured The multiple pictures of the surface of the object to be measured are collected from the irradiation area to the time the last monochromatic light irradiation area is left; the multiple pictures are divided according to the irradiation area of different colors to obtain the object to be measured under the irradiation of each color light The segmented picture; extracting the picture information in the illuminated area of each color light.

優選地,按照不同色光之照射區域分割所述多幅圖片之步驟包括:獲取任一圖片,使用圖像識別方法識別出所述圖片中不同色光照射之區域;按照色光照射區域分割所述圖片。 Preferably, the step of dividing the plurality of pictures according to irradiation areas of different colors includes: acquiring any picture, using an image recognition method to identify areas irradiated by different colors of light in the picture; and dividing the pictures according to the irradiation areas of color light.

優選地,整合從多幅圖片中提取之待測物體在同一色光照射下之圖片之步驟包括:從多幅圖片中獲取同一色光照射下待測物體之分割圖片;在所述分割圖片中使用圖像識別方法對所述分割圖片之內容進行識別並按照預設規則進行標號; 按照所述標號整合所述分割圖片。 Preferably, the step of integrating the pictures of the object to be measured under the same color light, which are extracted from multiple pictures, includes: obtaining segmented pictures of the object to be measured under the same color light from the multiple pictures; using the images in the segmented pictures The image recognition method recognizes the content of the segmented pictures and labels them according to preset rules; Integrate the divided pictures according to the labels.

優選地,所述步驟還包括:對整合後之分割圖像進行銳化處理,增強圖片之特徵資訊。 Preferably, the step further includes: performing sharpening processing on the integrated segmented image to enhance the characteristic information of the image.

本申請之第二方面提供一種基於單色光之物體檢測系統,所述系統包括:光源,用於發出複色光;分光單元,用於將光源發出之複色光分解成單色光,藉由分光單元將光源之入射光分解成不同顏色之單色光;攝像單元,用於採集待測物體之圖片,當待測物體跟隨傳送單元移動,藉由所述不同顏色之單色光照射區域時,攝像單元每隔一預設時間採集待測物體之圖片,得到多幅待測物體之圖片;處理器,用於執行電腦程式指令;記憶體,用於存儲電腦程式指令,所述電腦程式指令由所述處理器運行並執行如下步驟:獲取所述多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之圖片;整合從多幅圖片中提取之待測物體在同一色光照射下之圖片;輸出整合後之圖片,用於物體檢測。 The second aspect of the present application provides an object detection system based on monochromatic light. The system includes: a light source for emitting polychromatic light; and a light splitting unit for decomposing the polychromatic light emitted by the light source into monochromatic light. The unit decomposes the incident light of the light source into monochromatic light of different colors; the camera unit is used to collect pictures of the object to be measured. When the object to be measured moves with the transmission unit, the area is illuminated by the monochromatic light of different colors. The camera unit collects pictures of the object to be measured every preset time to obtain multiple pictures of the object to be measured; the processor is used to execute computer program instructions; the memory is used to store computer program instructions, the computer program instructions are The processor runs and executes the following steps: obtain the pictures of the multiple objects to be measured, extract the pictures of the objects to be measured under the same color light from the multiple pictures; integrate the images to be measured extracted from the multiple pictures The picture of the object illuminated by the same color light; output the integrated picture for object detection.

本發明基於單色光之物體檢測方法藉由分光單元獲取不同顏色之單色光,攝像單元收集單色光照射在待測物體上反射光光所形成之圖像,藉由電腦裝置對所述圖像進行整理,最後輸出所述待測物體在單色光照射下之圖像。藉由所述方法可以方便快捷之獲取待測物體在不同單色光照射下所呈現之圖片,並將所述圖片用於物體檢測。 The object detection method of the present invention is based on monochromatic light. The beam splitting unit acquires monochromatic light of different colors. The imaging unit collects the image formed by the reflected light of the monochromatic light irradiated on the object to be measured. The images are sorted, and finally the image of the object to be measured under monochromatic light is output. By using the method, the pictures of the object to be measured under different monochromatic lights can be obtained conveniently and quickly, and the pictures can be used for object detection.

1:傳送單元 1: Transmission unit

2:光源 2: light source

3:分光單元 3: Spectroscopic unit

4:攝像單元 4: camera unit

5:待測物體 5: Object to be measured

6:電腦裝置 6: Computer device

10:流水線系統 10: Pipeline system

20:記憶體 20: memory

30:處理器 30: processor

40:電腦程式 40: computer program

圖1是本發明實施例一提供之單色光檢測方法之應用環境架構示意圖。 FIG. 1 is a schematic diagram of the application environment architecture of the monochromatic light detection method provided by Embodiment 1 of the present invention.

圖2是本發明電腦裝置較佳實施例之示意圖。 Fig. 2 is a schematic diagram of a preferred embodiment of the computer device of the present invention.

圖3是本發明實施例二提供之待測物體表面照射示意圖。 Fig. 3 is a schematic diagram of the surface illumination of the object to be measured according to the second embodiment of the present invention.

圖4是本發明實施例二提供之單色光檢測方法流程圖。 Fig. 4 is a flow chart of the monochromatic light detection method provided by the second embodiment of the present invention.

為了能夠更清楚地理解本發明之上述目的、特徵和優點,下面結合附圖和具體實施例對本發明進行詳細描述。需要說明之是,在不衝突之情況下,本申請之實施例及實施例中之特徵可以相互組合。 In order to be able to understand the above-mentioned objectives, features and advantages of the present invention more clearly, the present invention will be described in detail below with reference to the drawings and specific embodiments. It should be noted that the embodiments of the application and the features in the embodiments can be combined with each other if there is no conflict.

在下面之描述中闡述了很多具體細節以便於充分理解本發明,所描述之實施例僅僅是本發明一部分實施例,而不是全部之實施例。基於本發明中之實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得之所有其他實施例,都屬於本發明保護之範圍。 In the following description, many specific details are explained in order to fully understand the present invention. The described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

除非另有定義,本文所使用之所有之技術和科學術語與屬於本發明之技術領域之技術人員通常理解之含義相同。本文中在本發明之說明書中所使用之術語只是為了描述具體之實施例之目的,不是旨在於限制本發明。 Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the technical field of the present invention. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention.

實施例一 Example one

參閱圖1所示,為本發明實施例一提供之單色光檢測方法之應用環境架構示意圖。 Referring to FIG. 1, it is a schematic diagram of the application environment architecture of the monochromatic light detection method provided by Embodiment 1 of the present invention.

本實施方式中,所述單色光檢測方法應用於流水線系統10中。所述流水線系統中包括傳送單元1、光源2、分光單元3、攝像單元4,如圖所示傳送單元1上放置有待測物體5,攝像單元4位於流水線之上方,所述攝像單元4之拍攝視角以能完全拍到待測物體5在不同單色光之照射區域為準,所述光源2與 分光單元3均在待測物體5之上方,其中分光單元3位於光源2之下方,待測物體5之上方,所述攝像單元4與電腦裝置6藉由網路建立通信連接。所述網路可以是有線網路,也可以是無線網路,例如無線電、無線保真(Wireless Fidelity,WIFI)、蜂窩、衛星、廣播等。 In this embodiment, the monochromatic light detection method is applied to the pipeline system 10. The pipeline system includes a transmission unit 1, a light source 2, a light splitting unit 3, and a camera unit 4. As shown in the figure, the transmission unit 1 has an object 5 to be measured, and the camera unit 4 is located above the pipeline. The shooting angle of view is based on the area where the object 5 to be tested can be fully photographed in the irradiation area of different monochromatic light, the light source 2 is The light splitting unit 3 is above the object 5 to be measured. The light splitting unit 3 is located below the light source 2 and above the object 5 to be measured. The camera unit 4 and the computer device 6 establish a communication connection through the network. The network can be a wired network or a wireless network, such as radio, wireless fidelity (WIFI), cellular, satellite, broadcast, etc.

所述光源2包括但不限於白熾燈、LED燈等。 The light source 2 includes, but is not limited to, incandescent lamps, LED lamps and the like.

所述分光單元3可以包括三棱鏡、分光器等。所述分光單元3接收光源之入射光,並將入射光分解成不同顏色之單色光。 The light splitting unit 3 may include a prism, a light splitter, and the like. The light splitting unit 3 receives the incident light from the light source and splits the incident light into monochromatic light of different colors.

在本發明一實施方式中,所述分光單元為一三棱鏡,所述光源為LED燈,三棱鏡接收LED燈之光線,將所述光線分解為紅、橙、黃、綠、青、藍、紫這七種單色光。 In one embodiment of the present invention, the light splitting unit is a triangular prism, the light source is an LED lamp, and the triangular prism receives the light from the LED lamp and splits the light into red, orange, yellow, green, cyan, blue, and purple. Seven monochromatic lights.

所述攝像單元4可以是具有拍攝功能之攝像機,包括但不限於攝像頭、照相機等。當待測物體跟隨傳送單元移動,藉由所述不同顏色之單色光照射區域時,攝像單元每隔一預設時間採集待測物體之圖片,得到多幅待測物體之圖片。 The camera unit 4 may be a camera with a shooting function, including but not limited to a camera, a camera, and the like. When the object to be measured moves with the transmission unit and the area is illuminated by the monochromatic light of different colors, the camera unit collects pictures of the object to be measured every predetermined time to obtain multiple pictures of the object to be measured.

所述預設時間為隨著待測物體在傳送單元上之移動,一單色光從開始照射到完全照射待測物體所經歷之時間。 The preset time is the time elapsed from the beginning of the irradiation of a single monochromatic light to the complete irradiation of the object to be measured as the object to be measured moves on the conveying unit.

舉例而言,如圖3是本發明實施例二提供之待測物體表面照射示意圖,待測物體5首先經過之單色光照射區域為紫色,當待測物體5準備進去紫色光照射區域之時間為t 0,離開紫色光之照射區域為t 1,則所述預設時間為:T=t 1-t 0 For example, Figure 3 is a schematic diagram of the surface illumination of the object to be tested provided in the second embodiment of the present invention. The monochromatic light irradiation area that the object to be tested 5 passes through is purple, and the time when the object 5 to be tested is ready to enter the purple light irradiation area Is t 0 , and the irradiated area of the violet light is t 1 , then the preset time is: T = t 1 - t 0

且不同色光照射之範圍均相等,則所述攝像單元每隔時間T獲取待測物體圖片,可以得到待測物體在不同單色光照射下之圖片。 And the different color light irradiation ranges are equal, the camera unit obtains pictures of the object to be measured every time T, and pictures of the object to be measured under different monochromatic light can be obtained.

在本發明又一實施方式中,所述分光單元之位置可以調節,藉由調節分光單元與光源之間之距離,得到在不同單色光下高清晰度之待測物體圖 片。 In yet another embodiment of the present invention, the position of the beam splitting unit can be adjusted. By adjusting the distance between the beam splitting unit and the light source, a high-resolution image of the object to be measured under different monochromatic light can be obtained. sheet.

所述電腦裝置6可以為安裝有基於單色光檢測軟體之電子設備,如圖2所示,所述電腦裝置6包括記憶體20、處理器30以及存儲在所述記憶體20中並可在所述處理器30上運行之電腦程式40。所述電腦程式用於完成如下所述功能。 The computer device 6 may be an electronic device installed with software based on monochromatic light detection. As shown in FIG. 2, the computer device 6 includes a memory 20, a processor 30, and is stored in the memory 20 and can be stored in The computer program 40 running on the processor 30. The computer program is used to perform the functions described below.

獲取所述多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之圖片。 Obtain the multiple pictures of the object to be measured, and extract the pictures of the object to be measured under the same color light from the multiple pictures.

在本發明一實施方式中,獲取所述多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之圖片之步驟可以包括:獲取攝像單元在待測物體進入第一個單色光照射區域到離開最後一個單色光照射區域時間內元採集之所述待測物體之表面之多幅圖片;按照不同色光之照射區域分割所述多幅圖片,得到每一色光照射下待測物體之分割圖片;提取所述每一色光照射區域內之圖片資訊。 In one embodiment of the present invention, the step of acquiring the pictures of the multiple objects to be measured, and extracting the pictures of the objects to be measured under the same color light from the multiple pictures may include: acquiring the camera unit when the object to be measured enters The multiple pictures of the surface of the object to be measured are collected from the first monochromatic light irradiation area to the time from the last monochromatic light irradiation area; the multiple pictures are divided according to the irradiation area of different colors to obtain each color The segmented picture of the object to be measured under light irradiation; extracting picture information in the area irradiated by each color light.

按照不同色光之照射區域分割所述多幅圖片之步驟可以包括:獲取任一圖片,使用圖像識別方法識別出所述圖片中不同色光照射之區域;按照色光照射區域分割所述圖片。 The step of dividing the plurality of pictures according to the irradiation area of different colors may include: obtaining any picture, using an image recognition method to identify the area irradiated by the different colors of light in the picture; dividing the picture according to the irradiation area of the color light.

所述圖像識別方法包括但不限於基於神經網路之圖像識別方法、基於小波矩之圖像識別方法等,所述圖像識別方法為現有技術,在此不再贅述。 The image recognition method includes, but is not limited to, an image recognition method based on neural network, an image recognition method based on wavelet moments, etc. The image recognition method is an existing technology and will not be repeated here.

舉例而言,結合圖1、圖3所示,攝像單元4採集了待測物體沒有進入單色光照射區域,到完全位於單色光照射區域之過程之8幅圖片,攝像單元4將採集之8張圖片發送給電腦裝置6,電腦裝置6獲取到圖片,將任一圖片使用基於神經網路之圖像識別方法對所述圖片進行識別,識別出圖片中紅光照射之區 域,橙光照射之區域,黃光照射之區域,綠光照射之區域,青色光照射之區域,藍光照射之區域,紫色光照射之區域。藉由所述圖像識別方法對多幅圖片進行識別,可以得按照不同色光之照射情況進行分割之待測物體之分割圖片。 For example, in conjunction with Figures 1 and 3, the camera unit 4 collects 8 pictures of the object to be measured from entering the monochromatic light irradiation area to completely located in the monochromatic light irradiation area, and the camera unit 4 will collect them. 8 pictures are sent to the computer device 6, the computer device 6 obtains the picture, and uses the neural network-based image recognition method to recognize the picture, and recognize the red light area in the picture Domain, the area illuminated by orange light, the area illuminated by yellow light, the area illuminated by green light, the area illuminated by cyan light, the area illuminated by blue light, and the area illuminated by purple light. By using the image recognition method to recognize multiple pictures, it is possible to obtain segmented pictures of the object to be measured that are segmented according to the illumination conditions of different colors of light.

整合從多幅圖片中提取之待測物體在同一色光照射下之圖片。 Integrate the pictures of the object to be tested extracted from multiple pictures under the same color light.

在本發明一實施方式中,整合從多幅圖片中提取之待測物體在同一色光照射下之圖片之步驟可以包括:從多幅圖片中獲取同一色光照射下待測物體之分割圖片;在所述分割圖片中使用圖像識別方法對所述分割圖片之內容進行識別並按照預設規則進行標號;按照所述標號整合所述分割圖片。 In one embodiment of the present invention, the step of integrating the pictures of the object to be tested extracted from multiple pictures under the same color light may include: obtaining segmented pictures of the object to be tested under the same color light from the multiple pictures; In the segmented pictures, an image recognition method is used to identify the content of the segmented pictures and label them according to a preset rule; the segmented pictures are integrated according to the label.

所述預設規則可以是按照分光區域之寬度將待測物體之圖片進行分割,然後按照分割區域以待測物體從左向右、從右向左、從上到下、從下到上之規則進行編號。 The preset rule may be to divide the picture of the object to be measured according to the width of the light splitting area, and then according to the divided area, the object to be measured is from left to right, from right to left, from top to bottom, and from bottom to top. Numbering.

在本發明又一實施方式中,所述步驟還包括:對整合後之分割圖像進行銳化處理,增強圖片之特徵資訊。 In another embodiment of the present invention, the step further includes: performing sharpening processing on the integrated segmented image to enhance the characteristic information of the image.

舉例而言,電腦裝置6獲取同一色光照射下待測物體之分割圖片,對所述分割圖像使用基於神經網路之圖像識別方法進行識別,識別出所述圖片位於待測物體之部位,將設別出之待測物體之部位按照待測物體從左往右之順序進行標號,按照所述標號對所述分割圖像進行整合,得到了待測物體在不同色光下之圖片。並將所述圖片使用圖像增強方法進行銳化處理,去除掉圖片中之冗余資訊,增強圖片中待測物體在不同色光下之狀態資訊,所述圖像增強方法包括拉普拉斯運算元圖像增強方法、長條圖均衡化增強方法。 For example, the computer device 6 obtains a segmented image of the object to be measured under the same color light, recognizes the segmented image using an image recognition method based on neural network, and recognizes that the image is located on the object to be measured. The identified parts of the object to be measured are labeled in the order of the object to be measured from left to right, and the segmented images are integrated according to the label to obtain pictures of the object to be measured under different color lights. The image is sharpened using an image enhancement method to remove redundant information in the image, and to enhance the state information of the object under test in the image under different colors. The image enhancement method includes Laplacian operation Meta image enhancement method, bar graph equalization enhancement method.

輸出整合後之圖片,用於物體檢測。 Output the integrated picture for object detection.

在本發明一實施方式中,將獲取到之待測物體5在不同色光下之圖 像藉由電腦裝置6進行輸出。 In an embodiment of the present invention, the acquired image of the object 5 under different colors Like output by the computer device 6.

在本發明其他實施方式,所述待測物體5在不同色光下之圖像也可以藉由網路傳輸到其他使用者終端進行輸出,所述使用者終端包括但不限於智慧手機、平板電腦、筆記型電腦等。 In other embodiments of the present invention, the image of the object 5 under different colors can also be transmitted via the network to other user terminals for output. The user terminals include but are not limited to smart phones, tablet computers, Laptops, etc.

所述電腦裝置6可以是桌上型電腦、筆記本、掌上型電腦及雲端伺服器等計算設備。本領域技術人員可以理解,所述示意圖僅僅是電腦裝置6之示例,並不構成對電腦裝置6之限定,可以包括比圖示更多或更少之部件,或者組合某些部件,或者不同之部件,例如所述電腦裝置6還可以包括輸入輸出設備、網路接入設備、匯流排等。 The computer device 6 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. Those skilled in the art can understand that the schematic diagram is only an example of the computer device 6 and does not constitute a limitation on the computer device 6. It may include more or less components than those shown in the figure, or a combination of certain components, or different ones. Components, for example, the computer device 6 may also include input and output devices, network access devices, buses, and so on.

所稱處理器30可以是中央處理單元(Central Processing Unit,CPU),還可以是其他通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件等。通用處理器可以是微處理器或者所述處理器30也可以是任何常規之處理器等,所述處理器30是所述電腦裝置6之控制中心,利用各種介面和線路連接整個電腦裝置6之各個部分。 The so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), and dedicated integrated circuits (Application Specific Integrated Circuits, ASICs). , Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor 30 can also be any conventional processor, etc. The processor 30 is the control center of the computer device 6, which uses various interfaces and lines to connect the entire computer device 6 Various parts.

所述記憶體20可用於存儲所述電腦程式40和/或模組/單元,所述處理器30藉由運行或執行存儲在所述記憶體20內之電腦程式和/或模組/單元,以及調用存儲在記憶體20內之資料,實現所述電腦裝置6之各種功能。所述記憶體20可主要包括存儲程式區和存儲資料區,其中,存儲程式區可存儲作業系統、至少一個功能所需之應用程式(比如聲音播放功能、圖像播放功能等)等;存儲資料區可存儲根據電腦裝置6之使用所創建之資料(比如音訊資料、電話本等)等。此外,記憶體20可以包括高速隨機存取記憶體,還可以包括非易失性記憶體,例如硬碟、記憶體、插接式硬碟,智慧存儲卡(Smart Media Card,SMC), 安全數位(Secure Digital,SD)卡,快閃記憶體卡(Flash Card)、至少一個磁碟記憶體件、快閃記憶體器件、或其他易失性固態記憶體件。 The memory 20 can be used to store the computer programs 40 and/or modules/units, and the processor 30 runs or executes the computer programs and/or modules/units stored in the memory 20, And call the data stored in the memory 20 to realize various functions of the computer device 6. The memory 20 may mainly include a storage program area and a storage data area, where the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, etc.; The area can store data (such as audio data, phone book, etc.) created based on the use of the computer device 6. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, and a Smart Media Card (SMC), Secure Digital (SD) card, flash memory card (Flash Card), at least one magnetic disk memory device, flash memory device, or other volatile solid-state memory device.

所述電腦裝置6集成之模組/單元如果以軟體功能單元之形式實現並作為獨立之產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣之理解,本發明實現上述實施例方法中之全部或部分流程,也可以藉由電腦程式來指令相關之硬體來完成,所述之電腦程式可存儲於一電腦可讀存儲介質中,所述電腦程式在被處理器執行時,可實現上述各個方法實施例之步驟。 其中,所述電腦程式包括電腦程式代碼,所述電腦程式代碼可以為原始程式碼形式、物件代碼形式、可執行檔或某些中間形式等。所述電腦可讀介質可以包括:能夠攜帶所述電腦程式代碼之任何實體或裝置、記錄介質、U盤、移動硬碟、磁碟、光碟、電腦記憶體、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、電載波信號、電信信號以及軟體分發介質等。需要說明之是,所述電腦可讀介質包含之內容可以根據司法管轄區內立法和專利實踐之要求進行適當之增減,例如在某些司法管轄區,根據立法和專利實踐,電腦可讀介質不包括電載波信號和電信信號。 If the integrated module/unit of the computer device 6 is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by computer programs instructing related hardware, and the computer programs can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of each method embodiment described above. Wherein, the computer program includes computer program code, and the computer program code may be in the form of original program code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read- Only Memory), Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal, and software distribution media. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.

實施例二 Example two

請參閱圖4所示,是本發明第二實施例提供之單色光檢測方法之流程圖。根據不同之需求,所述流程圖中步驟之順序可以改變,某些步驟可以省略。 Please refer to FIG. 4, which is a flowchart of the monochromatic light detection method according to the second embodiment of the present invention. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.

步驟S1、 藉由分光單元將光源之入射光分解成不同顏色之單色光。 Step S1: Decompose the incident light of the light source into monochromatic light of different colors by the light splitting unit.

在本發明一實施方式中,所述分光單元為一三棱鏡,所述光源為LED燈,三棱鏡接收LED燈之光線,將所述光線分解為紅、橙、黃、綠、青、藍、紫這七種單色光。 In one embodiment of the present invention, the light splitting unit is a triangular prism, the light source is an LED lamp, and the triangular prism receives the light from the LED lamp and splits the light into red, orange, yellow, green, cyan, blue, and purple. Seven monochromatic lights.

步驟S2、 當待測物體跟隨傳送單元移動,藉由所述不同顏色之單 色光照射區域時,攝像單元每隔一預設時間採集待測物體之圖片,得到多幅待測物體之圖片。 Step S2. When the object to be measured moves with the transmission unit, using the single When the color light illuminates the area, the camera unit collects pictures of the object to be measured every preset time to obtain multiple pictures of the object to be measured.

所述預設時間為隨著待測物體在傳送單元上之移動,一單色光從開始照射到完全照射待測物體所經歷之時間。 The preset time is the time elapsed from the beginning of the irradiation of a single monochromatic light to the complete irradiation of the object to be measured as the object to be measured moves on the conveying unit.

舉例而言,如圖3是本發明實施例二提供之待測物體表面照射示意圖,待測物體5首先經過之單色光照射區域為紫色,當待測物體5準備進去紫色光照射區域之時間為t 0,離開紫色光之照射區域為t 1,則所述預設時間為:T=t 1-t 0 For example, Figure 3 is a schematic diagram of the surface illumination of the object to be tested provided in the second embodiment of the present invention. The monochromatic light irradiation area that the object to be tested 5 passes through is purple, and the time when the object 5 to be tested is ready to enter the purple light irradiation area Is t 0 , and the irradiated area of the violet light is t 1 , then the preset time is: T = t 1 - t 0

且不同色光照射之範圍均相等,則所述攝像單元每隔時間T獲取待測物體圖片,可以得到待測物體在不同單色光照射下之圖片。 And the different color light irradiation ranges are equal, the camera unit obtains pictures of the object to be measured every time T, and pictures of the object to be measured under different monochromatic light can be obtained.

在本發明又一實施方式中,所述分光單元之位置可以調節,藉由調節分光單元與光源之間之距離,得到在不同單色光下清晰度不同之待測物體圖片。 In another embodiment of the present invention, the position of the light splitting unit can be adjusted. By adjusting the distance between the light splitting unit and the light source, images of the object to be measured with different definitions under different monochromatic lights can be obtained.

步驟S3、 電腦裝置獲取所述多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之圖片。 Step S3: The computer device obtains the multiple pictures of the object to be measured, and extracts the pictures of the object to be measured under the same color light from the multiple pictures.

在本發明一實施方式中,獲取多幅待測物體之圖片,在所述多幅圖片中提取待測物體在同一色光照射下之狀態之步驟可以包括:獲取待測物體從進入第一個單色光照射區域到離開最後一個單色光照射區域時間內,攝像單元採集之待測物體之表面之多幅圖片;按照不同色光之照射區域分割所述多幅圖片,得到同一色光照射下待測物體之分割圖片;提取所述同一色光照射區域內之圖片資訊。 In an embodiment of the present invention, acquiring multiple pictures of the object to be measured, and extracting the state of the object to be measured under the same color light from the multiple pictures may include: acquiring the object to be measured from entering the first order The multiple pictures of the surface of the object to be measured collected by the camera unit during the time from the color light irradiation area to the time when it leaves the last monochromatic light irradiation area; the multiple pictures are divided according to the irradiation area of different colors to obtain the same color light irradiation to be measured The segmented picture of the object; extract the picture information in the same color light irradiation area.

按照不同色光之照射區域分割所述多幅圖片之步驟可以包括: 獲取任一圖片,使用圖像識別方法識別所述圖片,識別出所述圖片中不同 色光照射之區域;按照同一色光照射區域分割所述圖片。 The step of dividing the multiple pictures according to the irradiation areas of different colors may include: Obtain any picture, use the image recognition method to identify the picture, and identify the difference in the picture The area illuminated by the colored light; the picture is divided according to the area illuminated by the same colored light.

所述圖像識別方法包括但不限於基於神經網路之圖像識別方法、基於小波矩之圖像識別方法等,所述圖像識別方法為現有技術,在此不再贅述。 The image recognition method includes, but is not limited to, an image recognition method based on neural network, an image recognition method based on wavelet moments, etc. The image recognition method is an existing technology and will not be repeated here.

舉例而言,如圖3是本發明實施例二提供之待測物體表面照射示意圖。攝像單元4採集了待測物體沒有進入單色光照射區域,到完全位於單色光照射區域之過程之多幅圖片,攝像單元4將採集之多幅圖片發送給電腦裝置6,電腦裝置6獲取到圖片,將任一圖片使用基於神經網路之圖像識別方法對所述圖片進行識別,識別出圖片中紅光照射之區域,橙光照射之區域,黃光照射之區域,綠光照射之區域,青色光照射之區域,藍光照射之區域,紫色光照射之區域,使用所述圖像識別方法對多幅圖片進行識別,可以得按照不同色光之照射情況進行分割之待測物體之分割圖片。 For example, FIG. 3 is a schematic diagram of the surface illumination of the object to be measured provided in the second embodiment of the present invention. The camera unit 4 collects multiple pictures from the object to be measured from entering the monochromatic light irradiation area to completely located in the monochromatic light irradiation area. The camera unit 4 sends the collected pictures to the computer device 6, and the computer device 6 obtains them. Go to the picture, use the neural network-based image recognition method to identify the picture, and identify the area illuminated by red light, the area illuminated by orange light, the area illuminated by yellow light, and the area illuminated by green light. Area, the area illuminated by cyan light, the area illuminated by blue light, and the area illuminated by purple light. Use the image recognition method to identify multiple images, and you can get segmented images of the object to be measured according to the illumination of different colors .

步驟S4、 電腦裝置整合從多幅圖片中提取之待測物體在同一色光照射下之圖片。 Step S4: The computer device integrates the pictures of the object to be measured extracted from the multiple pictures under the same color light.

在本發明一實施方式中,整合從多幅圖片中提取之之待測物體在同一色光照射下之圖片之步驟可以包括:獲取同一色光照射下待測物體之分割圖片;在所述分割圖片中使用圖像識別方法對所述分割圖片之內容進行識別並按照預設規則進行標號;按照所述標號整合所述分割圖片。 In one embodiment of the present invention, the step of integrating the pictures of the object to be measured under the same color light, which are extracted from multiple pictures, may include: obtaining segmented pictures of the object to be measured under the same color light; in the segmented pictures Using an image recognition method to identify the content of the segmented pictures and label them according to preset rules; and integrate the segmented pictures according to the label.

所述預設規則可以是按照分光區域之寬度將待測物體之圖片進行分割,然後按照分割區域以待測物體從左向右、從右向左、從上到下、從下到上之規則進行編號。 The preset rule may be to divide the picture of the object to be measured according to the width of the light splitting area, and then according to the divided area, the object to be measured is from left to right, from right to left, from top to bottom, and from bottom to top. Numbering.

在本發明又一實施方式中,所述步驟還包括:對整合後之分割圖 像進行銳化處理,增強圖片之特徵資訊。 In yet another embodiment of the present invention, the step further includes: comparing the integrated segmentation map The image is sharpened to enhance the characteristic information of the image.

舉例而言,電腦裝置6獲取同一色光照射下待測物體之分割圖片,對所述分割圖像使用基於神經網路之圖像識別方法進行識別,識別出所述圖片位於待測物體之部位,將設別出之待測物體之部位按照待測物體從左往右之順序進行標號,按照所述標號對所述分割圖像進行整合,得到了待測物體在不同色光下之圖片。並將所述圖片使用圖像增強方法進行銳化處理,去除掉圖片中之冗余資訊,增強圖片中待測物體在不同色光下之狀態資訊,所述圖像增強方法包括拉普拉斯運算元圖像增強方法、長條圖均衡化增強方法。 For example, the computer device 6 obtains a segmented image of the object to be measured under the same color light, recognizes the segmented image using an image recognition method based on neural network, and recognizes that the image is located on the object to be measured. The identified parts of the object to be measured are labeled in the order of the object to be measured from left to right, and the segmented images are integrated according to the label to obtain pictures of the object to be measured under different color lights. The image is sharpened using an image enhancement method to remove redundant information in the image, and to enhance the state information of the object under test in the image under different colors. The image enhancement method includes Laplacian operation Meta image enhancement method, bar graph equalization enhancement method.

步驟S5、 電腦裝置輸出整合後之圖片,用於物體檢測。 Step S5: The computer device outputs the integrated picture for object detection.

在本發明一實施方式中,將獲取到之待測物體5在不同色光下之圖像藉由電腦裝置6進行輸出。 In an embodiment of the present invention, the acquired images of the object 5 under different colors of light are output by the computer device 6.

在本發明其他實施方式,所述待測物體5在不同色光下之圖像也可以藉由網路傳輸到其他使用者終端進行輸出,所述使用者終端包括但不限於智慧手機、平板電腦、筆記型電腦等。 In other embodiments of the present invention, the image of the object 5 under different colors can also be transmitted via the network to other user terminals for output. The user terminals include but are not limited to smart phones, tablet computers, Laptops, etc.

上述圖2詳細介紹了本發明之單色光檢測方法,下面結合第4圖,對實現所述單色光檢測方法之軟體裝置之功能模組以及實現所述單色光檢測方法之硬體裝置架構進行介紹。 The above-mentioned Figure 2 describes in detail the monochromatic light detection method of the present invention. In conjunction with Figure 4, the functional modules of the software device for realizing the monochromatic light detection method and the hardware device for realizing the monochromatic light detection method The architecture is introduced.

應所述瞭解,所述實施例僅為說明之用,在專利申請範圍上並不受此結構之限制。 It should be understood that the described embodiments are for illustrative purposes only, and are not limited by this structure in the scope of the patent application.

對於本領域技術人員而言,顯然本發明不限於上述示範性實施例之細節,而且在不背離本發明之精神或基本特徵之情況下,能夠以其他之具體形式實現本發明。因此,無論從哪一點來看,均應將實施例看作是示範性之,而且是非限制性之,本發明之範圍由所附權利要求而不是上述說明限定,因此旨在將落在權利要求之等同要件之含義和範圍內之所有變化涵括在本發明內。 不應將權利要求中之任何附圖標記視為限制所涉及之權利要求。此外,顯然“包括”一詞不排除其他單元或步驟,單數不排除複數。權利要求中陳述之多個單元或電子設備也可以由同一個單元或電子設備藉由軟體或者硬體來實現。第一,第二等詞語用來表示名稱,而並不表示任何特定之順序。 For those skilled in the art, it is obvious that the present invention is not limited to the details of the foregoing exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description, and therefore it is intended to fall within the claims. All changes within the meaning and scope of the equivalent elements are included in the present invention. Any reference signs in the claims should not be regarded as limiting the involved claims. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or electronic devices stated in the claims can also be implemented by the same unit or electronic device by software or hardware. The first and second words are used to indicate names, but do not indicate any specific order.

最後應說明之是,以上實施例僅用以說明本發明之技術方案而非限制,儘管參照較佳實施例對本發明進行了詳細說明,本領域之普通技術人員應當理解,可以對本發明之技術方案進行修改或等同替換,而不脫離本發明技術方案之精神和範圍。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements are made without departing from the spirit and scope of the technical solution of the present invention.

Claims (8)

一種基於單色光之物體檢測方法,所述方法包括:藉由分光單元將光源之入射光分解成不同顏色之單色光;當待測物體跟隨傳送單元移動,藉由所述不同顏色之單色光照射區域時,攝像單元每隔一預設時間採集待測物體之圖片,得到多幅待測物體之圖片;電腦裝置獲取攝像單元在待測物體進入第一個單色光照射區域到離開最後一個單色光照射區域時間內採集之所述待測物體之表面之多幅圖片;電腦裝置按照不同色光之照射區域分割所述多幅圖片,得到每一色光照射下待測物體之分割圖片;電腦裝置提取所述每一色光照射區域內之圖片資訊;電腦裝置整合從多幅圖片中提取之待測物體在同一色光照射下之圖片,並對整合後之圖片進行銳化處理去除掉圖片中之冗余資訊,並利用圖像增強方法增強整合後之圖片中待測物體在色光下之狀態資訊;電腦裝置輸出整合後之圖片,用於物體檢測。 An object detection method based on monochromatic light. The method includes: splitting the incident light of the light source into monochromatic light of different colors by a light splitting unit; when the object to be measured moves with the transmission unit, by the single When the color light is irradiated in the area, the camera unit collects pictures of the object to be tested every preset time to obtain multiple pictures of the object to be tested; the computer device captures the camera unit when the object to be tested enters the first monochromatic light irradiation area until it leaves Multiple pictures of the surface of the object to be measured collected within the last single-color light irradiation area; the computer device divides the multiple pictures according to the irradiation area of different colors of light to obtain a segmented picture of the object to be measured under each color light ; The computer device extracts the picture information in each color light irradiation area; the computer device integrates the pictures of the object to be tested extracted from multiple pictures under the same color light, and sharpens the integrated pictures to remove the pictures The redundant information in the image enhancement method is used to enhance the state information of the object under test in the integrated picture; the computer device outputs the integrated picture for object detection. 如請求項1所述之基於單色光之物體檢測方法,其中,所述分光單元為三棱鏡。 The object detection method based on monochromatic light according to claim 1, wherein the light splitting unit is a triangular prism. 如請求項1所述之基於單色光之物體檢測方法,其中,所述預設時間為待測物體跟隨所述傳送單元移動時,所述待測物體上預設點開始進入一單色光照射區域之時間與所述預設點離開所述單色光照射區域之時間之間之時間差。 The method for detecting an object based on monochromatic light according to claim 1, wherein the preset time is when the object to be measured moves with the conveying unit, a predetermined point on the object to be measured starts to enter a monochromatic light The time difference between the time of the irradiation area and the time when the predetermined point leaves the monochromatic light irradiation area. 如請求項1所述之基於單色光之物體檢測方法,其中,所述按照不同色光之照射區域分割所述多幅圖片之步驟包括:獲取任一圖片,使用圖像識別方法識別出所述圖片中不同色光照射之區域; 按照色光照射區域分割所述圖片。 The object detection method based on monochromatic light according to claim 1, wherein the step of dividing the plurality of pictures according to the irradiation area of different color lights includes: obtaining any picture, and using an image recognition method to identify the The area illuminated by different colors in the picture; The picture is divided according to the color light irradiation area. 如請求項1所述之基於單色光之物體檢測方法,其中,所述整合從多幅圖片中提取之待測物體在同一色光照射下之圖片之步驟包括:從多幅圖片中獲取同一色光照射下待測物體之分割圖片;在所述分割圖片中使用圖像識別方法對所述分割圖片之內容進行識別並按照預設規則進行標號;按照所述標號整合所述分割圖片。 The object detection method based on monochromatic light according to claim 1, wherein the step of integrating the pictures of the object to be measured extracted from multiple pictures under the same color light includes: obtaining the same color light from the multiple pictures Illuminate the segmented picture of the object to be measured; use an image recognition method in the segmented picture to identify the content of the segmented picture and label it according to a preset rule; integrate the segmented picture according to the label. 如請求項5所述之基於單色光之物體檢測方法,其中,所述步驟還包括:對整合後之分割圖像進行銳化處理,增強圖片之特徵資訊。 The object detection method based on monochromatic light according to claim 5, wherein the step further includes: sharpening the integrated segmented image to enhance the feature information of the image. 一種基於單色光之物體檢測系統,所述系統包括:光源,用於發出複色光;分光單元,用於將光源發出之複色光分解成單色光,藉由分光單元將光源之入射光分解成不同顏色之單色光;攝像單元,用於採集待測物體之圖片,當待測物體跟隨傳送單元移動,藉由所述不同顏色之單色光照射區域時,攝像單元每隔一預設時間採集待測物體之圖片,得到多幅待測物體之圖片;處理器,用於執行電腦程式指令;記憶體,用於存儲電腦程式指令,所述電腦程式指令由所述處理器運行並執行如下步驟:獲取攝像單元在待測物體進入第一個單色光照射區域到離開最後一個單色光照射區域時間內採集之所述待測物體之表面之多幅圖片;按照不同色光之照射區域分割所述多幅圖片,得到每一色光照射下待測物體之分割圖片;提取所述每一色光照射區域內之圖片資訊; 整合從多幅圖片中提取之待測物體在同一色光照射下之圖片,並對整合後之圖片進行銳化處理去除掉圖片中之冗余資訊,並利用圖像增強方法增強整合後之圖片中待測物體在色光下之狀態資訊;輸出整合後之圖片,用於物體檢測。 An object detection system based on monochromatic light. The system includes: a light source for emitting polychromatic light; a light splitting unit for decomposing the polychromatic light emitted by the light source into monochromatic light, and the light splitting unit decomposes the incident light of the light source Monochromatic light of different colors; camera unit, used to collect pictures of the object to be measured, when the object to be measured moves with the transmission unit, and the area is illuminated by the monochromatic light of different colors, the camera unit presets every other Time collection of pictures of the object to be measured to obtain multiple pictures of the object to be measured; processor for executing computer program instructions; memory for storing computer program instructions, which are run and executed by the processor The steps are as follows: Obtain multiple pictures of the surface of the object to be measured collected from the time the object to be measured enters the first monochromatic light irradiation area to when it leaves the last monochromatic light irradiation area; according to the irradiation area of different colors Dividing the multiple pictures to obtain a divided picture of the object to be measured illuminated by each color light; extracting the picture information in the area illuminated by each color light; Integrate the pictures of the object to be tested extracted from multiple pictures under the same color light, and sharpen the integrated picture to remove redundant information in the picture, and use image enhancement methods to enhance the integrated picture The status information of the object to be measured under the color light; output the integrated picture for object detection. 如請求項7所述之基於單色光之物體檢測系統,其中,整合從多幅圖片中提取之待測物體在同一色光照射下之圖片之步驟包括:從多幅圖片中獲取同一色光照射下待測物體之分割圖片;在所述分割圖片中使用圖像識別方法對所述分割圖片之內容進行識別並按照預設規則進行標號;按照所述標號整合所述分割圖片。 The object detection system based on monochromatic light according to claim 7, wherein the step of integrating the pictures of the object to be measured extracted from multiple pictures under the same color light includes: obtaining the same color light from the multiple pictures Segmentation pictures of the object to be measured; using image recognition methods in the segmentation pictures to identify the content of the segmentation pictures and label them according to preset rules; and integrate the segmentation pictures according to the label.
TW108126431A 2019-07-25 2019-07-25 Object detection method and system based on monochromatic light TWI707308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108126431A TWI707308B (en) 2019-07-25 2019-07-25 Object detection method and system based on monochromatic light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108126431A TWI707308B (en) 2019-07-25 2019-07-25 Object detection method and system based on monochromatic light

Publications (2)

Publication Number Publication Date
TWI707308B true TWI707308B (en) 2020-10-11
TW202105325A TW202105325A (en) 2021-02-01

Family

ID=74091413

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108126431A TWI707308B (en) 2019-07-25 2019-07-25 Object detection method and system based on monochromatic light

Country Status (1)

Country Link
TW (1) TWI707308B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104101429A (en) * 2013-04-11 2014-10-15 刘红超 Photoelectric sensing device
TWI504855B (en) * 2013-03-18 2015-10-21 Snu Precision Co Ltd Three dimensional shape measurement apparatus for recognizing color
CN106680298A (en) * 2016-12-16 2017-05-17 南京协辰电子科技有限公司 Printed circuit board (PCB) detection device and PCB detection method
CN109313078A (en) * 2017-12-21 2019-02-05 深圳配天智能技术研究院有限公司 Image acquiring device and image acquiring method
TWI662273B (en) * 2018-08-20 2019-06-11 友達晶材股份有限公司 Defect detecting equipment and defect detecting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI504855B (en) * 2013-03-18 2015-10-21 Snu Precision Co Ltd Three dimensional shape measurement apparatus for recognizing color
CN105190227A (en) * 2013-03-18 2015-12-23 Snu精度株式会社 Three-dimensional shape measuring device capable of measuring color information
CN104101429A (en) * 2013-04-11 2014-10-15 刘红超 Photoelectric sensing device
CN106680298A (en) * 2016-12-16 2017-05-17 南京协辰电子科技有限公司 Printed circuit board (PCB) detection device and PCB detection method
CN109313078A (en) * 2017-12-21 2019-02-05 深圳配天智能技术研究院有限公司 Image acquiring device and image acquiring method
TWI662273B (en) * 2018-08-20 2019-06-11 友達晶材股份有限公司 Defect detecting equipment and defect detecting method

Also Published As

Publication number Publication date
TW202105325A (en) 2021-02-01

Similar Documents

Publication Publication Date Title
Otálora et al. Staining invariant features for improving generalization of deep convolutional neural networks in computational pathology
US10796192B2 (en) Track feature detection using machine vision
US9697618B2 (en) Image processing apparatus, image processing method, program, and image processing system
CN112304292B (en) Object detection method and detection system based on monochromatic light
US20220198634A1 (en) Method for selecting a light source for illuminating defects, electronic device, and non-transitory storage medium
WO2021082593A1 (en) Pollution classification method, apparatus and device, medium, and data obtaining system
TW202225682A (en) Circuit board checking method, electronic device, and storage medium
TWI830815B (en) User terminal failure detection method, device, computer device and storage medium
CN113781396A (en) Screen defect detection method, device, equipment and storage medium
US20230085600A1 (en) Self-calibrating spectrometer
Du et al. A comparative study of different color spaces in computer-vision-based flame detection
CN111127358A (en) Image processing method, device and storage medium
CN114170565A (en) Image comparison method and device based on unmanned aerial vehicle aerial photography and terminal equipment
TWI707308B (en) Object detection method and system based on monochromatic light
Gunawan et al. Performance Evaluation of Automatic Number Plate Recognition on Android Smartphone Platform.
CN112287905A (en) Vehicle damage identification method, device, equipment and storage medium
TWI802843B (en) Intelligent logistics data collection system
CN111243058B (en) Object simulation image generation method and computer readable storage medium
CN113093967A (en) Data generation method, data generation device, computer device, and storage medium
US11521310B2 (en) Image marking method and computing device implementing image marking method
CN111353469A (en) Obstacle detector, obstacle detecting method, storage medium and mobile machine
CN104657452A (en) Spatial switching system for pre-pregnancy eugenic archive data
TW202145077A (en) Image identification method, device, computer device and storage media
CN116753496B (en) Stage lamp maintenance method and system
US12125193B2 (en) Method for detecting defect in products and electronic device using method