Intelligent cleaning visual assisted positioning method, system and equipment

Through the intelligent cleaning vision-assisted positioning method, the cleaning sequence is optimized according to the cleaning difficulty factor of the vehicle surface image and the intensity of water flow, which solves the problem of water waste caused by unreasonable cleaning path positioning in the existing technology, and improves cleaning efficiency and resource utilization. .

CN118552710BActive Publication Date: 2024-09-24SHAANXI HIGH SPEED ELECTRONIC ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411016875.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-09-24
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The existing cleaning path positioning method leads to a waste of water resources, excessive cleaning and unreasonable cleaning paths. Especially when it is difficult to clean stained areas, it is easy to clean easy-to-clean stained areas, resulting in a waste of water resources.

Method used

Using the intelligent cleaning vision-assisted positioning method, the target stain area is screened out by obtaining the vehicle surface image, the cleaning difficulty factor is determined based on the edge shape and gray gradient distribution, the initial cleaning area and the incident cleaning area are screened, the cleaning difficulty factor is updated, and the cleaning sequence is optimized , Reduce unnecessary cleaning.

Benefits of technology

It improves the rationality of the cleaning path, reduces the waste of water resources, simplifies the composition of the cleaning path, and ensures cleaning efficiency and effective use of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552710B
    Figure CN118552710B
Patent Text Reader

Abstract

The present invention relates to the field of image data processing technology, and in particular to an intelligent cleaning visual assisted positioning method, system and device, the method comprising: screening out a target stain area from an acquired target surface image; determining a cleaning difficulty factor corresponding to the target stain area; determining a cleaning efficiency index corresponding to the screened initial cleaning area; determining a cleaning residual factor corresponding to the screened incidentally cleaned stain area; screening out incidentally cleaned complete areas, and updating the cleaning difficulty factor; and cleaning sorting the target stain areas other than incidentally cleaned complete areas. The present invention processes the image data of the target surface image, thereby locating the incidentally cleaned complete areas that are cleaned, so that they do not need to be cleaned intentionally, that is, they do not need to be included in the composition of the cleaning path, thereby simplifying the composition of the cleaning path, improving the rationality of cleaning path positioning, and reducing the waste of water resources to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data processing, and in particular to an intelligent cleaning vision-assisted positioning method, system and equipment. Background Art

[0002] The cleaning path positioning method is a relatively common cleaning positioning method. At present, when positioning the cleaning path, the method usually adopted is: screening out the stain area from the vehicle surface image, and cleaning all the stain areas in turn to achieve the positioning of the cleaning path.

[0003] However, the cleaning difficulty corresponding to different stain areas is often different. For example, when cleaning some difficult-to-clean stain areas, the surrounding easy-to-clean stain areas may be cleaned at the same time. At this time, if all the stain areas are cleaned in turn, it may lead to over-cleaning, that is, the easy-to-clean stain areas that have been cleaned may be cleaned repeatedly, resulting in poor rationality of cleaning path positioning, and then leading to waste of water resources. Summary of the invention

[0004] In order to solve the technical problem of water resource waste caused by poor rationality of cleaning path positioning, the present invention proposes an intelligent cleaning vision-assisted positioning method, system and equipment.

[0005] In a first aspect, the present invention provides an intelligent cleaning visual assisted positioning method, the method comprising:

[0006] Acquire a target surface image corresponding to the vehicle to be cleaned, and filter out a target stain area from the target surface image;

[0007] Determine the cleaning difficulty factor corresponding to each target stain area according to the edge shape and gray gradient distribution of each target stain area;

[0008] The target stain area with the largest cleaning difficulty factor is selected as the initial cleaning area, and the cleaning efficiency index corresponding to the initial cleaning area is determined according to the flushing intensity of the water flow and the cleaning difficulty factor corresponding to the initial cleaning area;

[0009] According to the flushing radius of the water column, each incidentally cleaned stain area corresponding to the initial cleaning area is screened out;

[0010] Determine the cleaning residual factor corresponding to each incidentally cleaned stain area according to the water column flushing radius, the water flow flushing intensity, the cleaning efficiency index corresponding to the initial cleaning area and the cleaning difficulty factor corresponding to each incidentally cleaned stain area;

[0011] According to the cleaning residual factor, the incidentally cleaned complete area is selected from all incidentally cleaned stain areas corresponding to the initial cleaning area, and the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area is updated;

[0012] According to the updated cleaning difficulty factor, the target stain areas except the initial cleaning area and the incidentally cleaned complete area are sorted for cleaning.

[0013] In combination with the first aspect above, in a possible implementation, determining the cleaning difficulty factor corresponding to each target stain area according to the edge shape and grayscale gradient distribution of each target stain area includes:

[0014] Determine any target stain area as a marked stain area, determine any pixel point on the edge of the marked stain area as a marked pixel point, and determine the distance between the marked pixel point and the centroid of the marked stain area as a reference distance corresponding to the marked pixel point;

[0015] Determine the variance of the reference distances corresponding to all pixel points on the edge of the marked stain area as the target shape feature corresponding to the marked stain area;

[0016] The cleaning difficulty factor corresponding to the marked stain area is determined according to the target shape feature corresponding to the marked stain area, the mean value of the gradient size corresponding to all the pixels in the marked stain area, and the mean value of the grayscale value corresponding to all the pixels in the marked stain area.

[0017] In combination with the first aspect above, in a possible implementation, determining the cleaning difficulty factor corresponding to the marked stain area according to the target shape feature corresponding to the marked stain area, the mean value of the gradient size corresponding to all pixels in the marked stain area, and the mean value of the grayscale value corresponding to all pixels in the marked stain area includes:

[0018] Determine the union of preset neighborhoods corresponding to all pixel points on the edge of the marked stain area as the target union area corresponding to the marked stain area;

[0019] Filter out pixel points that do not belong to the marked stain area from the target union area corresponding to the marked stain area to form a target surrounding area corresponding to the marked stain area;

[0020] Determine the average of the grayscale values ​​corresponding to all pixels in the target surrounding area corresponding to the marked stain area as the grayscale surrounding representative index corresponding to the marked stain area;

[0021] Determine the average of the grayscale values ​​corresponding to all pixels in the marked stain area as the grayscale self-representation index corresponding to the marked stain area;

[0022] The absolute value of the difference between the grayscale surrounding representative index corresponding to the marked stain area and the grayscale representative index itself is determined as the target grayscale difference corresponding to the marked stain area;

[0023] Determine the average value of the gradients corresponding to all pixels in the marked stain area as the gradient representative index corresponding to the marked stain area;

[0024] The cleaning difficulty factor corresponding to the marked stain area is determined according to the target shape features, target grayscale difference and gradient representative index corresponding to the marked stain area, wherein the target shape features and gradient representative index are negatively correlated with the cleaning difficulty factor, and the target grayscale difference is positively correlated with the cleaning difficulty factor.

[0025] In combination with the first aspect above, in a possible implementation, screening out each incidentally cleaned stain area corresponding to the initial cleaning area according to the water column flushing radius includes:

[0026] Taking the center of mass of the initial cleaning area as the center of the circle, the circle is expanded outward until a circular area with a radius equal to the flushing radius of the water column is obtained, which serves as the target incidental cleaning area corresponding to the initial cleaning area;

[0027] Each target stain area in the target incidentally cleaned area corresponding to the initial cleaning area is determined as each incidentally cleaned stain area corresponding to the initial cleaning area.

[0028] In combination with the first aspect above, in a possible implementation, the formula corresponding to the cleaning surplus factor corresponding to the stained area to be cleaned is:

[0029] ;in, The initial cleaning area corresponds to The cleaning residual factor corresponding to the stained area to be cleaned incidentally; It is the serial number of the stain area to be cleaned incidentally corresponding to the initial cleaning area; The initial cleaning area corresponds to The cleaning difficulty factor corresponding to the stained area to be cleaned incidentally; is the cleaning efficiency index corresponding to the initial cleaning area; is the flushing radius of the water column; is the centroid of the initial cleaning area and the The distance between the centroids of the stained areas that were washed incidentally; It is the flushing intensity of the water flow.

[0030] In combination with the first aspect, in a possible implementation, the step of selecting the complete cleaning area from all the stain areas that are to be cleaned in conjunction with the initial cleaning area according to the cleaning residual factor includes:

[0031] If the cleaning remaining factor corresponding to the incidentally cleaned stain area is less than or equal to the preset cleaning complete threshold, the incidentally cleaned stain area is determined as the incidentally cleaned complete area.

[0032] In combination with the first aspect above, in a possible implementation, updating the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area includes:

[0033] Determine each target stain area except the initial cleaning area and the incidentally cleaned complete area as a stain area to be cleaned;

[0034] If the stain area to be cleaned is a stain area to be cleaned incidentally, the cleaning difficulty factor corresponding to the stain area to be cleaned is updated to its corresponding cleaning surplus factor.

[0035] In combination with the first aspect, in a possible implementation, the cleaning sorting of the target stain areas except the initial cleaning area and the area to be cleaned in passing according to the updated cleaning difficulty factor includes:

[0036] Determine each target stain area except the initial cleaning area and the incidentally cleaned complete area as a stain area to be cleaned, and obtain a set of stain areas to be cleaned;

[0037] The stain area to be cleaned having the largest updated cleaning difficulty factor is selected from the set of stain areas to be cleaned as the candidate cleaning area, and the cleaning efficiency index corresponding to the candidate cleaning area is determined according to the flushing intensity of the water flow and the updated cleaning difficulty factor corresponding to the candidate cleaning area; each incidentally cleaned stain area corresponding to the candidate cleaning area is selected, and based on the cleaning efficiency index corresponding to the candidate cleaning area, the cleaning residual factor corresponding to each incidentally cleaned stain area corresponding to the candidate cleaning area is determined; according to the cleaning residual factor, the incidentally cleaned complete area is selected from all incidentally cleaned stain areas corresponding to the candidate cleaning area, and the cleaning difficulty factors corresponding to the target stain areas other than the initial cleaning area, the candidate cleaning area and the incidentally cleaned complete area are updated;

[0038] The set of stain areas to be cleaned is updated to a set consisting of target stain areas excluding the initial cleaning area, the candidate cleaning areas and the incidentally cleaned complete area; and the above-mentioned candidate cleaning area and incidentally cleaned complete area screening method is used to screen out new candidate cleaning areas and incidentally cleaned complete areas from the updated set of stain areas to be cleaned, and the above-mentioned updating of the set of stain areas to be cleaned and the above-mentioned candidate cleaning area and incidentally cleaned complete area screening method are repeated until the updated set of stain areas to be cleaned is empty, and the initial cleaning area and all candidate cleaning areas are sorted according to the determination time corresponding to the initial cleaning area and all candidate cleaning areas.

[0039] In a second aspect, the present invention provides an intelligent cleaning visual assisted positioning system, the system comprising:

[0040] An image acquisition region screening module is used to acquire a target surface image corresponding to the vehicle to be cleaned, and screen out a target stain region from the target surface image;

