Transparent medium stain position detection method and device

文档序号:167253 发布日期:2021-10-29 浏览:34次 中文

阅读说明:本技术 一种透明介质污渍位置检测方法及装置 (Transparent medium stain position detection method and device ) 是由 程宏驰 于 2021-06-16 设计创作,主要内容包括:本发明涉及污渍检测技术领域,涉及一种透明介质污渍位置检测方法及装置。本发明通过在透明介质外侧采用光源以多角度对每个待检测透明介质进行频闪并拍摄获得多个拍摄图像,将不同拍摄图像上的污渍形态突出显示,以此来污渍的位置信息,大大降低了确定污渍位于透明介质内外侧的难度,提高检测精度,降低了检测成本,节约了人工成本,同现有人工目视的方式相比,采用本发明的检测效率高,速度快。(The invention relates to the technical field of stain detection, in particular to a method and a device for detecting the position of a transparent medium stain. According to the invention, the light source is adopted to carry out stroboflash on each transparent medium to be detected at multiple angles on the outer side of the transparent medium and shoot to obtain a plurality of shot images, and the stain forms on different shot images are highlighted, so that the position information of the stains is obtained, the difficulty of determining that the stains are positioned on the inner side and the outer side of the transparent medium is greatly reduced, the detection precision is improved, the detection cost is reduced, the labor cost is saved, and compared with the existing manual visual mode, the detection efficiency is high and the speed is high.)

1. A method for detecting the position of stains in a transparent medium is characterized by comprising the following steps:

the method comprises the steps of carrying out stroboflash on each transparent medium to be detected at multiple angles by adopting a light source on the outer side of the transparent medium, shooting to obtain a plurality of shot images, comparing the plurality of shot images to obtain a stain profile image, and confirming position information of the stain on the transparent medium to be detected according to stain form differences on different shot images.

2. The method according to claim 1, wherein the light source comprises at least one invisible light source that is operated to emit invisible light having an electromagnetic spectrum outside the visible region.

3. The method according to claim 1, wherein the incident angle of the light source is between 30 ° and 60 ° from the surface of the transparent medium to be inspected.

4. The method for detecting the position of stains on transparent media according to claim 1, wherein the step of stroboscopically shooting each transparent medium to be detected at multiple angles by using a light source to obtain a plurality of shot images comprises:

the method comprises the steps of adopting a plurality of light sources with different set angles to irradiate a transparent medium to be detected, and capturing shot images of stains under the irradiation conditions of different angles through a camera arranged on the same side with the light sources in a stripping mode.

5. The method for detecting the stain location in a transparent medium according to claim 1, wherein when the captured image is to be stitched by a plurality of images, the method comprises:

the method comprises the steps that a plurality of light sources with different set angles irradiate different positions on a transparent medium to be detected, a camera shoots images of the transparent medium at different positions on the same transparent medium to be detected at the same angle formed by the light sources, and the shot images of the transparent medium at the different positions are spliced to obtain shot images.

6. The method according to claim 1, wherein comparing the plurality of captured images to obtain a stain profile comprises:

comparing the areas of the stains on the different shot images at the same time and the same position; when the areas of the stains on different shot images are different, judging that the stains are positioned on the outer surface of the transparent medium to be detected; and when the areas of the stains appearing on the different shot images are not different, judging that the stains are positioned on the inner surface of the transparent medium to be detected.

7. The method according to claim 1, wherein the light source is a visible light source, the visible light emitted from the visible light source is polarized to obtain polarized light, and the polarized light irradiates the surface of the transparent medium to be detected at an angle of 30 ° to 60 °.

8. The method of detecting the location of a stain on a transparent medium of claim 1, further comprising:

when the thickness of the transparent medium to be detected is 5mm-7mm, the inclination angle alpha between the camera and the transparent medium to be detected is 20-40 degrees, and the angle beta between the incident angle of the light source and the angle beta of the transparent medium to be detected is 30-40 degrees, the included angle theta between the light sources with different angles is 30-40 degrees;

when the thickness of the transparent medium to be detected is 7mm-9mm, the inclination angle alpha between the camera and the transparent medium to be detected is 40-60 degrees, and the angle beta between the incident angle of the light source and the angle beta of the transparent medium to be detected is 40-50 degrees, the included angle theta between the light sources with different angles is 40-50 degrees;

when the thickness of the transparent medium to be detected is 9mm-10mm, the inclination angle alpha between the camera and the transparent medium to be detected is 60-80 degrees, and the angle beta between the incident angle of the light source and the surface of the transparent medium to be detected is 50-60 degrees, the included angle theta between the light sources with different angles is 50-60 degrees.

