WO2015117427A1 - Dirt detection method, device and terminal - Google Patents

Dirt detection method, device and terminal Download PDF

Info

Publication number
WO2015117427A1
WO2015117427A1 PCT/CN2014/090111 CN2014090111W WO2015117427A1 WO 2015117427 A1 WO2015117427 A1 WO 2015117427A1 CN 2014090111 W CN2014090111 W CN 2014090111W WO 2015117427 A1 WO2015117427 A1 WO 2015117427A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
current frame
imaging result
dirt
frame number
Prior art date
Application number
PCT/CN2014/090111
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2015117427A1 publication Critical patent/WO2015117427A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
    • G06V10/993Evaluation of the quality of the acquired pattern
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/17Image acquisition using hand-held instruments

Definitions

  • the invention relates to the field of graphic recognition, in particular to a method, a device and a terminal for detecting dirt.
  • the present invention is intended to provide a method, apparatus, and terminal for detecting dirt.
  • Embodiments of the present invention provide a method for detecting dirt, including:
  • the identifying step identifies the background color of the imaging result of the current frame number according to the pixel distribution of each color of the imaging result of the current frame number;
  • the analyzing step determines whether the imaging result of the current frame number has dirt according to the pixel distribution of the non-background color of the imaging result of the current frame number;
  • the photographing step if it is determined that the imaging result of the current frame number has dirt, the current frame number is Taking the imaging result and taking a picture to obtain a photograph result;
  • the evaluating step after the end of the scanning step, evaluates the adhesion of the dirt of the medium to be tested based on all the obtained photographing results.
  • another embodiment of the present invention provides a device for detecting dirt, including:
  • the scanning module is configured to scan and image the medium to be tested according to a preset number of frames
  • An identification module configured to identify a background color of an imaging result of the current frame number according to a pixel distribution of each color of the imaging result of the current frame number
  • the analyzing module is configured to determine, according to the pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
  • the photographing module is configured to: if it is determined that the imaging result of the current frame number has dirt, photograph the imaging result of the current frame number to obtain a photographing result;
  • the evaluation module is configured to evaluate the adhesion of the dirt of the medium to be tested according to all the obtained photographing results after the scanning step ends.
  • Another embodiment of the present invention provides a terminal including the above-described apparatus for detecting dirt.
  • the solution of the embodiment of the invention can detect and analyze the dirt of the target object, in particular, the application scenario for determining the sanitary condition.
  • the entire solution can be executed on terminals that are currently available on the market, so the cost is low and the penetration rate is high.
  • FIG. 1 is a schematic diagram of steps of a method for detecting dirt according to an embodiment of the present invention
  • Figure 2 is a flow chart showing a method of detecting the present invention
  • FIG. 3 is a schematic structural diagram of a device for detecting dirt according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for detecting a dirt, including:
  • Scanning step 11 performing scanning imaging on the medium to be tested according to the preset number of frames
  • the identifying step 12 is to identify the background color of the imaging result of the current frame number according to the pixel distribution of each color of the imaging result of the current frame number;
  • the photographing step 14 if it is determined that there is dirt in the imaging result of the current frame number, the imaging result of the current frame number is photographed, and the photographing result is obtained;
  • the recognition step 12 to the photographing step 14 are repeatedly performed. Until the scanning step 11 ends.
  • the adhesion of the dirt of the medium to be tested is evaluated based on all the obtained photographing results.
  • the method of the embodiment of the invention can detect and analyze the dirt of the target object, in particular, the application scenario for determining the sanitary condition.
  • the entire method can be completely executed on terminals currently on the market, so the cost is low and the penetration rate is high.
  • the foregoing identifying step 12 includes:
  • Step 122 Determine a color whose pixel ratio is greater than a first preset threshold as a background color of an imaging result of the current frame number.
  • the specific includes:
  • Step 131 determining a sum of pixel ratios of non-background colors
  • Step 132 When the sum of the pixel ratios of the non-background colors is greater than the second preset threshold, determining that the imaging result of the current number of frames has dirt.
  • the method specifically includes:
  • Step 152 evaluating the adhesion of the dirt of the medium to be tested according to the degree of soil adhesion.
  • the above steps 151 and 152 are evaluations of the adhesion of the unsuitable dirt. Therefore, the area of the dirt is much smaller than the total area of the entire photographing result.
  • the evaluation criteria can be referred to Table 1:
  • x is the degree of soil adhesion
  • the pixel point is regarded as the area
  • X (the area of the dirt in the photographing result 1 + the area of the dirt in the photographing result 2 + the area of the stain in the photographing result 3 +).
  • . +Photographing result N the area of dirt)/(Photographing result 1 total area + total area of photographing result 2 + total area of photographing result 3 +........ + taking photo The total area of N results). That is, the density of the average stain of the plurality of photographing results was taken to evaluate the degree of adhesion.
  • the identifying step 12 further includes:
  • Step 123 Configure a coordinate system for all pixel points of the imaging result of the current frame number
  • Step 124 Determine a graphic of each color according to coordinates corresponding to each color
  • Step 125 Determine a color corresponding to the graphic that meets the preset rule as a background color
  • the preset rule includes: a circular (corresponding to a speckle pattern) and/or a linear shape (corresponding to a stripe pattern),
  • preset rules may also include common rule patterns such as diamonds and squares, which are not listed here.
  • the execution subject is a mobile phone, and the white towel is detected as an example.
  • the specific flow diagram is shown in FIG. 2:
  • Step 21 The user expands a white towel to determine the scanned area, and aligns the camera with the scanned object;
  • Step 22 Start the camera of the terminal and the scanning program, and enter the scanning interface.
  • Step 23 At this time, the program corresponding to the analysis step is started, and the white color is recognized as the background color. After the user confirms the background color, the handheld terminal moves and scans, and the camera scans slowly in the scan area determined by the user; if the camera preview screen is detected There is a foreign matter having a large difference from the background color. First, it is analyzed whether the foreign matter is a pattern or a pattern on the towel. If not, the dirt is found to be found, and step 24 is performed. If yes, it is determined that the current area is found in other areas. Continue to step 22;
  • Step 24 Release a photo instruction to shoot it
  • Step 25 Save the captured photos to the terminal data storage module.
  • Step 26 After the user completes the scanning, manually close the scanning interface and enter the result output interface. If there is no dirt, the display is “clean”, and if there is dirt, the captured dirt photo is displayed;
  • Step 27 performing an evaluation step of determining a dirt adhesion degree of the white towel according to the photographing result, and evaluating the adhesion of the dirt of the medium to be tested according to the dirt adhesion degree;
  • Step 28 Output the stain adhesion determined by the evaluation step.
  • a device for detecting dirt includes:
  • the scanning module 31 is configured to scan and image the medium to be tested according to a preset number of frames
  • the identifying module 32 is configured to identify a background color of the imaging result of the current frame number according to a pixel distribution of each color of the imaging result of the current frame number;
  • the analyzing module 33 is configured to determine, according to the pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
  • the photographing module 34 is configured to: if it is determined that there is dirt in the imaging result of the current frame number, take a photo of the imaging result of the current frame number to obtain a photographing result;
  • the evaluation module 35 is configured to evaluate the adhesion of the dirt of the medium to be tested according to all the obtained photographing results after the scanning step ends.
  • the device of the present invention is capable of detecting and analyzing the dirt of the target object, particularly in a hygienic detection scenario.
  • the terminals commonly used in the market are basically equipped with the above modules, so the cost is low and the penetration rate is high.
  • the identification module 32 includes:
  • a second determining submodule configured to determine a color whose pixel ratio is greater than the first preset threshold as the background color of the imaging result of the current frame number.
  • the analyzing module 33 includes:
  • a third determining submodule configured to determine a sum of pixel proportions of non-background colors
  • a fourth determining submodule configured to: when a sum of pixel ratios of non-background colors is greater than a second preset threshold When the value is determined, it is determined that the imaging result of the current frame number has a stain.
  • the evaluation module 35 includes:
  • the evaluation sub-module evaluates the adhesion of the dirt of the medium to be tested according to the degree of soil adhesion.
  • the identification module 32 further includes:
  • a fifth determining submodule configured to configure a coordinate system for all pixels of the imaging result of the current frame number
  • a sixth determining submodule configured to determine a graphic of each color according to coordinates corresponding to each color
  • a seventh determining submodule configured to determine a color corresponding to the graphic that meets the preset rule as a background color
  • the preset rule includes: a circle and/or a line shape.
  • another embodiment of the present invention further provides a terminal comprising: the above-mentioned dirt detecting device.
  • the terminal may be a device such as a PAD with a camera or a mobile phone.
  • the scanning module 31 includes a high-definition pixel macro camera, which is mainly configured to shoot at a small distance. Since the scanned object is generally not too large in area, the macro camera can obtain a relatively clear enlarged image at a small distance, which can Guaranteed to be accurate and fast. During the scanning process, the macro camera maintains the preview state. Because it is in the macro mode, it does not need to adjust the focal length, and the anti-shake system can ensure that a relatively clear photo is obtained after receiving the camera instruction, and the photograph taken is recorded. Coordinate information.
  • the identification module 32 and the analysis module 33 are respectively a graphic recognition system and a graphic analysis system in the terminal.
  • the function of the graphic recognition system is to give the scanning module 31 a photographing instruction when the scanning module After starting work at 31, the graphics recognition system started working.
  • the graphic recognition system marks consecutive pixels of similar colors in the scanning area. When the number of marked pixels exceeds one third of the number of pixels included in one frame of image, the color range is used as the image of the frame.
  • the background color if a pixel point set having a large difference from the background color is found in the frame image, the recognition module issues a photographing command, saves the photo, and starts the graphic analysis system.
  • a plurality of colors are included in the scan area, as long as the number of consecutive pixel points of the plurality of colors in the frame image is equal to one-third or more of the number of images in one frame, then these colors need to be recognized.
  • the background color the color that satisfies the background color requirement is set to the background color during scanning. During the scanning process, the photo command will not be issued unless the graphic recognition system recognizes the pixel with a large difference in background color.
  • the graphic analysis system further analyzes the color information and the pixel distribution of the identified pixel point set to determine whether the color area composed of the pixels is a stain or has been recorded by the system, if it is confirmed to be a stain and is not recorded by the system. Then record the center coordinate position of the stain here and save the current image.
  • the decision of the graphics analysis system for whether certain pixels are stains depends only on the background color of the area where the pixel is located, that is, if the color area is different from the background color of the area. When this is the case, the color area is judged as a stain.
  • the graphics analysis system compares the color of the pixel points of the region with all other background colors, as long as one of the background colors is If the difference is large, the color area is judged as a stain; if the color of the pixel of the area is the same as one or more of all other background colors, the color area is not judged as a stain.
  • patterns or textures are basically in the form of a line or a line, if the coordinates of the stain are found in A pattern similar to a line graph and a dot map can be formed on the image. For example, if the coordinates of the single pixel point of the obtained stain differ greatly from the center coordinate and are continuously distributed, the image is excluded.
  • the graphic analysis system finally saves the analyzed dirt photos, and collects all the saved dirt photos and coordinate information after the scanning is completed to obtain a scan area dirt map.
  • the graphic analysis system outputs the pollution degree of the scanning area to the result output module according to the different ratio of the total area of each stain in the dirt map to the sum of the area of the photographs determined as the dirt photograph per frame.
  • This module uses a separate memory or mobile phone memory, on the one hand to save all the photos taken by the scanning module during the scanning process, and on the other hand assists the graphic analysis system to read and write the dirt images of the saved graphics to the module. Given to save, after the module to be scanned finishes working, all the pictures and their coordinate information are sent to the number evaluation module.
  • the evaluation module uses the display of the mobile phone to output a preview of the entire scanning process. After the module to be scanned finishes working, the photo sent by the analysis module is displayed on the display screen, and the user can browse all the dirt photos. If it is found that it is not dirt, it can be manually deleted. After the user checks and confirms that the error is correct, the evaluation module can be based on the last The remaining photos determine the stain attachment of the medium to be tested.
  • the embodiment of the invention detects and analyzes the dirt of the target object through graphic recognition, and is particularly suitable for the application scenario for determining the sanitary condition.
  • the entire solution can be executed on terminals that are currently available on the market, so the cost is low and the penetration rate is high.