[0041] A cleaning difficulty factor determination module is used to determine the cleaning difficulty factor corresponding to each target stain area according to the edge shape and gray gradient distribution of each target stain area;

[0042] The area screening index determination module is used to screen out the target stain area with the largest cleaning difficulty factor as the initial cleaning area, and determine the cleaning efficiency index corresponding to the initial cleaning area according to the flushing intensity of the water flow and the cleaning difficulty factor corresponding to the initial cleaning area;

[0043] The incidental cleaning stain area screening module is used to screen out each incidental cleaning stain area corresponding to the initial cleaning area according to the water column flushing radius;

[0044] A cleaning surplus factor determination module is used to determine the cleaning surplus factor corresponding to each incidentally cleaned stain area according to the water column flushing radius, the water flow flushing intensity, the cleaning efficiency index corresponding to the initial cleaning area and the cleaning difficulty factor corresponding to each incidentally cleaned stain area;

[0045] The area screening factor updating module is used to screen out the incidentally cleaned complete area from all incidentally cleaned stain areas corresponding to the initial cleaning area according to the cleaning residual factor, and update the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area;

[0046] The cleaning sorting module is used to sort the target stain areas except the initial cleaning area and the incidentally cleaned complete area according to the updated cleaning difficulty factor.

[0047] In a third aspect, a server is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the device executes the method in the first aspect or any possible implementation of the first aspect.

[0048] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0049] In a fifth aspect, an intelligent cleaning visually assisted positioning device is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0050] The present invention has the following beneficial effects:

[0051] An intelligent cleaning vision-assisted positioning method of the present invention processes image data of a target surface image, thereby locating the complete cleaning area that is cleaned incidentally, so that it does not need to be specially cleaned, that is, it does not need to be used as a component of a cleaning path, thereby simplifying the composition of the cleaning path, solving the technical problem of water resource waste caused by poor rationality of cleaning path positioning, improving the rationality of cleaning path positioning, and reducing water resource waste to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 It is a flow chart of an intelligent cleaning visual assisted positioning method of the present invention;

[0054] Figure 2 A schematic diagram of the structure of an intelligent cleaning visual assisted positioning system of the present invention;

[0055] Figure 3 The figure is a schematic diagram of the structure of a computer device of the present invention. DETAILED DESCRIPTION

[0056] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the technical solutions proposed by the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0057] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0058] refer to Figure 1 , shows the process of some embodiments of an intelligent cleaning visual assisted positioning method of the present invention. The intelligent cleaning visual assisted positioning method comprises the following steps:

[0059] Step S1, obtaining a target surface image corresponding to the vehicle to be cleaned, and screening out a target stain area from the target surface image.

[0060] The vehicle to be cleaned may be a vehicle to be cleaned. The target surface image may be a grayscale image of the surface of the vehicle to be cleaned. The target stain area may represent the stain to be cleaned on the surface of the vehicle to be cleaned.

[0061] As an example, this step may include the following steps:

[0062] The first step is to obtain the target surface image corresponding to the vehicle to be cleaned.

[0063] For example, a surface image of the vehicle to be cleaned may be captured by a camera as an initial surface image, and the initial surface image may be grayed to obtain a target surface image.

[0064] It should be noted that when the intelligent cleaning equipment is cleaning the vehicle, the visual sensor above the robotic arm, such as a camera, will capture the surface image of the vehicle. The surface image captured at this time is the above-mentioned initial surface image. The design and application of the non-contact intelligent cleaning equipment with robotic arms demonstrates the innovation of technology in the field of cleaning. This type of equipment uses advanced sensing technology and precision control systems to accurately identify and clean various complex surfaces such as the outer shell of the vehicle without direct contact.

[0065] Secondly, the intelligent cleaning device includes a robotic arm for moving in three-dimensional space and a positioning cleaning head or nozzle to perform cleaning tasks; the nozzle is usually mounted at the end of the robotic arm, used to spray cleaning agent and water, and through mechanical action to cover the entire cleaning area; the intelligent cleaning equipment can obtain image information of the clear environment based on the visual sensor, and locate the stains based on the navigation and positioning system; for the vehicle that needs to be cleaned, the vehicle is parked in the working area of ​​the intelligent cleaning equipment, and the intelligent cleaning equipment is started. The cleaning robotic arm of the intelligent cleaning equipment is equipped with a visual sensor. The robotic arm uses visual sensing to obtain the surface image of the vehicle to be cleaned, and uses the surface image of the vehicle to be cleaned to identify stains and assist the robotic arm in cleaning the vehicle; since the identification of stains only needs to be identified from the stain characteristics, and there is no need to analyze the color space, therefore, the collected surface image of the vehicle to be cleaned is grayed to obtain a grayscale image of the surface of the vehicle to be cleaned, thereby improving the computing speed.

[0066] In the second step, the target stain area is screened out from the target surface image.

[0067] For example, a stain region may be segmented from the target surface image by threshold segmentation to serve as the target stain region.

[0068] Optionally, a stain area may be identified from the target surface image through a neural network as a target stain area.

[0069] Step S2, determining the cleaning difficulty factor corresponding to each target stain area according to the edge shape and gray gradient distribution of each target stain area.

[0070] As an example, this step may include the following steps:

[0071] In the first step, any target stain area is determined as a marked stain area, any pixel point on the edge of the marked stain area is determined as a marked pixel point, and the distance between the marked pixel point and the centroid of the marked stain area is determined as the reference distance corresponding to the marked pixel point.

[0072] In the second step, the variance of the reference distances corresponding to all the pixel points on the edge of the marked stain area is determined as the target shape feature corresponding to the marked stain area.