9. A transparent medium stain position detection device, comprising: the first acquisition module is used for acquiring the whole outline of the transparent medium; the second acquisition module is used for stroboscopic shooting of each transparent medium to be detected by adopting a light source at multiple angles outside the transparent medium to obtain a plurality of shot images; the comparison module is used for comparing a plurality of shot images obtained by shooting to obtain a stain profile map; and the processing module is used for confirming the position information of the dirt on the transparent medium to be detected according to the dirt form difference on different shot images.

10. The device according to claim 9, wherein the light source is an invisible light source, and the second capturing module is a monochrome or color camera sensitive to the invisible light source.

Technical Field

The invention relates to the technical field of stain detection, in particular to a method and a device for detecting the position of a transparent medium stain.

Background

At present, transparent media (glass, acrylic and the like) are mainly cleaned in a manual mode, and the situation of stains on curtain wall glass cannot be obtained, so that all-around cleaning is generally needed, whether the stains exist or not is cleaned, the labor force waste is caused, and the labor intensity is enhanced; because the cleaning is mostly carried out in sunny weather, the cleaning is influenced by reflected light and the spirits of cleaning personnel can not be kept concentrated all the time, so that stains which are difficult to be observed by naked eyes exist on the glass or the stains can not be confirmed to be positioned inside and outside the glass, and the phenomenon of incomplete cleaning is caused.

Disclosure of Invention

The invention aims to provide a method and a device for detecting the position of the transparent medium stain, which greatly reduce the difficulty of determining the stain on the inner side and the outer side of the transparent medium, save the labor cost and have high detection efficiency.

In order to solve the technical problems, the technical scheme adopted by the invention for solving the technical problems is as follows:

a method and a device for detecting the stain position of a transparent medium comprise the following steps:

the method comprises the steps of carrying out stroboflash on each transparent medium to be detected at multiple angles by adopting a light source on the outer side of the transparent medium, shooting to obtain a plurality of shot images, comparing the plurality of shot images to obtain a stain profile image, and confirming position information of the stain on the transparent medium to be detected according to stain form differences on different shot images.

Further, the light source includes at least one source of invisible light that is operative to emit invisible light having an electromagnetic spectrum outside the visible region.

Further, the incident angle of the light source and the surface of the transparent medium to be detected form an included angle of 30-60 degrees.

Further, adopt the light source to detect transparent medium with the multi-angle and carry out the stroboscopic and shoot and obtain a plurality of images of shooing with each, include:

the method comprises the steps of adopting a plurality of light sources with different set angles to irradiate a transparent medium to be detected, and capturing shot images of stains under the irradiation conditions of different angles through a camera arranged on the same side with the light sources in a stripping mode.

Further, when the captured image needs to be spliced by a plurality of images, the method includes:

the method comprises the steps that a plurality of light sources with different set angles irradiate different positions on a transparent medium to be detected, a camera shoots images of the transparent medium at different positions on the same transparent medium to be detected at the same angle formed by the light sources, and the shot images of the transparent medium at the different positions are spliced to obtain shot images.

Further, comparing the plurality of captured images to obtain a stain profile, comprising:

comparing the areas of the stains on the different shot images at the same time and the same position; when the areas of the stains on different shot images are different, judging that the stains are positioned on the outer surface of the transparent medium to be detected; and when the areas of the stains appearing on the different shot images are not different, judging that the stains are positioned on the inner surface of the transparent medium to be detected.

Further, the light source is a visible light source, the visible light emitted by the visible light source is polarized to obtain polarized light, and the polarized light irradiates the surface of the transparent medium to be detected at an angle of 30-60 degrees.

Further, still include:

when the thickness of the transparent medium to be detected is 5mm-7mm, the inclination angle alpha between the camera and the transparent medium to be detected is 20-40 degrees, and the angle beta between the incident angle of the light source and the angle beta of the transparent medium to be detected is 30-40 degrees, the included angle theta between the light sources with different angles is 30-40 degrees;

when the thickness of the transparent medium to be detected is 7mm-9mm, the inclination angle alpha between the camera and the transparent medium to be detected is 40-60 degrees, and the angle beta between the incident angle of the light source and the angle beta of the transparent medium to be detected is 40-50 degrees, the included angle theta between the light sources with different angles is 40-50 degrees;

when the thickness of the transparent medium to be detected is 9mm-10mm, the inclination angle alpha between the camera and the transparent medium to be detected is 60-80 degrees, and the angle beta between the incident angle of the light source and the surface of the transparent medium to be detected is 50-60 degrees, the included angle theta between the light sources with different angles is 50-60 degrees.