Abstract

Provided are a dirt detection method, device and terminal. The method comprises: a scanning step, conducting scanning imaging on a medium to be analysed according to requirements of a pre-set frame number; a recognition step, according to the distribution of pixels of various colours of an imaging result of a current frame number, recognizing background colours of the imaging result of the current frame number; an analysis step, according to the distribution of pixels of non-background colours of the imaging result of the current frame number, determining whether there is dirt in the imaging result of the current frame number; a photographing step, if it is determined that there is dirt in the imaging result of the current frame number, photographing the imaging result of the current frame number to obtain photographing results; and an evaluation step, after the scanning step is finished, according to all the obtained photographing results, evaluating the adhesion condition of the dirt of the medium to be analysed.

Description

一种污物的检测方法、装置及终端Method, device and terminal for detecting dirt 技术领域Technical field
本发明涉及图形识别领域,特别是一种污物的检测方法、装置及终端。The invention relates to the field of graphic recognition, in particular to a method, a device and a terminal for detecting dirt.
背景技术Background technique
随着生活质量的提高,人们对卫生条件的要求也越来越高。特别是儿童的卫生情况。儿童对于周围环境的感知主要以触碰为主,无可避免的会接触到很多污物,家长非常需要一种操作简单的设备随时确认儿童接触物的卫生状况。而目前手机等常用终端工具都具有高像素的摄像头,能够清晰地对待测物体进行放大成像,结合目前的计算机图形识别技术,可以识别出肉眼很难识别的污物。With the improvement of the quality of life, people's requirements for sanitary conditions are getting higher and higher. Especially the health of children. Children's perception of the surrounding environment is mainly touch, and inevitably, they will be exposed to a lot of dirt. Parents need a simple operation device to confirm the sanitary condition of children's contacts at any time. At present, common terminal tools such as mobile phones have high-pixel cameras, which can clearly image the object to be magnified, and combined with the current computer graphics recognition technology, can identify dirt that is difficult to be recognized by the naked eye.
因此,如何在常用的终端设备上实现污物检测,是当前亟需要解决的技术问题。Therefore, how to implement the dirt detection on the commonly used terminal equipment is a technical problem that needs to be solved at present.
发明内容Summary of the invention
为解决现有的技术问题,本发明期望提供一种污物的检测方法、装置及终端。In order to solve the prior art problems, the present invention is intended to provide a method, apparatus, and terminal for detecting dirt.
本发明的实施例提供一种污物的检测方法,包括:Embodiments of the present invention provide a method for detecting dirt, including:
扫描步骤,按照预设帧数要求对待测介质进行扫描成像;Scanning step, scanning and imaging the medium to be tested according to the preset number of frames;
识别步骤,根据当前帧数的成像结果的各颜色的像素分布,识别出该当前帧数的成像结果的背景色;The identifying step identifies the background color of the imaging result of the current frame number according to the pixel distribution of each color of the imaging result of the current frame number;
分析步骤,根据当前帧数的成像结果的非背景色的像素分布,确定该当前帧数的成像结果是否具有污物;The analyzing step determines whether the imaging result of the current frame number has dirt according to the pixel distribution of the non-background color of the imaging result of the current frame number;
拍照步骤,若确定当前帧数的成像结果存在污物,则对该当前帧数的 成像结果进行拍照,得到拍照结果;The photographing step, if it is determined that the imaging result of the current frame number has dirt, the current frame number is Taking the imaging result and taking a picture to obtain a photograph result;
评价步骤,在所述扫描步骤结束后,根据所有得到的拍照结果,评价所述待测介质的污物的附着情况。The evaluating step, after the end of the scanning step, evaluates the adhesion of the dirt of the medium to be tested based on all the obtained photographing results.
此外,本发明的另一实施例还提供一种污物的检测装置,包括:In addition, another embodiment of the present invention provides a device for detecting dirt, including:
扫描模块,配置为按照预设帧数要求对待测介质进行扫描成像;The scanning module is configured to scan and image the medium to be tested according to a preset number of frames;
识别模块,配置为根据当前帧数的成像结果的各颜色的像素分布,识别出该当前帧数的成像结果的背景色;An identification module configured to identify a background color of an imaging result of the current frame number according to a pixel distribution of each color of the imaging result of the current frame number;
分析模块,配置为根据当前帧数的成像结果的非背景色的像素分布,确定该当前帧数的成像结果是否具有污物;The analyzing module is configured to determine, according to the pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
拍照模块,配置为若确定当前帧数的成像结果存在污物,则对该当前帧数的成像结果进行拍照,得到拍照结果;The photographing module is configured to: if it is determined that the imaging result of the current frame number has dirt, photograph the imaging result of the current frame number to obtain a photographing result;
评价模块,配置为在所述扫描步骤结束后,根据所有得到的拍照结果,评价所述待测介质的污物的附着情况。The evaluation module is configured to evaluate the adhesion of the dirt of the medium to be tested according to all the obtained photographing results after the scanning step ends.
此外,本发明的另一实施例还提供一种终端,包括上述的污物的检测装置。Further, another embodiment of the present invention provides a terminal including the above-described apparatus for detecting dirt.
本发明的上述技术方案的有益效果如下:The beneficial effects of the above technical solution of the present invention are as follows:
本发明实施例的方案能够对目标物体的污物进行检测分析,特别是确定卫生状况的应用场景。此外,整个方案完全可以在目前市面上常见的终端上执行,因此成本低、普及率高。The solution of the embodiment of the invention can detect and analyze the dirt of the target object, in particular, the application scenario for determining the sanitary condition. In addition, the entire solution can be executed on terminals that are currently available on the market, so the cost is low and the penetration rate is high.
附图说明DRAWINGS
图1为本发明实施例实现污物的检测方法的步骤示意图;1 is a schematic diagram of steps of a method for detecting dirt according to an embodiment of the present invention;
图2为实施本发明的检测方法的流程图;Figure 2 is a flow chart showing a method of detecting the present invention;
图3为本发明实施例实现污物的检测装置的结构示意图。 FIG. 3 is a schematic structural diagram of a device for detecting dirt according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in the following description.
如图1所示,本发明的实施例提供一种污物的检测方法,包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for detecting a dirt, including:
扫描步骤11,按照预设帧数要求对待测介质进行扫描成像;Scanning step 11, performing scanning imaging on the medium to be tested according to the preset number of frames;
识别步骤12,根据当前帧数的成像结果的各颜色的像素分布,识别出该当前帧数的成像结果的背景色;The identifying step 12 is to identify the background color of the imaging result of the current frame number according to the pixel distribution of each color of the imaging result of the current frame number;
分析步骤13,根据当前帧数的成像结果的非背景色的像素分布,确定该当前帧数的成像结果是否具有污物;In the analyzing step 13, determining, according to the pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
拍照步骤14,若确定当前帧数的成像结果存在污物,则对该当前帧数的成像结果进行拍照,得到拍照结果;In the photographing step 14, if it is determined that there is dirt in the imaging result of the current frame number, the imaging result of the current frame number is photographed, and the photographing result is obtained;
在进入下一帧的成像结果后,重复执行识别步骤12至拍照步骤14。直到扫描步骤11结束。After entering the imaging result of the next frame, the recognition step 12 to the photographing step 14 are repeatedly performed. Until the scanning step 11 ends.
评价步骤15,在所述扫描步骤11结束后,根据所有得到的拍照结果,评价所述待测介质的污物的附着情况。In the evaluation step 15, after the scanning step 11 is completed, the adhesion of the dirt of the medium to be tested is evaluated based on all the obtained photographing results.
通过上述描述可以知道,本发明实施例的方法能够对目标物体的污物进行检测分析,特别是确定卫生状况的应用场景。此外,整个方法完全可以在目前市面上常见的终端上执行,因此成本低、普及率高。It can be known from the above description that the method of the embodiment of the invention can detect and analyze the dirt of the target object, in particular, the application scenario for determining the sanitary condition. In addition, the entire method can be completely executed on terminals currently on the market, so the cost is low and the penetration rate is high.
具体地,上述识别步骤12包括:Specifically, the foregoing identifying step 12 includes:
步骤121,确定各颜色的像素比例;其中,某一颜色的像素比例=该颜色连续的像素点数量/当前帧数的成像结果中所有像素点数量;Step 121: Determine a pixel ratio of each color; wherein, a pixel ratio of a certain color=the number of consecutive pixels of the color/the number of all pixels in the imaging result of the current frame number;
步骤122,将像素比例大于第一预设阈值的颜色确定为所述当前帧数的成像结果的背景色。Step 122: Determine a color whose pixel ratio is greater than a first preset threshold as a background color of an imaging result of the current frame number.
对于污物覆盖面积较大的情况,不需要担心上述步骤121以及步骤122会错将污物的颜色确定为背景色。因为在该场景下,用户完全可通过肉眼 直观地查看污物的附着状况。In the case where the dirt coverage area is large, there is no need to worry that the above steps 121 and 122 may incorrectly determine the color of the stain as the background color. Because in this scenario, the user is completely visible to the naked eye. Visually check the attachment of dirt.
此外,在上述分析步骤13种,具体包括:In addition, in the above analysis step 13, the specific includes:
步骤131,确定非背景色的像素比例之和;Step 131, determining a sum of pixel ratios of non-background colors;
步骤132,当非背景色的像素比例之和大于第二预设阈值时,确定当前帧数的成像结果具有污物。Step 132: When the sum of the pixel ratios of the non-background colors is greater than the second preset threshold, determining that the imaging result of the current number of frames has dirt.
在所述评价步骤15中,具体包括:In the evaluating step 15, the method specifically includes:
步骤151,根据拍照结果确定所述待测介质的污物附着度;所述污物附着度=所有拍照结果的非背景色的像素点数量/所有拍照结果的所有像素点数量;Step 151: Determine a dirt adhesion degree of the medium to be tested according to the photographing result; the dirt adhesion degree=the number of pixels of the non-background color of all the photographing results/the number of all the pixels of all the photographing results;
步骤152,根据所述污物附着度对所述待测介质的污物的附着情况进行评价。Step 152, evaluating the adhesion of the dirt of the medium to be tested according to the degree of soil adhesion.
上述步骤151以及步骤152是针对不宜观察的污物进行附着情况的评价。因此污物的面积远远小于整个拍照结果的总面积。评价标准可参考表一:The above steps 151 and 152 are evaluations of the adhesion of the unsuitable dirt. Therefore, the area of the dirt is much smaller than the total area of the entire photographing result. The evaluation criteria can be referred to Table 1:
X值X value 污物附着度Soil adhesion
x≤5%X≤5% 无污染No pollution
6%<x≤10%6% < x ≤ 10% 轻微污染 Slight pollution
11%<x≤15%11% < x ≤ 15% 一般污染General pollution
16<x≤20%16<x≤20% 中度污染Moderately polluted
20%<x20%<x 重度污染Severe pollution
表一Table I
在表一中,x为污物附着度,将像素点视作面积,X=(拍照结果1中污物的面积+拍照结果2中污物的面积+拍照结果3中污物的面积+........+拍照结果N中污物的面积)/(拍照结果1总的面积+拍照结果2的总面积+拍照结果3的总面积+........+拍照结果N的总面积)。即,取多张拍照结果的平均污物的密度来评价附着程度。In Table 1, x is the degree of soil adhesion, and the pixel point is regarded as the area, X = (the area of the dirt in the photographing result 1 + the area of the dirt in the photographing result 2 + the area of the stain in the photographing result 3 +). .......+Photographing result N the area of dirt)/(Photographing result 1 total area + total area of photographing result 2 + total area of photographing result 3 +........ + taking photo The total area of N results). That is, the density of the average stain of the plurality of photographing results was taken to evaluate the degree of adhesion.
此外,像毛巾等待测介质,可能带有图案或者花纹,为了避免将这些 图形误认为是污物,所述识别步骤12还包括:In addition, like a towel waiting to measure the medium, may have a pattern or pattern, in order to avoid these The graphic is mistaken for dirt, and the identifying step 12 further includes:
步骤123,为所述当前帧数的成像结果的所有像素点配置坐标系;Step 123: Configure a coordinate system for all pixel points of the imaging result of the current frame number;
步骤124,根据各颜色对应的坐标,确定出各颜色的图形;Step 124: Determine a graphic of each color according to coordinates corresponding to each color;
步骤125,将符合预设规则的图形对应的颜色确定为背景色;Step 125: Determine a color corresponding to the graphic that meets the preset rule as a background color;
其中,所述预设规则包括:圆形(对应斑点图案)和/或线形(对应条纹图案),The preset rule includes: a circular (corresponding to a speckle pattern) and/or a linear shape (corresponding to a stripe pattern),
当然,上述预设规则中的也可以包括菱形、方形等常见的规则图案,本文不再一一列举。Of course, the above-mentioned preset rules may also include common rule patterns such as diamonds and squares, which are not listed here.
下面结合一个实现方式对本发明的方法进行具体介绍。The method of the present invention will be specifically described below in conjunction with an implementation.
在本实现方式种,执行主体为手机,以检测白色毛巾为例,具体的流程示意图如图2所示:In this implementation mode, the execution subject is a mobile phone, and the white towel is detected as an example. The specific flow diagram is shown in FIG. 2:
步骤21:用户展开一块白色毛巾确定扫描的区域,将摄像头对准扫描对象;Step 21: The user expands a white towel to determine the scanned area, and aligns the camera with the scanned object;
步骤22:启动终端的摄像头以及扫描程序,进入扫描界面。Step 22: Start the camera of the terminal and the scanning program, and enter the scanning interface.
步骤23:此时分析步骤对应的程序启动,识别白色为背景色、在用户确认后背景色后,开始手持终端移动扫描,摄像头在用户确定的扫描区域缓慢进行扫描;若测到摄像头的预览画面中存在与背景色相差较大的异物,首先分析该异物是否为毛巾上的图案或者花纹,若不是则认为发现污物,执行步骤24,若是,则确定当前区域每发现污物,在其他区域继续执行步骤22;Step 23: At this time, the program corresponding to the analysis step is started, and the white color is recognized as the background color. After the user confirms the background color, the handheld terminal moves and scans, and the camera scans slowly in the scan area determined by the user; if the camera preview screen is detected There is a foreign matter having a large difference from the background color. First, it is analyzed whether the foreign matter is a pattern or a pattern on the towel. If not, the dirt is found to be found, and step 24 is performed. If yes, it is determined that the current area is found in other areas. Continue to step 22;
步骤24:下达拍照指令将其拍摄;Step 24: Release a photo instruction to shoot it;
步骤25:将拍摄的照片保存至终端数据存储模块。Step 25: Save the captured photos to the terminal data storage module.
步骤26:当用户充分扫描结束之后,手动关闭扫描界面,进入结果输出界面,如果不存在污物,显示“干净”,如果存在污物,显示拍摄到的污物照片; Step 26: After the user completes the scanning, manually close the scanning interface and enter the result output interface. If there is no dirt, the display is “clean”, and if there is dirt, the captured dirt photo is displayed;
步骤27:进行评价步骤,根据拍照结果确定所述白毛巾的污物附着度,根据所述污物附着度对所述待测介质的污物的附着情况进行评价;Step 27: performing an evaluation step of determining a dirt adhesion degree of the white towel according to the photographing result, and evaluating the adhesion of the dirt of the medium to be tested according to the dirt adhesion degree;
步骤28:输出评价步骤确定出的污物附着情况。Step 28: Output the stain adhesion determined by the evaluation step.
此外,如图3所示,本发明实施例的一种污物的检测装置,包括:In addition, as shown in FIG. 3, a device for detecting dirt according to an embodiment of the present invention includes:
扫描模块31,配置为按照预设帧数要求对待测介质进行扫描成像;The scanning module 31 is configured to scan and image the medium to be tested according to a preset number of frames;
识别模块32,配置为根据当前帧数的成像结果的各颜色的像素分布,识别出该当前帧数的成像结果的背景色;The identifying module 32 is configured to identify a background color of the imaging result of the current frame number according to a pixel distribution of each color of the imaging result of the current frame number;
分析模块33,配置为根据当前帧数的成像结果的非背景色的像素分布,确定该当前帧数的成像结果是否具有污物;The analyzing module 33 is configured to determine, according to the pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
拍照模块34,配置为若确定当前帧数的成像结果存在污物,则对该当前帧数的成像结果进行拍照,得到拍照结果;The photographing module 34 is configured to: if it is determined that there is dirt in the imaging result of the current frame number, take a photo of the imaging result of the current frame number to obtain a photographing result;
评价模块35,配置为在所述扫描步骤结束后,根据所有得到的拍照结果,评价所述待测介质的污物的附着情况。The evaluation module 35 is configured to evaluate the adhesion of the dirt of the medium to be tested according to all the obtained photographing results after the scanning step ends.
通过上述描述可以知道,本发明的装置能够对目标物体的污物进行检测分析,特别是应用在卫生检测场景下。此外,目前市面上常见的终端基本都标配上述模块,因此成本低、普及率高。As can be seen from the above description, the device of the present invention is capable of detecting and analyzing the dirt of the target object, particularly in a hygienic detection scenario. In addition, the terminals commonly used in the market are basically equipped with the above modules, so the cost is low and the penetration rate is high.
具体地,在上述基础之上,所述识别模块32包括:Specifically, on the basis of the above, the identification module 32 includes:
第一确定子模块,配置为确定各颜色的像素比例;其中,某一颜色的像素比例=该颜色连续的像素点数量/当前帧数的成像结果中所有像素点数量;a first determining sub-module configured to determine a pixel ratio of each color; wherein, a pixel ratio of a certain color=the number of consecutive pixels of the color/the number of all pixels in the imaging result of the current frame number;
第二确定子模块,配置为将的像素比例大于第一预设阈值的颜色确定为所述当前帧数的成像结果的背景色。And a second determining submodule configured to determine a color whose pixel ratio is greater than the first preset threshold as the background color of the imaging result of the current frame number.
具体地,在上述基础之上,所述分析模块33包括:Specifically, based on the foregoing, the analyzing module 33 includes:
第三确定子模块,配置为确定非背景色的像素比例之和;a third determining submodule configured to determine a sum of pixel proportions of non-background colors;
第四确定子模块,配置为当非背景色的像素比例之和大于第二预设阈 值时,确定当前帧数的成像结果具有污物。a fourth determining submodule configured to: when a sum of pixel ratios of non-background colors is greater than a second preset threshold When the value is determined, it is determined that the imaging result of the current frame number has a stain.
具体地,在上述基础之上,所述评价模块35包括:Specifically, based on the above, the evaluation module 35 includes:
处理子模块,根据拍照结果确定所述待测介质的污物附着度;所述污物附着度=所有拍照结果的非背景色的像素点数量/所有拍照结果的所有像素点数量;Processing the sub-module, determining, according to the photographing result, the dirt adhesion degree of the medium to be tested; the dirt adhesion degree=the number of pixels of the non-background color of all the photographing results/the number of all the pixels of all the photographing results;
评价子模块,根据所述污物附着度对所述待测介质的污物的附着情况进行评价。The evaluation sub-module evaluates the adhesion of the dirt of the medium to be tested according to the degree of soil adhesion.
具体地,在上述基础之上,所述识别模块32还包括:Specifically, the identification module 32 further includes:
第五确定子模块,配置为为所述当前帧数的成像结果的所有像素点配置坐标系;a fifth determining submodule configured to configure a coordinate system for all pixels of the imaging result of the current frame number;
第六确定子模块,配置为根据各颜色对应的坐标,确定出各颜色的图形;a sixth determining submodule configured to determine a graphic of each color according to coordinates corresponding to each color;
第七确定子模块,配置为将符合预设规则的图形对应的颜色确定为背景色;a seventh determining submodule configured to determine a color corresponding to the graphic that meets the preset rule as a background color;
其中,所述预设规则包括:圆形和/或线形。The preset rule includes: a circle and/or a line shape.
此外,本发明的另一实施例还提供一种终端,包括:上述污物的检测装置。其中,终端可以是具有摄像头的PAD、手机等装置。In addition, another embodiment of the present invention further provides a terminal comprising: the above-mentioned dirt detecting device. The terminal may be a device such as a PAD with a camera or a mobile phone.
扫描模块31包括一个高清像素微距摄像头,主要配置为在微小距离拍摄,由于被扫描的物体一般面积不会太大,微距摄像头能够在很小距离得到较为清晰的放大图像,对于扫描过程能够保证准确和快速。在扫描过程中,微距摄像头保持预览状态,由于处于微距模式,不需要调节焦距,加上防抖晃系统,能够确保在接到拍照指令后得到相对清晰的照片,同时记录所拍摄照片的坐标信息。The scanning module 31 includes a high-definition pixel macro camera, which is mainly configured to shoot at a small distance. Since the scanned object is generally not too large in area, the macro camera can obtain a relatively clear enlarged image at a small distance, which can Guaranteed to be accurate and fast. During the scanning process, the macro camera maintains the preview state. Because it is in the macro mode, it does not need to adjust the focal length, and the anti-shake system can ensure that a relatively clear photo is obtained after receiving the camera instruction, and the photograph taken is recorded. Coordinate information.
识别模块32以及分析模块33分别为终端中的图形识别系统和图形分析系统。图形识别系统的作用是给扫描模块31下达拍照指令,当扫描模块 31开始工作之后,图形识别系统开始工作。The identification module 32 and the analysis module 33 are respectively a graphic recognition system and a graphic analysis system in the terminal. The function of the graphic recognition system is to give the scanning module 31 a photographing instruction when the scanning module After starting work at 31, the graphics recognition system started working.
图形识别系统对扫描区域内颜色相近的连续像素点进行标记,当所标记的像素点数量超过了一帧图像中包含的像素点数量的三分之一时,既将此颜色范围作为该帧图像的背景色,在该帧图像中如果发现与背景色相差较大的像素点集合时,识别模块下达拍照命令,将照片保存,启动图形分析系统。The graphic recognition system marks consecutive pixels of similar colors in the scanning area. When the number of marked pixels exceeds one third of the number of pixels included in one frame of image, the color range is used as the image of the frame. The background color, if a pixel point set having a large difference from the background color is found in the frame image, the recognition module issues a photographing command, saves the photo, and starts the graphic analysis system.
如果在扫描区域中包含有多种颜色,只要该帧图像中的多种颜色的连续像素点数的数量,符合在一帧图像中占比达到三分之一及以上时,那么这些颜色都需要识别为背景色,扫描过程中对满足背景色要求的颜色都将其设置为背景色。在扫描过程中,除非图形识别系统将与背景色差异较大的像素点识别完毕,否则不会下达拍照命令。If a plurality of colors are included in the scan area, as long as the number of consecutive pixel points of the plurality of colors in the frame image is equal to one-third or more of the number of images in one frame, then these colors need to be recognized. As the background color, the color that satisfies the background color requirement is set to the background color during scanning. During the scanning process, the photo command will not be issued unless the graphic recognition system recognizes the pixel with a large difference in background color.
图形分析系统进一步分析被识别到的像素点集合的颜色信息和像素分布情况,以此判断由这些像素组成的颜色区域是否为污渍或者是否已经被系统记录过,如果确认是污渍并且没有被系统记录则记录此处污渍的中心坐标位置,保存当前图像。对于多个背景色的区域扫描,图形分析系统对于某些像素点是否为污渍的判断依据仅取决于此像素点所在的区域的背景色,即如果其颜色区域与所在区域的背景色相差较大时,则将此颜色区域作为污渍判断。The graphic analysis system further analyzes the color information and the pixel distribution of the identified pixel point set to determine whether the color area composed of the pixels is a stain or has been recorded by the system, if it is confirmed to be a stain and is not recorded by the system. Then record the center coordinate position of the stain here and save the current image. For the area scan of multiple background colors, the decision of the graphics analysis system for whether certain pixels are stains depends only on the background color of the area where the pixel is located, that is, if the color area is different from the background color of the area. When this is the case, the color area is judged as a stain.
对于在扫描中出现某些颜色区域处于两个或者两个以上背景色之间的情况,图形分析系统则将该区域像素点的颜色与其他所有背景色进行比较,只要与其中的某一背景色相差较大,就将该颜色区域作为污渍判断;如果该区域象素点的颜色和其他所有背景色中的一个或者一个以上相同,则不将该颜色区域作为污渍判断。For the case where some color regions appear between two or more background colors in the scan, the graphics analysis system compares the color of the pixel points of the region with all other background colors, as long as one of the background colors is If the difference is large, the color area is judged as a stain; if the color of the pixel of the area is the same as one or more of all other background colors, the color area is not judged as a stain.
在实际的扫描过程中会发现扫描区域本身可能存在一些花纹或者纹理,这些花纹和纹理基本上都以或线状图存在,如果所发现污渍的坐标在 图像上能够形成类似线状图和点状图的图形,比如得到的污渍单一像素点的坐标与中心坐标相差很大,并且呈连续分布,则将其进行排除。During the actual scanning process, it may be found that there may be some patterns or textures in the scanning area itself. These patterns and textures are basically in the form of a line or a line, if the coordinates of the stain are found in A pattern similar to a line graph and a dot map can be formed on the image. For example, if the coordinates of the single pixel point of the obtained stain differ greatly from the center coordinate and are continuously distributed, the image is excluded.
图形分析系统最后将分析过的污物照片保存,待扫描完成之后收集所有保存的污物照片和其坐标信息,得到扫描区域污物分布图。The graphic analysis system finally saves the analyzed dirt photos, and collects all the saved dirt photos and coordinate information after the scanning is completed to obtain a scan area dirt map.
同时,图形分析系统根据污物分布图中的各个污渍面积总和与每帧判定为污物照片的照片面积总和的不同比值,输出扫描区域的污染程度到结果输出模块。At the same time, the graphic analysis system outputs the pollution degree of the scanning area to the result output module according to the different ratio of the total area of each stain in the dirt map to the sum of the area of the photographs determined as the dirt photograph per frame.
数据存储模块:Data storage module:
此模块使用独立的存储器或手机的存储器,一方面用来保存扫描过程中由扫描模块拍摄的所有照片,一方面协助图形分析系统对所保存的图形进行读写分析模块确认的污物照片,并给予以保存,待扫描模块结束工作后,将所有的图片及其坐标信息发送至数评价模块。This module uses a separate memory or mobile phone memory, on the one hand to save all the photos taken by the scanning module during the scanning process, and on the other hand assists the graphic analysis system to read and write the dirt images of the saved graphics to the module. Given to save, after the module to be scanned finishes working, all the pictures and their coordinate information are sent to the number evaluation module.
评价模块利用手机的显示屏输出整个扫描过程的预览画面。待扫描模块结束工作后,将分析模块发送的照片显示在显示屏上,用户可以浏览所有的污物照片,如发现并非污物可手动删除,待用户检查完毕确认无误后,可由评价模块根据最后剩下的照片确定出待测介质的污物附着情况。The evaluation module uses the display of the mobile phone to output a preview of the entire scanning process. After the module to be scanned finishes working, the photo sent by the analysis module is displayed on the display screen, and the user can browse all the dirt photos. If it is found that it is not dirt, it can be manually deleted. After the user checks and confirms that the error is correct, the evaluation module can be based on the last The remaining photos determine the stain attachment of the medium to be tested.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性Industrial applicability
本发明实施例通过图形识别对目标物体的污物进行检测分析,特别适用于确定卫生状况的应用场景。此外,整个方案完全可以在目前市面上常见的终端上执行,因此成本低、普及率高。 The embodiment of the invention detects and analyzes the dirt of the target object through graphic recognition, and is particularly suitable for the application scenario for determining the sanitary condition. In addition, the entire solution can be executed on terminals that are currently available on the market, so the cost is low and the penetration rate is high.