[0073] The third step is to determine the cleaning difficulty factor corresponding to the marked stain area according to the target shape feature corresponding to the marked stain area, the mean value of the gradient size corresponding to all pixels in the marked stain area, and the mean value of the grayscale value corresponding to all pixels in the marked stain area, which may include the following sub-steps:

[0074] In the first sub-step, a union of preset neighborhoods corresponding to all pixel points on the edge of the marked stain area is determined as a target union area corresponding to the marked stain area.

[0075] The preset neighborhood may be a preset neighborhood, for example, a 5×5 neighborhood.

[0076] In the second sub-step, pixel points that do not belong to the marked stain area are screened out from the target union area corresponding to the marked stain area to form the target surrounding area corresponding to the marked stain area.

[0077] In the third sub-step, the average of the grayscale values ​​corresponding to all the pixels in the target surrounding area corresponding to the marked stain area is determined as the grayscale surrounding representative index corresponding to the marked stain area.

[0078] In the fourth sub-step, the average value of the grayscale values ​​corresponding to all the pixels in the marked stain area is determined as the grayscale representative index corresponding to the marked stain area.

[0079] In the fifth sub-step, the absolute value of the difference between the grayscale surrounding representative index corresponding to the marked stain area and the grayscale representative index itself is determined as the target grayscale difference corresponding to the marked stain area.

[0080] In the sixth sub-step, the average value of the gradients corresponding to all the pixels in the marked stain area is determined as the representative index of the gradient corresponding to the marked stain area.

[0081] The seventh sub-step is to determine the cleaning difficulty factor corresponding to the marked stain area according to the target shape characteristics, target grayscale difference and gradient representative index corresponding to the marked stain area.

[0082] Among them, the target shape feature and the gradient representative index can be negatively correlated with the cleaning difficulty factor. The target grayscale difference can be positively correlated with the cleaning difficulty factor.

[0083] For example, the formula for determining the cleaning difficulty factor corresponding to the target stain area can be:

[0084] ;in, It is The cleaning difficulty factor corresponding to the target stain area. is the serial number of the target stain area in the target surface image. is a normalization function. It is the absolute value function. It is The grayscale corresponding to the target stain area represents the index itself, that is, The mean gray value of all pixels in the target stain area. It is The grayscale surroundings corresponding to the target stain area represent the index, that is, The mean of the gray values ​​corresponding to all pixels in the target surrounding area corresponding to the target stain area. is a natural exponential function. It is The target shape features corresponding to the target stain area. It is The gradient corresponding to the target stain area itself represents the index, that is, The mean value of the gradient size corresponding to all pixels in the target stain area. It is The target grayscale difference corresponding to the target stain area.

[0085] It should be noted that in actual situations, the difficulty of cleaning stains formed by different types of substances on the surface of the vehicle is often different. The reason why stains can adhere to the surface of the car is often due to the surface tension and adhesion of the staining substance. Materials with strong surface tension tend to adhere better to the surface of the car, such as paint and oil film. This kind of stain often causes the surface to reflect due to surface tension, resulting in a large difference in grayscale between the stained surface and the non-stained surface; some stains may have tiny pits on the surface, because the pits on the stain surface will increase the friction of the water flow, making it easier to clean; if there are large outward thorn-like protrusions on the edge of the stain, the stress will often cause the protrusions to be cleaned faster, resulting in the overall destruction of the stain. When The larger the The more likely the target stain area is to be a stain formed by a material with a stronger surface tension, the more likely it is that the first The higher the degree of stain coverage of the first target stain area, the higher the The more targeted the stain area, the more difficult it may be to clean. The larger the The more discrete the reference distances corresponding to all pixels on the edge of the target stain area, the more The more irregular the edge shape of the target stain area is, the more likely it is that the The more uneven the edge shape of the target stain area is, the more likely it is that the The target stain area is relatively easier to clean. The larger the The larger the gradient size corresponding to the pixel point in the target stain area, the larger the gradient size corresponding to the pixel point in the target stain area. The more uneven the interior of the target stain area is, the more likely it is that the The target stain area is relatively easy to clean. The larger the The more targeted the stain area, the more difficult it may be to clean.

[0086] Step S3, screen out the target stain area with the largest cleaning difficulty factor as the initial cleaning area, and determine the cleaning efficiency index corresponding to the initial cleaning area according to the flushing intensity of the water flow and the cleaning difficulty factor corresponding to the initial cleaning area.

[0087] The initial cleaning area can represent the stain that needs to be cleaned first. The flushing intensity of the water flow can be represented by the flow rate or flow velocity. For example, the flushing intensity of the water flow can be represented by the amount of water passing through the pipe or outlet per unit time.

[0088] As an example, this step may include the following steps:

[0089] In the first step, the target stain area with the largest cleaning difficulty factor is determined as the initial cleaning area.

[0090] In the second step, the formula for determining the cleaning efficiency index corresponding to the initial cleaning area can be:

[0091] ;in, It is the cleaning efficiency index corresponding to the initial cleaning area. It is the flushing intensity of the water flow. is the cleaning difficulty factor corresponding to the initial cleaning area.

[0092] It should be noted that, since cleaning equipment often needs to consider water conservation when cleaning stains, if all stains are cleaned indiscriminately, it will often result in a waste of water; since water flow devices often do not only perform specific cleaning on one point, for example, when the water flow cleans a location, it will often spread and cause the surrounding stains to be cleaned as well, which often results in that when cleaning difficult stains, the nearby stains with lower cleaning difficulty will often be cleaned by the way. Therefore, it is necessary to obtain the cleaning efficiency of the stains based on the cleaning difficulty of the stains, so as to subsequently determine whether the surrounding stains will be cleaned by the way. The larger the value, the more difficult it is to clean the initial cleaning area, and the lower the cleaning efficiency. The larger the value, the greater the flushing intensity of the water flow, and the higher the cleaning efficiency of the water flow. The cleaning efficiency of the initial cleaning area can be characterized.