The invention also includes a transparent medium stain position detection device, comprising: the first acquisition module is used for acquiring the whole outline of the transparent medium; the second acquisition module is used for stroboscopic shooting of each transparent medium to be detected by adopting a light source at multiple angles outside the transparent medium to obtain a plurality of shot images; the comparison module is used for comparing a plurality of shot images obtained by shooting to obtain a stain profile map; and the processing module is used for confirming the position information of the dirt on the transparent medium to be detected according to the dirt form difference on different shot images.

Further, the light source is an invisible light source, and the second acquisition module is a monochrome or color camera sensitive to the invisible light source.

The invention has the beneficial effects that:

according to the invention, the light source is adopted to carry out stroboflash on each transparent medium to be detected at multiple angles on the outer side of the transparent medium and shoot to obtain a plurality of shot images, and the stain forms on different shot images are highlighted, so that the position information of the stains is obtained, the difficulty of determining that the stains are positioned on the inner side and the outer side of the transparent medium is greatly reduced, the detection precision is improved, the detection cost is reduced, the labor cost is saved, and compared with the existing manual visual mode, the detection efficiency is high and the speed is high.

Drawings

FIG. 1 is a schematic diagram of a method and apparatus for detecting the position of a stain on a transparent medium according to the present invention.

FIG. 2 is a schematic of the detection of the present invention.

FIG. 3 is a schematic view of the transparent medium stain position detection apparatus of the present invention.

The reference numbers in the figures illustrate: 1. a camera; 2. a light source; 3. detecting a transparent medium; 4. (ii) lateral stains; 5. inner side stains;

Detailed Description

The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.

Referring to fig. 1-2, a method for detecting the position of a stain on a transparent medium includes:

the method comprises the steps of obtaining a building 3D model to obtain the whole outline of a curtain wall transparent medium, carrying out stroboflash and shooting on each transparent medium to be detected at multiple angles by adopting a light source on the outer side of the curtain wall transparent medium to obtain a plurality of shot images, comparing the shot images to obtain a stain outline image, and confirming position information of the stain on the transparent medium to be detected according to stain form differences of different shot images.

According to the invention, the light source is adopted at the outer side of the transparent medium of the curtain wall to carry out stroboflash on each transparent medium to be detected at multiple angles and shoot to obtain a plurality of shot images, and the forms of stains on different shot images are highlighted, so that the position information of the stains is obtained, the difficulty of determining that the stains are positioned at the inner side and the outer side of the transparent medium is greatly reduced, the detection precision is improved, the detection cost is reduced, the labor cost is saved, and compared with the existing manual visual mode, the detection efficiency is high and the speed is high.

The transparent medium can be PS (polystyrene), polymethyl methacrylate (commonly called organic glass), methyl methacrylate (commonly called acrylic), PC (polycarbonate) and glass (silicon dioxide is used as a main component).

The light source includes at least one source of invisible light that is operative to emit invisible light having an electromagnetic spectrum outside the visible region.

The invisible light is an infrared light source or an ultraviolet light source, the invisible light is preferably an infrared light source, the wavelength range of the invisible light is 850nm-900nm, and because the transparent medium of the curtain wall generally has a coating for isolating ultraviolet rays, the infrared light source is preferably adopted in the invention, and when the transparent medium of the curtain wall is a common transparent medium, any one of the infrared light source or the ultraviolet light source can be adopted.

The infrared light source can highlight stain defects on the surface of the transparent medium of the curtain wall, so that the surface of the transparent medium of the curtain wall can be rapidly detected, and the calculation amount is reduced.

The incident angle of the light source and the surface of the transparent medium to be detected form an included angle of 30-60 degrees.

Adopt the light source to detect transparent medium with the multi-angle and carry out the stroboscopic and shoot and obtain a plurality of images of shooing to every, include:

the method comprises the steps of adopting a plurality of light sources with different set angles to irradiate a transparent medium to be detected, and capturing shot images of stains under the irradiation conditions of different angles through a camera arranged on the same side with the light sources in a stripping mode.

When the shot image needs to be spliced by a plurality of images, the method comprises the following steps:

the method comprises the steps that a plurality of light sources with different set angles irradiate different positions on a transparent medium to be detected, a camera shoots images of the transparent medium at different positions on the same transparent medium to be detected at the same angle formed by the light sources, and the shot images of the transparent medium at the different positions are spliced to obtain shot images.

The invention can splice the transparent medium images obtained by shooting at a plurality of different positions to obtain the shot images under the condition that a camera needs to shoot and capture images for a plurality of times aiming at a larger transparent medium product, thereby further improving the imaging quality of the images, avoiding omission of a transparent medium detection part and improving the detection precision.

Comparing the plurality of shot images to obtain a stain profile, comprising:

comparing the areas of the stains on the different shot images at the same time and the same position; when the areas of the stains on different shot images are different, judging that the stains are positioned on the outer surface of the transparent medium to be detected; and when the areas of the stains appearing on the different shot images are not different, judging that the stains are positioned on the inner surface of the transparent medium to be detected.

The light source is a visible light source, the visible light emitted by the visible light source is polarized to obtain polarized light, and the polarized light irradiates the surface of the transparent medium to be detected at an angle of 30-60 degrees.

Further comprising:

when the thickness of the transparent medium to be detected is 5mm-7mm, the inclination angle alpha between the camera and the transparent medium to be detected is 20-40 degrees, and the angle beta between the incident angle of the light source and the angle beta of the transparent medium to be detected is 30-40 degrees, the included angle theta between the light sources with different angles is 30-40 degrees;

when the thickness of the transparent medium to be detected is 7mm-9mm, the inclination angle alpha between the camera and the transparent medium to be detected is 40-60 degrees, and the angle beta between the incident angle of the light source and the angle beta of the transparent medium to be detected is 40-50 degrees, the included angle theta between the light sources with different angles is 40-50 degrees;

when the thickness of the transparent medium to be detected is 9mm-10mm, the inclination angle alpha between the camera and the transparent medium to be detected is 60-80 degrees, and the angle beta between the incident angle of the light source and the surface of the transparent medium to be detected is 50-60 degrees, the included angle theta between the light sources with different angles is 50-60 degrees.

The included angle theta between the light sources with different angles is influenced by the thickness of the transparent medium to be detected, the inclination angle alpha between the camera and the transparent medium to be detected and the angle beta between the incident angle of the light source and the surface of the transparent medium to be detected, the thicker the thickness of the transparent medium is, the smaller the area difference when the light source is influenced to irradiate the dirt is, the less obvious the area difference between the inner dirt and the outer dirt is displayed in the shot image shot by the camera, the more obvious the change of the dirt in the shot image with different angles is increased by increasing the included angle theta between the light sources with different angles, and the detection precision of the dirt position is improved.

Referring to fig. 3, the invention further comprises a transparent medium spot position detection device, a first obtaining module, a second obtaining module, a third obtaining module and a fourth obtaining module, wherein the first obtaining module is used for obtaining a building 3D model to obtain the integral outline of the transparent medium of the curtain wall; the second acquisition module is used for carrying out stroboflash on each transparent medium to be detected by adopting a light source at the outer side of the curtain wall transparent medium at multiple angles and shooting to obtain a plurality of shot images; the comparison module is used for comparing a plurality of shot images obtained by shooting to obtain a stain profile map; and the processing module is used for confirming the position information of the dirt on the transparent medium to be detected according to the dirt form difference on different shot images.

The light source is an invisible light source, and the second acquisition module is a monochrome or color camera sensitive to the invisible light source.

The working principle of the transparent medium stain position detection device provided by the application is that a building 3D model is obtained through a first obtaining module to obtain the integral outline of the curtain wall transparent medium, particularly the curved surface transparent medium of the curtain wall transparent medium, the total station in the prior art can be adopted or the construction drawing is guided into the bim model to obtain the construction drawing, the relative position relation between the light source and the camera and the transparent medium of each curtain wall is analyzed in advance, the correction time of the camera and the light source is reduced, the detection accuracy is ensured, then, a light source is adopted to carry out stroboflash on each transparent medium to be detected at multiple angles on the outer side of the curtain wall transparent medium through a second acquisition module, shot images of the light source at the same position and time and at different angles are shot, a plurality of shot images obtained through shooting are compared through a comparison module to obtain a stain profile map, and a processing module confirms position information of the stain on the transparent medium to be detected according to stain form differences on different shot images. I.e., determining whether stains present on the surface of the transparent medium to be detected are present on both its inner and outer surfaces.

In summary, the invention provides a method and a device capable of more accurately detecting the position of a stain on the surface of a transparent medium, wherein a light source is adopted at the outer side of a curtain wall transparent medium to strobe each transparent medium to be detected at multiple angles and shoot the transparent medium to obtain multiple shot images, so that the transparent medium to be detected can obtain multiple-angle images of the stain on the transparent medium to be detected, and the position of the stain can be confirmed according to the form difference of the stain on different shot images, thereby greatly reducing the difficulty of detecting the position of the stain on the transparent medium, improving the efficiency of detecting the stain on the surface of the transparent medium, reducing the detection cost and saving the labor cost.

It can be understood that the embodiments of the method provided above correspond to the embodiments of the method for detecting the stain position on the transparent medium, and the corresponding specific contents may be referred to each other, which is not described herein again.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.

The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks for a transparent medium surface defect detection method.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the transparent medium surface defect detection method in the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:缺陷检测的方法、检查站与系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!