Claims (11)

  1. 一种污物的检测方法,该方法包括:A method of detecting dirt, the method comprising:
    扫描步骤,按照预设帧数要求对待测介质进行扫描成像;Scanning step, scanning and imaging the medium to be tested according to the preset number of frames;
    识别步骤,根据当前帧数的成像结果的各颜色的像素分布,识别出所述当前帧数的成像结果的背景色;a step of identifying, according to a pixel distribution of each color of the imaging result of the current frame number, identifying a background color of the imaging result of the current frame number;
    分析步骤,根据当前帧数的成像结果的非背景色的像素分布,确定所述当前帧数的成像结果是否具有污物;An analyzing step of determining, according to a pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
    拍照步骤,若确定当前帧数的成像结果存在污物,则对所述当前帧数的成像结果进行拍照,得到拍照结果;In the photographing step, if it is determined that there is dirt in the imaging result of the current frame number, the imaging result of the current frame number is photographed, and the photographing result is obtained;
    评价步骤,在所述扫描步骤结束后,根据所有得到的拍照结果,评价所述待测介质的污物的附着情况。The evaluating step, after the end of the scanning step, evaluates the adhesion of the dirt of the medium to be tested based on all the obtained photographing results.
  2. 根据权利要求1所述的方法,其中,所述识别步骤包括:The method of claim 1 wherein said identifying step comprises:
    确定各颜色的像素比例;其中,某一颜色的像素比例=该颜色连续的像素点数量/当前帧数的成像结果中所有像素点数量;Determining the pixel ratio of each color; wherein, the pixel ratio of a certain color = the number of consecutive pixels of the color / the number of all pixels in the imaging result of the current number of frames;
    将像素比例大于第一预设阈值的颜色确定为所述当前帧数的成像结果的背景色。A color whose pixel ratio is greater than the first predetermined threshold is determined as the background color of the imaging result of the current number of frames.
  3. 根据权利要求2所述的方法,其中,所述分析步骤包括:The method of claim 2 wherein said analyzing step comprises:
    确定非背景色的像素比例之和;Determining the sum of pixel proportions of non-background colors;
    当非背景色的像素比例之和大于第二预设阈值时,确定当前帧数的成像结果具有污物。When the sum of the pixel ratios of the non-background colors is greater than the second predetermined threshold, it is determined that the imaging result of the current number of frames has a stain.
  4. 根据权利要求3所述的方法,其中,所述评价步骤包括:The method of claim 3 wherein said evaluating step comprises:
    根据拍照结果确定所述待测介质的污物附着度;所述污物附着度=所有拍照结果的非背景色的像素点数量/所有拍照结果的所有像素点数量;Determining the degree of soil adhesion of the medium to be tested according to the photographing result; the degree of stain adhesion=the number of pixels of the non-background color of all photographing results/the number of all the pixels of all photographing results;
    根据所述污物附着度对所述待测介质的污物的附着情况进行评价。The adhesion of the dirt of the medium to be tested is evaluated according to the degree of soil adhesion.
  5. 根据权利要求1所述的方法,其中,所述识别步骤还包括: The method of claim 1 wherein said identifying step further comprises:
    为所述当前帧数的成像结果的所有像素点配置坐标系;Configuring a coordinate system for all pixels of the imaging result of the current frame number;
    根据各颜色对应的坐标,确定出各颜色的图形;Determining a graphic of each color according to coordinates corresponding to each color;
    将符合预设规则的图形对应的颜色确定为背景色;The color corresponding to the graphic that meets the preset rule is determined as the background color;
    其中,所述预设规则包括:圆形和/或线形。The preset rule includes: a circle and/or a line shape.
  6. 一种污物的检测装置,包括:扫描模块、识别模块、分析模块、拍照模块、评价模块;其中,A device for detecting dirt includes: a scanning module, an identification module, an analysis module, a camera module, and an evaluation module; wherein
    扫描模块,配置为按照预设帧数要求对待测介质进行扫描成像;The scanning module is configured to scan and image the medium to be tested according to a preset number of frames;
    识别模块,配置为根据当前帧数的成像结果的各颜色的像素分布,识别出所述当前帧数的成像结果的背景色;The identification module is configured to identify a background color of the imaging result of the current frame number according to a pixel distribution of each color of the imaging result of the current frame number;
    分析模块,配置为根据当前帧数的成像结果的非背景色的像素分布,确定所述当前帧数的成像结果是否具有污物;The analyzing module is configured to determine, according to a pixel distribution of the non-background color of the imaging result of the current frame number, whether the imaging result of the current frame number has dirt;
    拍照模块,配置为若确定当前帧数的成像结果存在污物,则对所述当前帧数的成像结果进行拍照,得到拍照结果;The photographing module is configured to: if it is determined that the imaging result of the current frame number is dirty, photographing the imaging result of the current frame number to obtain a photographing result;
    评价模块,配置为根据所有得到的拍照结果,评价所述待测介质的污物的附着情况。The evaluation module is configured to evaluate the adhesion of the dirt of the medium to be tested according to all the obtained photographing results.
  7. 根据权利要求6所述的装置,其中,所述识别装置包括:The apparatus of claim 6 wherein said identifying means comprises:
    第一确定子模块,配置为确定各颜色的像素比例;其中,某一颜色的像素比例=该颜色连续的像素点数量/当前帧数的成像结果中所有像素点数量;a first determining sub-module configured to determine a pixel ratio of each color; wherein, a pixel ratio of a certain color=the number of consecutive pixels of the color/the number of all pixels in the imaging result of the current frame number;
    第二确定子模块,配置为将像素比例大于第一预设阈值的颜色确定为所述当前帧数的成像结果的背景色。And a second determining submodule configured to determine a color whose pixel ratio is greater than the first preset threshold as a background color of the imaging result of the current frame number.
  8. 根据权利要求7所述的装置,其中,所述分析装置包括:The apparatus of claim 7 wherein said analyzing means comprises:
    第三确定子模块,配置为确定非背景色的像素比例之和;a third determining submodule configured to determine a sum of pixel proportions of non-background colors;
    第四确定子模块,配置为当非背景色的像素比例之和大于第二预设阈值时,确定当前帧数的成像结果具有污物。 And a fourth determining submodule configured to determine that the imaging result of the current frame number has a dirt when the sum of the pixel ratios of the non-background colors is greater than the second preset threshold.
  9. 根据权利要求8所述的装置,其中,所述评价装置包括:The apparatus of claim 8 wherein said evaluating means comprises:
    处理子模块,根据拍照结果确定所述待测介质的污物附着度;所述污物附着度=所有拍照结果的非背景色的像素点数量/所有拍照结果的所有像素点数量;Processing the sub-module, determining, according to the photographing result, the dirt adhesion degree of the medium to be tested; the dirt adhesion degree=the number of pixels of the non-background color of all the photographing results/the number of all the pixels of all the photographing results;
    评价子模块,根据所述污物附着度对所述待测介质的污物的附着情况进行评价。The evaluation sub-module evaluates the adhesion of the dirt of the medium to be tested according to the degree of soil adhesion.
  10. 根据权利要求6所述的装置,其中,所述识别装置还包括:The apparatus of claim 6 wherein said identifying means further comprises:
    第五确定子模块,配置为为所述当前帧数的成像结果的所有像素点配置坐标系;a fifth determining submodule configured to configure a coordinate system for all pixels of the imaging result of the current frame number;
    第六确定子模块,配置为根据各颜色对应的坐标,确定出各颜色的图形;a sixth determining submodule configured to determine a graphic of each color according to coordinates corresponding to each color;
    第七确定子模块,配置为将符合预设规则的图形对应的颜色确定为背景色;a seventh determining submodule configured to determine a color corresponding to the graphic that meets the preset rule as a background color;
    其中,所述预设规则包括:圆形和/或线形。The preset rule includes: a circle and/or a line shape.
  11. 一种终端,该终端包括如权利要求6-10任一项所述的污物的检测装置。 A terminal comprising the apparatus for detecting dirt according to any one of claims 6-10.