[0093] Step S4, according to the flushing radius of the water column, each incidentally cleaned stain area corresponding to the initial cleaning area is screened out.

[0094] Among them, the water column flushing radius in the embodiment of the present invention can be the maximum radius range that can cover the vehicle surface after the water flow is sprayed out. In actual situations, the water column flushing radius in the embodiment of the present invention can be the maximum radius range covered by the water flow detected when the vehicle to be cleaned is actually cleaned. Secondly, the method for obtaining the water column flushing radius in the embodiment of the present invention can also be: by simulating the cleaning of a vehicle of the same model and specification as the vehicle to be cleaned, the water column flushing radius when cleaning each position is obtained.

[0095] As an example, this step may include the following steps:

[0096] The first step is to diffuse outward with the centroid of the initial cleaning area as the center of the circle until a circular area with a radius equal to the flushing radius of the water column is obtained, which serves as the target incidental cleaning area corresponding to the initial cleaning area.

[0097] The target incidental cleaning area may be a circular area with the centroid of the initial cleaning area as the center and the water column flushing radius as the radius. The target incidental cleaning area may represent the water column flushing range. In actual situations, the water column flushing range is often larger than the stain area.

[0098] In the second step, each target stain area in the target incidentally cleaned area corresponding to the initial cleaning area is determined as each incidentally cleaned stain area corresponding to the initial cleaning area.

[0099] Step S5, determining the cleaning residual factor corresponding to each incidentally cleaned stain area according to the water column flushing radius, the flushing intensity of the water flow, the cleaning efficiency index corresponding to the initial cleaning area and the cleaning difficulty factor corresponding to each incidentally cleaned stain area.

[0100] As an example, the formula for determining the cleaning surplus factor corresponding to the stained area to be cleaned can be:

[0101] ;in, The initial cleaning area corresponds to The cleaning residual factor corresponding to the stained area that was cleaned incidentally. It is the serial number of the stain area to be cleaned incidentally corresponding to the initial cleaning area. The initial cleaning area corresponds to The cleaning difficulty factor corresponding to the stained area to be cleaned incidentally. It is the cleaning efficiency index corresponding to the initial cleaning area. is the flushing radius of the water column. is the centroid of the initial cleaning area and the The distance between the centroids of the stained areas that were cleaned. It is the flushing intensity of the water flow.

[0102] It should be noted that when cleaning the initial cleaning area, the surrounding stains may be washed away due to the range of the water flow, and the cleaning difficulty of the stain area around the initial cleaning area that is washed away by the water flow will often be reduced. And as the distance from the center of the water column increases, the washing intensity tends to decrease linearly. Can characterize the The difficulty of cleaning the stained area at the same time. It can characterize the cleaning efficiency of the initial cleaning area. The larger its value is, the more efficient the initial cleaning area is, and the greater the degree of cleaning around the initial cleaning area. The larger the The closer the second-cleaned stain area is to the initial cleaning area, the more likely it is that the second The greater the extent to which the stained area is rinsed. When it is larger, it often means that the flushing intensity of the water flow is greater, which often means that the The greater the extent to which the soiled area is likely to be rinsed. It can be characterized that during the cleaning process of the initial cleaning area, After the stained areas are cleaned incidentally, the cleaning difficulty of the remaining stained areas will be determined.

[0103] Step S6, based on the cleaning residual factor, select the incidentally cleaned complete area from all the incidentally cleaned stain areas corresponding to the initial cleaning area, and update the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area.

[0104] As an example, this step may include the following steps:

[0105] In the first step, if the cleaning remaining factor corresponding to the incidentally cleaned stain area is less than or equal to a preset cleaning complete threshold, the incidentally cleaned stain area is determined as an incidentally cleaned complete area.

[0106] The preset cleaning complete threshold may be a preset threshold. For example, the preset cleaning complete threshold may be 0.

[0107] In the second step, each target stain area except the initial cleaning area and the incidentally cleaned complete area is determined as a stain area to be cleaned.

[0108] In the third step, if the stain area to be cleaned is a stain area to be cleaned incidentally, the cleaning difficulty factor corresponding to the stain area to be cleaned is updated to its corresponding cleaning remaining factor, thereby realizing the update of the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidental cleaning complete area.

[0109] It should be noted that if the stain area to be cleaned is not a stain area to be cleaned incidentally, it is not necessary to update the cleaning difficulty factor corresponding to the stain area to be cleaned.

[0110] Step S7, sorting the target stain areas for cleaning except the initial cleaning area and the area to be cleaned in passing according to the updated cleaning difficulty factor.

[0111] As an example, this step may include the following steps:

[0112] In the first step, each target stain area except the initial cleaning area and the incidentally cleaned complete area is determined as a stain area to be cleaned, thereby obtaining a set of stain areas to be cleaned.

[0113] In the second step, the stain area to be cleaned with the largest updated cleaning difficulty factor is selected from the set of stain areas to be cleaned as the candidate cleaning area. The candidate cleaning area at this time can represent the stain that needs to be cleaned second. According to the flushing intensity of the water flow and the updated cleaning difficulty factor corresponding to the candidate cleaning area, the cleaning efficiency index corresponding to the candidate cleaning area is determined, and its specific determination method can be the same as the determination method of the cleaning efficiency index corresponding to the initial cleaning area mentioned above. Each stain area to be cleaned incidentally corresponding to the candidate cleaning area is screened out, and its specific screening method can be the same as the screening method of the stain area to be cleaned incidentally corresponding to the initial cleaning area mentioned above. In addition, the initial cleaning area and the complete area to be cleaned incidentally do not participate in the screening at this time. Based on the cleaning efficiency index corresponding to the candidate cleaning area, the cleaning residual factor corresponding to each stain area to be cleaned incidentally corresponding to the candidate cleaning area is determined, and its specific determination method can be the same as the determination method of the cleaning residual factor corresponding to the stain area to be cleaned incidentally corresponding to the initial cleaning area. It is only necessary to replace the cleaning efficiency index corresponding to the initial cleaning area with the cleaning efficiency index corresponding to the candidate cleaning area during the determination process. According to the cleaning residual factor, selecting the incidentally cleaned complete area from all incidentally cleaned stain areas corresponding to the candidate cleaning area may include: if the cleaning residual factor corresponding to the incidentally cleaned stain area is less than or equal to a preset cleaning complete threshold, then determining the incidentally cleaned stain area as the incidentally cleaned complete area. Updating the cleaning difficulty factor corresponding to the target stain area other than the initial cleaning area, the candidate cleaning area and the incidentally cleaned complete area may include: updating the cleaning difficulty factor corresponding to the incidentally cleaned stain area other than the initial cleaning area, the candidate cleaning area and the incidentally cleaned complete area to its corresponding cleaning residual factor.

[0114] In the third step, the set of stain areas to be cleaned is updated to a set consisting of target stain areas excluding the initial cleaning area, the candidate cleaning areas and the incidentally cleaned complete area; and the above-mentioned candidate cleaning area and incidentally cleaned complete area screening method is used to screen out new candidate cleaning areas and incidentally cleaned complete areas from the updated set of stain areas to be cleaned, and the above-mentioned set of stain areas to be cleaned is updated and the above-mentioned candidate cleaning area and incidentally cleaned complete area screening method are repeated until the updated set of stain areas to be cleaned is empty, and the initial cleaning area and all candidate cleaning areas are sorted according to their corresponding determination times, wherein the earlier the initial cleaning area or the candidate cleaning area is determined, the higher it is sorted and the earlier it is cleaned.

[0115] The fourth step is to connect the target stain areas except all the areas that are cleaned in the process in sequence according to the cleaning order to form a cleaning path.

[0116] It should be noted that the embodiment of the present invention quantifies the cleaning difficulty factor corresponding to each target stain area, and based on the cleaning difficulty factor corresponding to the target stain area, the initial cleaning area that needs to be cleaned first is screened out from all target stain areas, and the incidentally cleaned complete areas that are cleaned in the process of cleaning the initial cleaning area are screened out. Subsequently, only the target stain areas other than the initial cleaning area and the incidentally cleaned complete areas need to be cleaned.

[0117] For the areas in the incidental cleaning stain area other than the incidental cleaning complete area, part of them are cleaned during the incidental cleaning process and their cleaning difficulty is reduced, so their cleaning difficulty factors are updated, thereby realizing the update of the cleaning difficulty factors of the target stain areas other than the initial cleaning area and the incidental cleaning complete area.

[0118] According to the updated cleaning difficulty factor, the same method as the initial cleaning area screening method can be used to screen out the stained area that needs a second cleaning, that is, the first candidate cleaning area, and screen out the incidentally cleaned areas that are cleaned in the process of cleaning the first candidate cleaning area. Subsequently, only the target stained areas other than the initial cleaning area, the first candidate cleaning area and all incidentally cleaned areas need to be cleaned.

[0119] Similarly, for the areas in the incidental stain area other than the areas that are completely cleaned, part of them are cleaned during the incidental cleaning process, and their cleaning difficulty is reduced, so their cleaning difficulty factors are updated, thereby realizing the update of the cleaning difficulty factors of the target stain areas except the initial cleaning area, the first candidate cleaning area and all the areas that are completely cleaned.

[0120] Similarly, based on the latest updated cleaning difficulty factor, the same method as the initial cleaning area screening method can be used to screen out the stain area that needs a third cleaning, that is, the second candidate cleaning area, and screen out the incidentally cleaned complete area that is cleaned in the process of cleaning the second candidate cleaning area. Subsequently, only the target stain area other than the initial cleaning area, the first candidate cleaning area, the second candidate cleaning area and all incidentally cleaned complete areas need to be cleaned; and the cleaning difficulty factors corresponding to the incidentally cleaned stain areas other than the incidentally cleaned complete areas in the stain areas need to be updated.

[0121] By analogy, according to the latest updated cleaning difficulty factor, the stained areas that need to be cleaned for the fourth time, the stained areas that need to be cleaned for the fifth time, the stained areas that need to be cleaned for the sixth time, etc. are screened out until the cleaning order of all stained areas except the area that is cleaned completely is obtained.

[0122] Optionally, all stained areas except the areas that have been completely cleaned can be cleaned according to the above cleaning sequence, and all stains on the surface of the vehicle to be cleaned can often be cleaned. In order to improve the cleanliness of the cleaning, the surface image of the vehicle to be cleaned after cleaning can be taken by a camera as a candidate image. If there are still stained areas in the candidate image, the target surface image can be updated to the candidate image, and the water flow intensity can be reduced. Through steps S1 to S7, the cleaning sequence of the remaining stained areas is obtained, and the stains are cleaned based on the cleaning sequence. This step is repeated until all stains on the surface of the vehicle to be cleaned are cleaned.