PCT/CN2014/090111 2014-08-25 2014-10-31 Dirt detection method, device and terminal WO2015117427A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410422576.7A CN105389577A (en) 2014-08-25 2014-08-25 Dirt detection method, device and terminal
CN201410422576.7 2014-08-25

Publications (1)

Publication Number Publication Date
WO2015117427A1 true WO2015117427A1 (en) 2015-08-13

Family

ID=53777242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090111 WO2015117427A1 (en) 2014-08-25 2014-10-31 Dirt detection method, device and terminal

Country Status (2)

Country Link
CN (1) CN105389577A (en)
WO (1) WO2015117427A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784647A (en) * 2019-11-10 2021-05-11 杨娟 Intelligent operation environment maintenance system and method
CN110946081A (en) * 2019-11-13 2020-04-03 长江大学 Automatic control animal manure's rearging cage
CN114931337A (en) * 2022-01-23 2022-08-23 深圳银星智能集团股份有限公司 Cleaning method and dirt cleaning equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101460971A (en) * 2006-06-08 2009-06-17 富士通株式会社 Uncleanness detecting device
CN101796553A (en) * 2007-06-08 2010-08-04 佛罗里达大学研究基金会有限公司 Handwashing compliance detection system
CN101964873A (en) * 2009-07-21 2011-02-02 株式会社尼康 Image processing device, image processing program, and imaging device
CN102162797A (en) * 2010-11-24 2011-08-24 哈尔滨工业大学(威海) Algorithm for detecting glass bottle neck damage and bottle bottom dirt
CN103649731A (en) * 2011-03-31 2014-03-19 阿尔巴盖亚有限公司 Testing apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102213681B (en) * 2011-04-01 2013-01-02 哈尔滨工业大学(威海) Novel method for detecting sewage in anti-skidding region at bottom of glass bottle
CN102680481B (en) * 2012-05-16 2014-05-07 陕西长岭纺织机电科技有限公司 Detection method for cotton fiber impurities

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101460971A (en) * 2006-06-08 2009-06-17 富士通株式会社 Uncleanness detecting device
CN101796553A (en) * 2007-06-08 2010-08-04 佛罗里达大学研究基金会有限公司 Handwashing compliance detection system
CN101964873A (en) * 2009-07-21 2011-02-02 株式会社尼康 Image processing device, image processing program, and imaging device
CN102162797A (en) * 2010-11-24 2011-08-24 哈尔滨工业大学(威海) Algorithm for detecting glass bottle neck damage and bottle bottom dirt
CN103649731A (en) * 2011-03-31 2014-03-19 阿尔巴盖亚有限公司 Testing apparatus