[0123] refer to Figure 2 Based on the same inventive concept as the above method embodiment, the present invention provides an intelligent cleaning visual assisted positioning system, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the above computer program is executed by the processor, the steps of implementing an intelligent cleaning visual assisted positioning method may specifically include:

[0124] The image acquisition region screening module 201 is used to acquire a target surface image corresponding to the vehicle to be cleaned, and screen out a target stain region from the target surface image;

[0125] A cleaning difficulty factor determination module 202 is used to determine the cleaning difficulty factor corresponding to each target stain area according to the edge shape and gray gradient distribution of each target stain area;

[0126] The area screening index determination module 203 is used to screen out the target stain area with the largest cleaning difficulty factor as the initial cleaning area, and determine the cleaning efficiency index corresponding to the initial cleaning area according to the flushing intensity of the water flow and the cleaning difficulty factor corresponding to the initial cleaning area;

[0127] The incidental cleaning stain area screening module 204 is used to screen out each incidental cleaning stain area corresponding to the initial cleaning area according to the water column flushing radius;

[0128] The cleaning residual factor determination module 205 is used to determine the cleaning residual factor corresponding to each incidentally cleaned stain area according to the water column flushing radius, the water flow flushing intensity, the cleaning efficiency index corresponding to the initial cleaning area and the cleaning difficulty factor corresponding to each incidentally cleaned stain area;

[0129] The area screening factor updating module 206 is used to screen out the incidentally cleaned complete area from all the incidentally cleaned stain areas corresponding to the initial cleaning area according to the cleaning residual factor, and update the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area;

[0130] The cleaning sorting module 207 is used to sort the target stain areas except the initial cleaning area and the area to be cleaned in passing according to the updated cleaning difficulty factor.

[0131] Figure 3 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 3 As shown, the computer device 300 includes: a memory 301, a processor 302, and a computer program 303 stored in the memory 301 and running on the processor 302, wherein when the processor 302 executes the computer program 303, the computer device can execute any one of the intelligent cleaning visual assisted positioning methods introduced above.

[0132] Based on the same inventive concept as the above method embodiment, the present invention provides a server, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the device executes any one of the above intelligent cleaning visual assisted positioning methods.

[0133] Based on the same inventive concept as the above method embodiment, the present invention provides a computer program product, which includes: computer program code, when the computer program code runs on a computer, the computer executes any one of the above intelligent cleaning visual assisted positioning methods.

[0134] Based on the same inventive concept as the above-mentioned method embodiment, the present invention provides an intelligent cleaning visually assisted positioning device, which stores computer program code. When the computer program code runs on a computer, the computer executes any one of the above-mentioned intelligent cleaning visually assisted positioning methods.

[0135] In summary, the present invention processes the image data of the target surface image, thereby locating the completely cleaned area to be cleaned incidentally, so that it does not need to be specially cleaned, that is, it does not need to be used as a component of the cleaning path, thereby simplifying the composition of the cleaning path, solving the technical problem of water resource waste caused by poor rationality of cleaning path positioning, improving the rationality of cleaning path positioning, and reducing water resource waste to a certain extent.

[0136] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. An intelligent cleaning vision-assisted positioning method, It is characterized in that The following steps are involved: Acquire a target surface image corresponding to the vehicle to be cleaned, and filter out a target stain area from the target surface image; Determine the cleaning difficulty factor corresponding to each target stain area according to the edge shape and gray gradient distribution of each target stain area; The target stain area with the largest cleaning difficulty factor is selected as the initial cleaning area, and the cleaning efficiency index corresponding to the initial cleaning area is determined according to the flushing intensity of the water flow and the cleaning difficulty factor corresponding to the initial cleaning area; According to the flushing radius of the water column, each incidentally cleaned stain area corresponding to the initial cleaning area is screened out; According to the flushing radius of the water column, the flushing intensity of the water flow, the cleaning efficiency index corresponding to the initial cleaning area and the cleaning difficulty factor corresponding to each of the stain areas cleaned incidentally, the cleaning residual factor corresponding to each stain area cleaned incidentally is determined; According to the cleaning residual factor, the incidentally cleaned complete area is selected from all incidentally cleaned stain areas corresponding to the initial cleaning area, and the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area is updated; According to the updated cleaning difficulty factor, the target stain areas other than the initial cleaning area and the incidentally cleaned area are sorted for cleaning; Determining the cleaning difficulty factor corresponding to each target stain area according to the edge shape and gray gradient distribution of each target stain area includes: Determine any target stain area as a marked stain area, determine any pixel point on the edge of the marked stain area as a marked pixel point, and determine the distance between the marked pixel point and the centroid of the marked stain area as a reference distance corresponding to the marked pixel point; Determine the variance of the reference distances corresponding to all pixel points on the edge of the marked stain area as the target shape feature corresponding to the marked stain area; Determine the cleaning difficulty factor corresponding to the marked stain area according to the target shape feature corresponding to the marked stain area, the mean value of the gradient size corresponding to all the pixels in the marked stain area, and the mean value of the grayscale value corresponding to all the pixels in the marked stain area; The formula for the cleaning residual factor corresponding to the stained area is: ;in, The initial cleaning area corresponds to The cleaning residual factor corresponding to the stained area to be cleaned incidentally; It is the serial number of the stain area to be cleaned incidentally corresponding to the initial cleaning area; The initial cleaning area corresponds to The cleaning difficulty factor corresponding to the stained area to be cleaned incidentally; is the cleaning efficiency index corresponding to the initial cleaning area; is the flushing radius of the water column; is the centroid of the initial cleaning area and the The distance between the centroids of the stained areas that were washed incidentally; It is the flushing intensity of the water flow.