Also Published As

Publication number Publication date
CN105389577A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
JP4351911B2 (en) Method and apparatus for evaluating photographic quality of captured images in a digital still camera
KR101662846B1 (en) Apparatus and method for generating bokeh in out-of-focus shooting
CN109100363B (en) Method and system for distinguishing defects of attached foreign matters from dust
CN104539939A (en) Lens cleanliness detection method and system based on mobile terminal
CN102484724A (en) Projection image area detecting device
CN109241345B (en) Video positioning method and device based on face recognition
JP5725194B2 (en) Night scene image blur detection system
JP2003244521A (en) Information processing method and apparatus, and recording medium
CN111368819B (en) Light spot detection method and device
JP6325902B2 (en) Dimension measurement method, electronic device with camera, and program for electronic device with camera
EA036032B1 (en) System and method for measuring hair diameter
WO2015117427A1 (en) Dirt detection method, device and terminal
KR20130091679A (en) Subject determination apparatus, subject determination method and recording medium storing program thereof
WO2018228466A1 (en) Focus region display method and apparatus, and terminal device
CN111724383A (en) Camera module black spot detection system based on turntable
CN105303573A (en) Method and system of pin detection of gold needle elements
JP4242796B2 (en) Image recognition method and image recognition apparatus
JP2009123081A (en) Face detection method and photographing apparatus
WO2014196097A1 (en) Image processing system, image processing device, program, storage medium, and image processing method
JP4182937B2 (en) Image capturing apparatus, image processing method for image capturing apparatus, and program
US20210281742A1 (en) Document detections from video images
CN110769225B (en) Projection area obtaining method based on curtain and projection device
JP2005316958A (en) Red eye detection device, method, and program
CN110636204A (en) Face snapshot system
JP2019050030A (en) Image extracting device, control method of image extracting device, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881606

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881606

Country of ref document: EP

Kind code of ref document: A1