2. According to claim 1, an intelligent cleaning visual assisted positioning method, It is characterized in that The step of determining the cleaning difficulty factor corresponding to the marked stain area according to the target shape feature corresponding to the marked stain area, the mean value of the gradient size corresponding to all the pixels in the marked stain area, and the mean value of the grayscale value corresponding to all the pixels in the marked stain area comprises: Determine the union of preset neighborhoods corresponding to all pixel points on the edge of the marked stain area as the target union area corresponding to the marked stain area; Filter out pixel points that do not belong to the marked stain area from the target union area corresponding to the marked stain area to form a target surrounding area corresponding to the marked stain area; Determine the average of the grayscale values ​​corresponding to all pixels in the target surrounding area corresponding to the marked stain area as the grayscale surrounding representative index corresponding to the marked stain area; Determine the average of the grayscale values ​​corresponding to all pixels in the marked stain area as the grayscale self-representation index corresponding to the marked stain area; The absolute value of the difference between the grayscale surrounding representative index corresponding to the marked stain area and the grayscale representative index itself is determined as the target grayscale difference corresponding to the marked stain area; Determine the average value of the gradient magnitudes corresponding to all pixels in the marked stain area as the gradient representative index corresponding to the marked stain area; The cleaning difficulty factor corresponding to the marked stain area is determined according to the target shape features, target grayscale difference and gradient representative index corresponding to the marked stain area, wherein the target shape features and gradient representative index are negatively correlated with the cleaning difficulty factor, and the target grayscale difference is positively correlated with the cleaning difficulty factor.

3. According to claim 1, an intelligent cleaning visual assisted positioning method, It is characterized in that The method of screening out each incidentally cleaned stain area corresponding to the initial cleaning area according to the water column flushing radius includes: Taking the center of mass of the initial cleaning area as the center of the circle, the circle is expanded outward until a circular area with a radius equal to the flushing radius of the water column is obtained, which serves as the target incidental cleaning area corresponding to the initial cleaning area; Each target stain area in the target incidentally cleaned area corresponding to the initial cleaning area is determined as each incidentally cleaned stain area corresponding to the initial cleaning area.

4. According to claim 1, an intelligent cleaning visual assisted positioning method, It is characterized in that The method of selecting the complete cleaning area from all the stain areas corresponding to the initial cleaning area according to the cleaning residual factor includes: If the cleaning remaining factor corresponding to the incidentally cleaned stain area is less than or equal to the preset cleaning complete threshold, the incidentally cleaned stain area is determined as the incidentally cleaned complete area.

5. According to claim 1, an intelligent cleaning visual assisted positioning method, It is characterized in that The updating of the cleaning difficulty factor corresponding to the target stain area except the initial cleaning area and the incidentally cleaned complete area includes: Determine each target stain area except the initial cleaning area and the incidentally cleaned complete area as a stain area to be cleaned; If the stain area to be cleaned is a stain area to be cleaned incidentally, the cleaning difficulty factor corresponding to the stain area to be cleaned is updated to its corresponding cleaning surplus factor.

6. The intelligent cleaning visual assisted positioning method according to claim 1, It is characterized in that The step of sorting the target stain areas except the initial cleaning area and the area that is cleaned in the process according to the updated cleaning difficulty factor includes: Determine each target stain area except the initial cleaning area and the incidentally cleaned complete area as a stain area to be cleaned, and obtain a set of stain areas to be cleaned; The stain area to be cleaned having the largest updated cleaning difficulty factor is selected from the set of stain areas to be cleaned as the candidate cleaning area, and the cleaning efficiency index corresponding to the candidate cleaning area is determined according to the flushing intensity of the water flow and the updated cleaning difficulty factor corresponding to the candidate cleaning area; each incidentally cleaned stain area corresponding to the candidate cleaning area is selected, and based on the cleaning efficiency index corresponding to the candidate cleaning area, the cleaning residual factor corresponding to each incidentally cleaned stain area corresponding to the candidate cleaning area is determined; according to the cleaning residual factor, the incidentally cleaned complete area is selected from all incidentally cleaned stain areas corresponding to the candidate cleaning area, and the cleaning difficulty factors corresponding to the target stain areas other than the initial cleaning area, the candidate cleaning area and the incidentally cleaned complete area are updated; The set of stain areas to be cleaned is updated to a set consisting of target stain areas excluding the initial cleaning area, the candidate cleaning areas and the incidentally cleaned complete area; and the above-mentioned candidate cleaning area and incidentally cleaned complete area screening method is used to screen out new candidate cleaning areas and incidentally cleaned complete areas from the updated set of stain areas to be cleaned, and the above-mentioned updating of the set of stain areas to be cleaned and the above-mentioned candidate cleaning area and incidentally cleaned complete area screening method are repeated until the updated set of stain areas to be cleaned is empty, and the initial cleaning area and all candidate cleaning areas are sorted according to the determination time corresponding to the initial cleaning area and all candidate cleaning areas.

7. An intelligent cleaning visual assisted positioning system, It is characterized in that The method comprises a processor and a memory, wherein the processor is used to process instructions stored in the memory to implement an intelligent cleaning vision-assisted positioning method according to any one of claims 1 to 6.

8. An intelligent cleaning visual assisted positioning device, It is characterized in that The intelligent cleaning visually assisted positioning device stores computer program code, and when the computer program code runs on a computer, the computer executes an intelligent cleaning visually assisted positioning method as described in any one of claims 1-6.