Cleaning control method and device, storage medium and equipment

By using ordinary cameras in the dishwasher to obtain three-dimensional reconstruction and depth information, and determine cleaning strategies, the problems of waste of existing dishwasher resources and damage to materials are solved, and efficient and efficient cleaning effects are achieved.

CN118898741APending Publication Date: 2024-11-05WUHU MIDEA KITCHEN & BATH APPLIANCES MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924940.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

Existing dishwashers will use water and detergent uniformly during cleaning, resulting in waste of resources and may damage tableware made of special materials, and lack targeted cleaning strategies.

Method used

By using ordinary cameras to capture target images in the cleaning equipment, three-dimensional reconstruction and depth information processing are performed based on these pictures, cleaning control strategies for objects to be cleaned are determined, and depth cameras are replaced, cost is reduced, and cleaning targeting is improved.

Benefits of technology

It saves water resources and detergent usage, improves cleaning effect, and ensures targeted treatment of every object to be cleaned.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898741A_ABST
    Figure CN118898741A_ABST
Patent Text Reader

Abstract

The invention provides a cleaning control method and device, a storage medium and equipment, the method is applied to the field of cleaning, the method pushes a moving part to move through a closing part of the cleaning equipment, and a shooting part is arranged on the moving part to move along with the moving part so as to obtain a target picture of each preset position; and obtaining a three-dimensional reconstruction picture containing the internal structure of the cleaning equipment and a depth picture carrying depth information based on the target picture, further obtaining attribute information of the to-be-cleaned object, and determining a cleaning control strategy based on the attribute information. According to the method, a shooting part is a common camera, a depth camera is replaced, the use cost is greatly reduced, the cleaning control strategy for the to-be-cleaned objects is determined based on the attribute information, the pertinence of the cleaning equipment for each to-be-cleaned object is guaranteed, then water resources and the use amount of a cleaning agent are saved, and the cleaning effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cleaning, and more specifically, to a cleaning control method, device, storage medium and equipment in the field of cleaning. Background Art

[0002] With the development of technology, more and more families choose to use dishwashers instead of manual dishwashing. However, existing dishwashers generally put water and detergent into all the tableware inside, which will cause a waste of water resources and detergents, and even cause damage to tableware made of certain special materials. Summary of the invention

[0003] The present application provides a cleaning control method, device, storage medium and equipment. The method can obtain a target image inside the cleaning equipment through a shooting component, and obtain a depth image based on the target image. The shooting component is an ordinary camera, which replaces the depth camera, greatly reducing the use cost, determining the cleaning control strategy for the object to be cleaned, and ensuring the cleaning equipment's targeting of each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect.

[0004] In a first aspect, a cleaning control method is provided, which is applied to a cleaning device, wherein the cleaning device comprises a closing component, a moving component, a shooting component and a cleaning cavity, wherein the closing component forms a closed internal space with the cleaning cavity when closed, and the closing component pushes the moving component to move during the closing process, and the shooting component is arranged on the moving component to follow the movement of the moving component, and the method comprises: when the closing component pushes the moving component to move, so as to drive the shooting component to obtain a target image of each preset position; in response to an operation instruction for the cleaning device, obtaining a three-dimensional reconstructed image containing an internal structure of the cleaning device and a depth image carrying depth information based on the target image; obtaining attribute information of an object to be cleaned inside the cleaning device based on the depth image; and determining a cleaning control strategy for the object to be cleaned based on the attribute information.

[0005] Through the above technical solution, the target image inside the cleaning device is obtained through the shooting component, and the three-dimensional reconstruction image containing the internal structure of the cleaning device and the depth image carrying the depth information are obtained based on the target image, thereby obtaining the attribute information of the object to be cleaned, and determining the cleaning control strategy based on the attribute information. The target image inside the cleaning device is obtained through the shooting component, and the depth image is obtained based on the target image. The shooting component is an ordinary camera, which replaces the depth camera, greatly reducing the cost of use, determining the cleaning control strategy for the object to be cleaned, ensuring the pertinence of the cleaning device to each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect.

[0006] In combination with the first aspect, in some possible implementations, the step of obtaining a three-dimensional reconstructed image containing the internal structure of the cleaning device and a depth image carrying depth information based on the target image in response to an operating instruction for the cleaning device includes: extracting feature points in each target image respectively in response to the operating instruction for the cleaning device, and obtaining feature point pairs that match each other between each target image based on the feature points; obtaining a three-dimensional reconstructed image containing the internal structure of the cleaning device based on the feature point pairs; and obtaining a depth image carrying depth information based on the feature point pairs.

[0007] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the step of obtaining a three-dimensional reconstructed image containing the internal structure of the cleaning equipment based on the feature point pairs includes: obtaining the internal and external parameters of the photographed components, and calculating the position of each feature point pair in the three-dimensional space based on the feature point pairs and the internal and external parameters to generate a sparse point cloud; converting the sparse point cloud into a three-dimensional grid, mapping the color information in the target image to the three-dimensional grid, and obtaining a three-dimensional model of the internal structure of the cleaning equipment; and outputting a three-dimensional reconstructed image containing the three-dimensional model.

[0008] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the step of obtaining a depth image carrying depth information based on feature point pairs includes: constructing a geometric mapping according to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component to calculate the depth information of each feature point pair; fusing the target image through the feature point pairs, and outputting a depth image carrying the depth information.

[0009] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the step of obtaining the attribute information of the object to be cleaned inside the cleaning equipment based on the depth image includes: extracting features from the depth image to obtain a feature map, and dividing the feature map into multiple candidate areas; screening out a target area from the multiple candidate areas, processing the target area, and obtaining the attribute information of the object to be cleaned inside the cleaning equipment.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the step of screening out a target area from multiple candidate areas, processing the target area, and obtaining attribute information of the object to be cleaned inside the cleaning device includes: screening out a target area from multiple candidate areas, classifying the target area, and obtaining the category attributes of the object to be cleaned inside the cleaning device; performing material identification on the target area to obtain the material attributes of the object to be cleaned; and performing regression processing on the target area to obtain the position coordinates and size attributes of the object to be cleaned.

[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the step of performing regression processing on the target area to obtain the position coordinates and size attributes of the object to be cleaned includes: performing regression processing on the target area so that the target area is close to the object to be cleaned; obtaining the internal structure of the cleaning device through a three-dimensional reconstructed image; constructing a three-dimensional coordinate system according to the internal structure of the cleaning device, and obtaining the position coordinates of the center position of the target area or the border of the target area in the three-dimensional coordinate system according to the three-dimensional coordinate system, as well as the size attributes of the object to be cleaned corresponding to the target area.

[0012] In a second aspect, a cleaning control device is provided, the device comprising:

[0013] A first acquisition unit, used for driving the photographing component to acquire a target image at each preset position when the closing component pushes the moving component to move;

[0014] A second acquisition unit is used to respond to the operation instruction for the cleaning device and acquire, based on the target image, a three-dimensional reconstructed image containing the internal structure of the cleaning device and a depth image carrying depth information;

[0015] An information acquisition unit, used to acquire attribute information of the object to be cleaned inside the cleaning device based on the depth image;

[0016] The strategy determination unit is used to determine a cleaning control strategy for the object to be cleaned based on the attribute information.

[0017] In a third aspect, a cleaning device is provided, the cleaning device comprising: a memory for storing executable program code;

[0018] A processor is used to call and run executable program code from a memory to execute the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0019] 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.

[0020] In a fifth aspect, a computer-readable storage medium 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 manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a scene schematic diagram of a cleaning control method provided in an embodiment of the present application;

[0022] Figure 2 It is a flow chart of a cleaning control method provided in an embodiment of the present application;

[0023] Figure 3 It is a flow chart of a cleaning control method provided in an embodiment of the present application;

[0024] Figure 4 It is a flow chart of a cleaning control method provided in an embodiment of the present application;

[0025] Figure 5 is a structural schematic diagram of a cleaning control device provided in an embodiment of the present application;

[0026] Figure 6 It is a structural schematic diagram of a cleaning device provided in an embodiment of the present application;

[0027] Figure 7 It is a structural schematic diagram of a cleaning device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0029] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0030] See also Figure 1 , is a schematic diagram of a cleaning control method provided in an embodiment of the present application. Figure 1As shown, the cleaning control method provided in the embodiment of the present application can be applied to the scene where the cleaning device 100 cleans the internal object to be cleaned. The cleaning device 100 can be a device with cleaning and disinfection functions such as a dishwasher or a disinfection cabinet. The cleaning device 100 provided in the embodiment of the present application includes a closing component 1, a moving component 2, a shooting component 3 and a cleaning cavity 4. The closing component 1 forms a closed internal space with the cleaning cavity 4 when closed. When the object to be cleaned is placed in the cleaning device 100, the closing component 1 of the cleaning device 100 is closed, and the moving component 2 is pushed to move during the closing process. The shooting component 3 is set on the moving component 2 to follow the movement of the moving component 2 to obtain a target image of each preset position, and a three-dimensional reconstructed image containing the internal structure of the cleaning device and a depth image carrying depth information are obtained based on the target image, and then the attribute information of the object to be cleaned is obtained, and the cleaning control strategy is determined based on the attribute information. The target image inside the cleaning device 100 is obtained through the shooting component 3, and the depth image is obtained based on the target image. The shooting component 3 is a common camera, which replaces the depth camera, greatly reduces the use cost, determines the cleaning control strategy for the object to be cleaned, and ensures that the cleaning device 100 is targeted at each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect.

[0031] based on Figure 1 The scene diagram shown below will be combined with Figure 2-Figure 4 , the cleaning control method provided in the embodiments of the present application is introduced in detail.

[0032] See also Figure 2 , Figure 2 Schematic diagram of a cleaning control method provided in an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps S101-S104.

[0033] S101, when the closing component pushes the moving component to move, so as to drive the shooting component to obtain a target image at each preset position;

[0034] Specifically, when the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, driving the moving component to move, and then driving the shooting component to move. At least two preset positions are pre-set on the moving component, so that each time the shooting component passes through a preset position, the shooting mode is turned on to obtain a target image at each preset position. Among them, the cleaning device can be a dishwasher, a disinfection cabinet, or other equipment with cleaning and disinfection functions. The cleaning device includes a closing component, a moving component, a shooting component, and a cleaning cavity. The closing component is a cabinet door, and the moving component is an object such as a sliding rod that can move with the closing of the cabinet door. The shooting component is an ordinary camera. When the closing component is closed, it forms a closed internal space with the cleaning cavity, and the closing component pushes the moving component to move during the closing process to drive the shooting component on the moving component to follow the movement.

[0035] S102, in response to an operation instruction for the cleaning device, acquiring a three-dimensional reconstructed image including an internal structure of the cleaning device and a depth image carrying depth information based on the target image;

[0036] Specifically, when the closing component of the cleaning device is completely closed with the cleaning cavity, in response to the operating instructions for the cleaning device, based on all target images acquired by the shooting component, a three-dimensional reconstructed image containing the internal structure of the cleaning device and a depth image carrying depth information are acquired, so as to subsequently acquire the attribute information of the object to be cleaned in the cleaning device.

[0037] Among them, the three-dimensional reconstructed image refers to the image obtained by restoring the three-dimensional shape of an object based on multiple two-dimensional images at different angles. The depth information refers to the distance of each pixel point on the target image relative to the shooting component. The target image obtained by the shooting component is a color image containing three color channels of R, G, and B, and the depth image is an RGBD image with depth information added to the ordinary RGB image.

[0038] S103, acquiring attribute information of the object to be cleaned inside the cleaning device based on the depth image;

[0039] Specifically, the depth map contains the distance of each point in the cleaning device relative to the shooting component, as well as the shape, material and other attribute information of the object to be cleaned for identifying the object to be cleaned. Therefore, the attribute information of the object to be cleaned inside the cleaning device can be obtained based on the depth image.

[0040] S104: Determine a cleaning control strategy for the object to be cleaned based on the attribute information.

[0041] Specifically, based on the attribute information, the category attributes, material attributes, position coordinates and size attributes of the objects to be cleaned can be obtained. The category attributes are whether each object to be cleaned belongs to a category such as bowls, plates or cups. The material attributes are whether each object to be cleaned uses glass, plastic or ceramic and other materials. The position coordinates are the coordinates of each object to be cleaned in the internal space of the cleaning equipment. The size attributes are the length, width and height of each object to be cleaned. Based on the attribute information, the cleaning control strategy for each object to be cleaned is determined. The cleaning control strategy is the angle and intensity of the cleaning medium released by the cleaning equipment.

[0042] In an embodiment of the present application, after the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, and the moving component is pushed to move during the closing process. The shooting component is set on the moving component to follow the movement of the moving component to obtain a target image of each preset position, and a three-dimensional reconstructed image containing the internal structure of the cleaning device and a depth image carrying depth information are obtained based on the target image, thereby obtaining the attribute information of the object to be cleaned, and determining the cleaning control strategy based on the attribute information. The target image inside the cleaning device is obtained by the shooting component, and the depth image is obtained based on the target image. The shooting component is an ordinary camera, which replaces the depth camera, which greatly reduces the cost of use. The cleaning control strategy for the object to be cleaned is determined based on the attribute information, which ensures the pertinence of the cleaning device to each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect.

[0043] See also Figure 3 , Figure 3 Schematic diagram of a cleaning control method provided in an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps S201-S207.

[0044] S201, when the closing component pushes the moving component to move, so as to drive the shooting component to obtain a target image at each preset position;

[0045] Specifically, when the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, driving the moving component to move, and then driving the shooting component to move. At least two preset positions are pre-set on the moving component, so that each time the shooting component passes through a preset position, the shooting mode is turned on to obtain a target image at each preset position. Among them, the cleaning device can be a dishwasher, a disinfection cabinet, or other equipment with cleaning and disinfection functions. The cleaning device includes a closing component, a moving component, a shooting component, and a cleaning cavity. The closing component is a cabinet door, and the moving component is an object such as a sliding rod that can move with the closing of the cabinet door. The shooting component is an ordinary camera. When the closing component is closed, it forms a closed internal space with the cleaning cavity, and the closing component pushes the moving component to move during the closing process to drive the shooting component on the moving component to follow the movement.

[0046] S202, in response to the operation instruction for the cleaning device, extracting feature points in each target image respectively, and obtaining feature point pairs matching each target image based on the feature points;

[0047] Specifically, when the closing component of the cleaning device is completely closed in the cleaning cavity, in response to the operation instruction for the cleaning device, all target images captured by the shooting component are input into the image processing model, and the image processing model is used to extract features of each target image, and the feature point detection algorithm is used to extract the feature points in each target image, and the feature point matching algorithm is used to obtain the corresponding feature points in all target images, thereby obtaining feature point pairs. Among them, the image processing model is a model for processing images in the cleaning device, and the image processing model includes multiple sub-models. The sub-models can process the target image based on the feature point pair to obtain the corresponding processed image. The feature point is a point in the target image where the grayscale value changes dramatically or the intersection of two edges in the target image. The grayscale value is the degree of color in the target image. The feature point pair is the pixel point of the spatial point inside the cleaning device corresponding to the feature point in the target image at different angles. The feature extraction algorithm is an algorithm for characterizing the original image data, and the feature point detection algorithm is an algorithm for matching the corresponding feature points in the target images at different angles.

[0048] S203, obtaining a three-dimensional reconstructed image including the internal structure of the cleaning device based on the feature point pairs;

[0049] Specifically, all target images can be fused into one image based on the feature point pairs, and the fused image is input into the 3D reconstruction sub-model, and the 3D model of the internal structure of the cleaning equipment is reconstructed based on the 3D reconstruction sub-model, and then the 3D reconstruction image containing the internal structure of the cleaning equipment is output. The 3D reconstruction sub-model is an algorithm model for reconstructing a 3D model based on a 2D image of an object, and the 3D reconstruction image refers to an image obtained by restoring the 3D shape of an object based on multiple 2D images at different angles.

[0050] S204, acquiring a depth image carrying depth information based on the feature point pairs;

[0051] Specifically, all target images containing feature point pairs are input into the depth map generation sub-model, and all target images are pre-processed such as denoising. According to the distance between the preset positions corresponding to each target image and the shooting angle of the shooting component, the depth information of each pixel in the target image is obtained, and all target images are fused, and the depth information is added to the fused image to obtain a depth image. The depth information refers to the distance of each pixel on the target image relative to the shooting component. The fused image is a color image containing three color channels of R, G, and B. The depth image after adding the depth information is an RGBD image.

[0052] S205, extracting features from the depth image to obtain a feature map, and dividing the feature map into a plurality of candidate regions;

[0053] Specifically, the depth map is input into the target detection sub-model, and the convolution layer of the target detection sub-model is used to extract features of the depth image to obtain a feature map. Multiple candidate regions are generated for each grid of the feature map, and prediction is performed on each candidate region. The target detection sub-model is a neural network model based on deep convolution. The candidate region is the anchor box in the target detection sub-model. According to the target detection sub-model, the category attributes, material attributes and position of the object to be cleaned in the image can be obtained.

[0054] S206, selecting a target area from the multiple candidate areas, processing the target area, and obtaining attribute information of the object to be cleaned inside the cleaning device;

[0055] Specifically, a target area whose prediction score is greater than a preset score is screened out from multiple candidate areas, the target area is processed, and each target area corresponding to the target area in the feature map is converted into a feature vector, and each feature vector is input into the fully connected layer of the target detection sub-model, and the target area is classified, material recognized, and regressed to output the attribute information of the object to be cleaned in the target area.

[0056] S207: Determine a cleaning control strategy for the object to be cleaned based on the attribute information.

[0057] Specifically, based on the attribute information, the category attributes, material attributes, position coordinates and size attributes of the objects to be cleaned can be obtained. The category attributes are whether each object to be cleaned belongs to a category such as bowls, plates or cups. The material attributes are whether each object to be cleaned uses glass, plastic or ceramic and other materials. The position coordinates are the coordinates of each object to be cleaned in the internal space of the cleaning equipment. The position coordinates can specifically be the coordinates of the center position of each object to be cleaned, or the coordinates of each edge or vertex of the object to be cleaned. The size attributes are the length, width and height of each object to be cleaned. Based on the attribute information, a cleaning control strategy is determined for each object to be cleaned. The cleaning control strategy is the angle and intensity of the cleaning medium released by the cleaning equipment.

[0058] In an embodiment of the present application, after the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, and the moving component is pushed to move during the closing process. The shooting component is set on the moving component to follow the movement of the moving component to obtain the target image of each preset position, extract the feature points in each target image respectively, obtain the feature point pairs that match each target image based on the feature points, obtain the three-dimensional reconstructed image containing the internal structure of the cleaning device and the depth image carrying depth information based on the feature point pairs, extract features from the depth image to obtain a feature map, divide the feature map into multiple candidate areas, select the target area from the multiple candidate areas, process the target area, obtain the attribute information of the object to be cleaned inside the cleaning device, and determine the cleaning control strategy for the object to be cleaned based on the attribute information. The target image inside the cleaning device is obtained by the shooting component, and the depth image is obtained based on the target image. The shooting component is a common camera, which replaces the depth camera, which greatly reduces the use cost. The cleaning control strategy for the object to be cleaned is determined based on the attribute information, which ensures the pertinence of the cleaning device to each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect. The user can obtain the internal structure of the cleaning equipment through the 3D reconstruction sub-model and manually select the cleaning strategy for a certain object to be cleaned, thereby improving the user's interactive experience.

[0059] See also Figure 4 , Figure 4 Schematic diagram of a cleaning control method provided in an embodiment of the present application. Figure 4 As shown, the method of the embodiment of the present application may include the following steps S301-S311.

[0060] S301, when the closing component pushes the moving component to move, so as to drive the shooting component to obtain a target image at each preset position;

[0061] Specifically, when the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, driving the moving component to move, and then driving the shooting component to move. At least two preset positions are pre-set on the moving component, so that each time the shooting component passes through a preset position, the shooting mode is turned on to obtain a target image at each preset position. Among them, the cleaning device can be a dishwasher, a disinfection cabinet, or other equipment with cleaning and disinfection functions. The cleaning device includes a closing component, a moving component, a shooting component, and a cleaning cavity. The closing component is a cabinet door, and the moving component is an object such as a sliding rod that can move with the closing of the cabinet door. The shooting component is an ordinary camera. When the closing component is closed, it forms a closed internal space with the cleaning cavity, and the closing component pushes the moving component to move during the closing process to drive the shooting component on the moving component to follow the movement.

[0062] S302, in response to the operation instruction for the cleaning device, extracting feature points in each target image respectively, and obtaining feature point pairs matching each target image based on the feature points;

[0063] Specifically, when the closing component of the cleaning device is completely closed in the cleaning cavity, in response to the operation instruction for the cleaning device, all target images captured by the shooting component are input into the image processing model, and the image processing model is used to extract features of each target image, and the feature point detection algorithm is used to extract the feature points in each target image, and the feature point matching algorithm is used to obtain the corresponding feature points in all target images, thereby obtaining feature point pairs. Among them, the image processing model is a model for processing images in the cleaning device, and the image processing model includes multiple sub-models. The sub-models can process the target image based on the feature point pair to obtain the corresponding processed image. The feature point is a point in the target image where the grayscale value changes dramatically or the intersection of two edges in the target image. The grayscale value is the degree of color in the target image. The feature point pair is the pixel point of the spatial point inside the cleaning device corresponding to the feature point in the target image at different angles. The feature extraction algorithm is an algorithm for characterizing the original image data, and the feature point detection algorithm is an algorithm for matching the corresponding feature points in the target images at different angles.

[0064] S303, obtaining internal and external parameters of the photographed component, and calculating the position of each feature point pair in the three-dimensional space based on the feature point pairs and the internal and external parameters to generate a sparse point cloud;

[0065] Specifically, based on the feature point pairs, all target images can be fused into one image, and the fused image is input into the 3D reconstruction sub-model. The 3D reconstruction sub-model is an algorithm model for reconstructing a 3D model based on a 2D image of an object. The 3D reconstruction image refers to an image obtained by restoring the 3D shape of an object based on multiple 2D images at different angles. The 3D reconstruction sub-model can reconstruct the 3D scene inside the cleaning equipment through a variety of methods. The 3D reconstruction sub-model in the embodiment of the present application obtains the internal and external parameters of the shooting component through the Gaussian Splatting method, and calculates the position of each feature point pair in the 3D space according to the triangulation method based on the feature point pairs and the internal and external parameters to generate a sparse point cloud. Among them, the internal and external parameters are divided into the internal parameters and external parameters of the shooting component. The internal parameters are parameters related to the characteristics of the shooting component itself, such as the focal length and pixel size of the shooting component, and the external parameters are parameters that describe the rotation and translation transformation relationship of the shooting component relative to the world coordinate system.

[0066] S304, converting the sparse point cloud into a three-dimensional grid, mapping the color information in the target image into the three-dimensional grid, obtaining a three-dimensional model of the internal structure of the cleaning device, and outputting a three-dimensional reconstructed image including the three-dimensional model;

[0067] Specifically, the sparse point cloud is expanded using a dense reconstruction algorithm to obtain a dense point cloud, the dense point cloud is denoised, and the holes in the dense point cloud are filled, and the dense point cloud is converted into a three-dimensional mesh model using a surface reconstruction algorithm, and the color information in the target image is mapped to the three-dimensional mesh model to obtain a three-dimensional model of the internal structure of the cleaning equipment, and a three-dimensional reconstructed image containing the three-dimensional model is output. The dense reconstruction algorithm is an algorithm that converts discrete sparse point cloud data into a continuous three-dimensional scene model by extracting a large number of corresponding pixels from target images at different angles.

[0068] S305, constructing a geometric mapping according to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component to calculate the depth information of each feature point pair;

[0069] Specifically, all target images containing feature point pairs are input into the depth map generation sub-model, and all target images are preprocessed such as denoising. According to the distance between the preset positions corresponding to each target image and the shooting angle of the shooting component at each preset position, as well as the internal and external parameters of the shooting component, a geometric mapping is constructed to obtain the depth information of each pixel in the target image. The depth information refers to the distance of each pixel on the target image relative to the shooting component.

[0070] S306, fusing the target image through the feature point pairs, and outputting a depth image carrying depth information;

[0071] Specifically, all target images are fused through feature point pairs, and the acquired depth information is added to the fused image to obtain a depth image containing depth information, and the depth image is output. The fused image is a color image containing three color channels of R, G, and B, and the depth image after adding the depth information is an RGBD image.

[0072] S307, extracting features from the depth image to obtain a feature map, and dividing the feature map into multiple candidate regions;

[0073] Specifically, the depth map is input into the target detection sub-model, and features of the depth image are extracted based on the convolution layer of the target detection sub-model to obtain a feature map, multiple candidate regions are generated for each grid of the feature map, and prediction is performed on each candidate region. The target detection sub-model is a neural network model based on deep convolution. The target detection sub-model in the embodiment of the present application can be a single-stage or double-stage model architecture, or an anchor-free (Anchor-Based) or anchor-free (Anchor-Free) prediction architecture. The candidate region is the anchor box in the target detection sub-model. According to the target detection sub-model, the category attributes, material attributes and position of the object to be cleaned in the image can be obtained.

[0074] In some possible implementations, considering the superiority of the dynamic allocation strategy, a label matching algorithm (Task Aligned Assigner) can be used to train the target detection sub-model. The label matching algorithm selects positive samples based on the weighted scores of classification and regression, and uses positive samples to train the model. The specific training process is to collect internal pictures of the cleaning equipment, obtain a training set of multiple internal pictures containing different attribute information, and annotate the attribute information of each internal picture in the training set, input the training set into the target detection model, train the target detection model, and perform the loss function loss=c α ×m β ×u γ Calculate the matching degree between the predicted attribute information and the labeled attribute information predicted by the target detection model during the training process, select positive samples from the training set according to the matching degree, and use the positive samples to iteratively train the target detection model. Among them, c in the loss function is the prediction score corresponding to the category attribute, m is the prediction score corresponding to the material attribute, u is the intersection and union ratio of the predicted box and the true box, and α, β, and γ are weight hyperparameters.

[0075] S308, selecting a target area from the plurality of candidate areas, classifying the target area, and obtaining a category attribute of the object to be cleaned inside the cleaning device;

[0076] Specifically, target areas having a predicted score greater than a preset score are screened out from multiple candidate areas, the target areas are processed, and each target area corresponding to the target area in the feature map is converted into a feature vector. Each feature vector is input into the fully connected layer of the target detection sub-model, and the target areas are classified to obtain the category attributes of the object to be cleaned corresponding to each target area, that is, the category attributes of the object to be cleaned inside the cleaning equipment, and the category attributes are whether each object to be cleaned belongs to a category such as bowl, plate or cup.

[0077] S309, performing material recognition on the target area to obtain material properties of the object to be cleaned;

[0078] Specifically, the materials of the objects to be cleaned in the target area are identified to obtain the material attributes of the objects to be cleaned corresponding to each target area, that is, the material attributes of the objects to be cleaned inside the cleaning device. The material attributes are whether each object to be cleaned is made of glass, plastic, ceramic or other materials.

[0079] S310, performing regression processing on the target area to obtain the position coordinates and size attributes of the object to be cleaned;

[0080] Specifically, the target area is regressed so that the target area is close to the object to be cleaned in the cleaning device, so as to more accurately obtain the position coordinates and size attributes of the object to be cleaned, obtain the internal structure of the cleaning device through the above-obtained three-dimensional reconstructed image, build a three-dimensional coordinate system according to the internal structure of the cleaning device, and obtain the position coordinates of the center position of the target area or the border of the target area in the three-dimensional coordinate system according to the three-dimensional coordinate system, as well as the size attributes of the object to be cleaned corresponding to the target area. Among them, the position coordinates are the coordinates of each object to be cleaned in the internal space of the cleaning device, and the position coordinates can be the coordinates of the center position of each object to be cleaned, or the coordinates of each edge or vertex of the object to be cleaned, and the size attributes are the length, width, height and other dimensions of each object to be cleaned.

[0081] S311, determining a cleaning control strategy for the object to be cleaned based on the attribute information.

[0082] Specifically, based on the attribute information, the category attributes, material attributes, position coordinates and size attributes of the objects to be cleaned can be obtained. The category attributes are whether each object to be cleaned belongs to a category such as bowls, plates or cups. The material attributes are whether each object to be cleaned uses glass, plastic or ceramic and other materials. The position coordinates are the coordinates of each object to be cleaned in the internal space of the cleaning equipment. The position coordinates can specifically be the coordinates of the center position of each object to be cleaned, or the coordinates of each edge or vertex of the object to be cleaned. The size attributes are the length, width and height of each object to be cleaned. Based on the attribute information, a cleaning control strategy is determined for each object to be cleaned. The cleaning control strategy is the angle and intensity of the cleaning medium released by the cleaning equipment.

[0083] In an embodiment of the present application, after the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, and the moving component is pushed to move during the closing process. The shooting component is set on the moving component to follow the movement of the moving component to obtain the target image of each preset position, extract the feature points in each target image respectively, and obtain the feature point pairs that match each target image based on the feature points. The internal and external parameters of the shooting component are obtained, and the position of each feature point pair in three-dimensional space is calculated based on the feature point pairs and the internal and external parameters to generate a sparse point cloud, and the sparse point cloud is converted into a three-dimensional grid. The color information in the target image is mapped to the three-dimensional grid to obtain a three-dimensional model of the internal structure of the cleaning device, and a three-dimensional reconstructed image containing the three-dimensional model is output. According to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component, a geometric mapping is constructed to calculate the depth information of each feature point pair, and the target image is fused through the feature point pairs to output a depth image carrying depth information. Perform feature extraction on the depth image to obtain a feature map, divide the feature map into multiple candidate areas, screen out the target area from the multiple candidate areas, classify the target area, obtain the category attributes of the object to be cleaned inside the cleaning device, perform material recognition on the target area, obtain the material attributes of the object to be cleaned, perform regression processing on the target area, obtain the position coordinates and size attributes of the object to be cleaned, and determine the cleaning control strategy for the object to be cleaned based on the attribute information. The target image inside the cleaning device is obtained through the shooting component, and the depth image is obtained based on the target image. The shooting component is an ordinary camera, which replaces the depth camera, greatly reducing the cost of use. The cleaning control strategy for the object to be cleaned is determined based on the attribute information, ensuring the cleaning equipment's targeting of each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect. The user can obtain the internal structure of the cleaning device through the three-dimensional reconstruction sub-model, and manually select the cleaning strategy for a certain object to be cleaned, which improves the user's interactive experience.

[0084] based on Figure 1 The following is a schematic diagram of the scene. Figure 5 , the cleaning control device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 5 The cleaning control device used to implement this application Figure 2-Figure 4 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2-Figure 4 The embodiment shown.

[0085] See also Figure 5 , Figure 5 Schematic diagram of a cleaning control device provided in an embodiment of the present application. Figure 5As shown, the cleaning control device 1 of the embodiment of the present application may include: a first acquisition unit 11 , a second acquisition unit 12 , an information acquisition unit 13 and a strategy determination unit 14 .

[0086] The first acquisition unit 11 is used to drive the shooting component to acquire a target image at each preset position when the closing component pushes the moving component to move;

[0087] A second acquisition unit 12 is used to respond to the operation instruction for the cleaning device and acquire a three-dimensional reconstructed image containing the internal structure of the cleaning device and a depth image carrying depth information based on the target image;

[0088] An information acquisition unit 13, used to acquire attribute information of the object to be cleaned inside the cleaning device based on the depth image;

[0089] The strategy determination unit 14 is used to determine a cleaning control strategy for the object to be cleaned based on the attribute information.

[0090] Optionally, the second acquisition unit 12 is specifically configured to extract feature points in each target image respectively in response to an operation instruction for the cleaning device, and acquire feature point pairs matching each target image based on the feature points;

[0091] Acquire a three-dimensional reconstructed image including the internal structure of the cleaning device based on the feature point pairs;

[0092] Obtain a depth image carrying depth information based on feature point pairs.

[0093] Optionally, the second acquisition unit 12 is specifically used to acquire internal and external parameters of the photographed component, and calculate the position of each feature point pair in the three-dimensional space based on the feature point pairs and the internal and external parameters to generate a sparse point cloud;

[0094] Convert the sparse point cloud into a three-dimensional grid, map the color information in the target image to the three-dimensional grid, and obtain a three-dimensional model of the internal structure of the cleaning equipment;

[0095] The output contains a 3D reconstruction image of the 3D model.

[0096] Optionally, the second acquisition unit 12 is specifically used to construct a geometric mapping according to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component to calculate the depth information of each feature point pair;

[0097] The target image is fused through feature point pairs to output a depth image with depth information.

[0098] Optionally, the information acquisition unit 13 is specifically used to extract features from the depth image to obtain a feature map, and divide the feature map into multiple candidate regions;

[0099] A target area is screened out from multiple candidate areas, and the target area is processed to obtain attribute information of the object to be cleaned inside the cleaning device.

[0100] Optionally, the information acquisition unit 13 is specifically used to screen out a target area from multiple candidate areas, classify the target area, and obtain the category attribute of the object to be cleaned inside the cleaning device;

[0101] Perform material recognition on the target area to obtain the material properties of the object to be cleaned;

[0102] The target area is regressed to obtain the position coordinates and size attributes of the object to be cleaned.

[0103] Optionally, the information acquisition unit 13 is specifically used to perform regression processing on the target area so that the target area is close to the object to be cleaned;

[0104] Obtain the internal structure of the cleaning equipment through 3D reconstruction images;

[0105] A three-dimensional coordinate system is constructed according to the internal structure of the cleaning device, and the center position of the target area or the position coordinates of the frame of the target area in the three-dimensional coordinate system and the size attributes of the object to be cleaned corresponding to the target area are obtained according to the three-dimensional coordinate system.

[0106] In an embodiment of the present application, after the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, and the moving component is pushed to move during the closing process. The shooting component is set on the moving component to follow the movement of the moving component to obtain the target image of each preset position, extract the feature points in each target image respectively, and obtain the feature point pairs that match each target image based on the feature points. The internal and external parameters of the shooting component are obtained, and the position of each feature point pair in three-dimensional space is calculated based on the feature point pairs and the internal and external parameters to generate a sparse point cloud, and the sparse point cloud is converted into a three-dimensional grid. The color information in the target image is mapped to the three-dimensional grid to obtain a three-dimensional model of the internal structure of the cleaning device, and a three-dimensional reconstructed image containing the three-dimensional model is output. According to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component, a geometric mapping is constructed to calculate the depth information of each feature point pair, and the target image is fused through the feature point pairs to output a depth image carrying depth information. Perform feature extraction on the depth image to obtain a feature map, divide the feature map into multiple candidate areas, screen out the target area from the multiple candidate areas, classify the target area, obtain the category attributes of the object to be cleaned inside the cleaning device, perform material recognition on the target area, obtain the material attributes of the object to be cleaned, perform regression processing on the target area, obtain the position coordinates and size attributes of the object to be cleaned, and determine the cleaning control strategy for the object to be cleaned based on the attribute information. The target image inside the cleaning device is obtained through the shooting component, and the depth image is obtained based on the target image. The shooting component is an ordinary camera, which replaces the depth camera, greatly reducing the cost of use. The cleaning control strategy for the object to be cleaned is determined based on the attribute information, ensuring the cleaning equipment's targeting of each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect. The user can obtain the internal structure of the cleaning device through the three-dimensional reconstruction sub-model, and manually select the cleaning strategy for a certain object to be cleaned, which improves the user's interactive experience.

[0107] See also Figure 6 , Figure 6 It is a structural schematic diagram of a cleaning device provided in an embodiment of the present application.

[0108] For example, Figure 6 As shown, the cleaning device 600 includes: a processor 601 and a memory 602, wherein the processor 601 is electrically connected to the memory 602.

[0109] Processor 601 is the control center of cleaning equipment 600, and may include one or more processing cores. Processor 601 uses various interfaces and lines to connect various parts of the entire cleaning equipment, and executes various functions and processing data of the cleaning equipment by running or calling the computer program stored in memory 602, and calling the data stored in memory 602, so as to control the cleaning equipment 600 as a whole. Optionally, processor 601 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). Processor 601 can integrate one or more combinations of CPU, image processor (GPU) and modem, etc. Among them, CPU mainly processes operating system, user page and application program, etc.; GPU is responsible for rendering and drawing of display content; modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into processor 601, and is implemented by a communication chip alone.

[0110] The memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by running the computer programs and modules stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, a computer program required for at least one function, etc.; the data storage area can store data created according to the use of the cleaning device 600, etc.

[0111] In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0112] In this embodiment, the processor 601 in the cleaning device 600 loads instructions corresponding to the processes of one or more computer programs into the memory 602 according to the following steps, and the processor 601 runs the computer program stored in the memory 602 to implement various functions, as follows:

[0113] When the closing component pushes the moving component to move, the shooting component is driven to obtain a target image at each preset position;

[0114] In response to an operation instruction for the cleaning device, acquiring a three-dimensional reconstructed image including an internal structure of the cleaning device and a depth image carrying depth information based on the target image;

[0115] Acquire attribute information of the object to be cleaned inside the cleaning device based on the depth image;

[0116] A cleaning control strategy for the object to be cleaned is determined based on the attribute information.

[0117] Optionally, when the processor 601 executes the operation instruction for the cleaning device and obtains the three-dimensional reconstructed image containing the internal structure of the cleaning device and the depth image carrying the depth information based on the target image, the processor 601 specifically executes:

[0118] In response to the operation instruction for the cleaning device, feature points in each target image are extracted respectively, and feature point pairs matching each target image are obtained based on the feature points;

[0119] Acquire a three-dimensional reconstructed image including the internal structure of the cleaning device based on the feature point pairs;

[0120] Obtain a depth image carrying depth information based on feature point pairs.

[0121] Optionally, when the processor 601 acquires a three-dimensional reconstructed image containing the internal structure of the cleaning device based on the feature point pairs, the processor 601 specifically performs:

[0122] Obtaining the internal and external parameters of the photographed component, and calculating the position of each feature point pair in three-dimensional space based on the feature point pairs and the internal and external parameters to generate a sparse point cloud;

[0123] Convert the sparse point cloud into a three-dimensional grid, map the color information in the target image to the three-dimensional grid, and obtain a three-dimensional model of the internal structure of the cleaning equipment;

[0124] The output contains a 3D reconstruction image of the 3D model.

[0125] Optionally, when the processor 601 acquires a depth picture carrying depth information based on a feature point pair, the processor 601 specifically performs:

[0126] According to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component, a geometric mapping is constructed to calculate the depth information of each feature point pair;

[0127] The target image is fused through feature point pairs to output a depth image with depth information.

[0128] Optionally, when the processor 601 acquires the property information of the object to be cleaned inside the cleaning device based on the depth image, it specifically executes:

[0129] Extract features from the depth image to obtain a feature map, and divide the feature map into multiple candidate regions;

[0130] A target area is screened out from multiple candidate areas, and the target area is processed to obtain attribute information of the object to be cleaned inside the cleaning device.

[0131] Optionally, when the processor 601 selects a target area from multiple candidate areas, processes the target area, and obtains the property information of the object to be cleaned inside the cleaning device, the processor 601 specifically performs:

[0132] Selecting a target area from multiple candidate areas, classifying the target area, and obtaining the category attributes of the object to be cleaned inside the cleaning device;

[0133] Perform material recognition on the target area to obtain the material properties of the object to be cleaned;

[0134] The target area is regressed to obtain the position coordinates and size attributes of the object to be cleaned.

[0135] Optionally, when the processor 601 performs regression processing on the target area to obtain the position coordinates and size attributes of the object to be cleaned, the processor 601 specifically performs:

[0136] Perform regression processing on the target area so that the target area is close to the object to be cleaned;

[0137] Obtain the internal structure of the cleaning equipment through 3D reconstruction images;

[0138] A three-dimensional coordinate system is constructed according to the internal structure of the cleaning device, and the center position of the target area or the position coordinates of the frame of the target area in the three-dimensional coordinate system and the size attributes of the object to be cleaned corresponding to the target area are obtained according to the three-dimensional coordinate system.

[0139] In an embodiment of the present application, after the object to be cleaned is placed in the cleaning device, the closing component of the cleaning device is closed, and the moving component is pushed to move during the closing process. The shooting component is set on the moving component to follow the movement of the moving component to obtain the target image of each preset position, extract the feature points in each target image respectively, and obtain the feature point pairs that match each target image based on the feature points. The internal and external parameters of the shooting component are obtained, and the position of each feature point pair in three-dimensional space is calculated based on the feature point pairs and the internal and external parameters to generate a sparse point cloud, and the sparse point cloud is converted into a three-dimensional grid. The color information in the target image is mapped to the three-dimensional grid to obtain a three-dimensional model of the internal structure of the cleaning device, and a three-dimensional reconstructed image containing the three-dimensional model is output. According to the shooting angle of the shooting component at each preset position, the distance between the preset positions corresponding to each target image, and the internal and external parameters of the shooting component, a geometric mapping is constructed to calculate the depth information of each feature point pair, and the target image is fused through the feature point pairs to output a depth image carrying depth information. Perform feature extraction on the depth image to obtain a feature map, divide the feature map into multiple candidate areas, screen out the target area from the multiple candidate areas, classify the target area, obtain the category attributes of the object to be cleaned inside the cleaning device, perform material recognition on the target area, obtain the material attributes of the object to be cleaned, perform regression processing on the target area, obtain the position coordinates and size attributes of the object to be cleaned, and determine the cleaning control strategy for the object to be cleaned based on the attribute information. The target image inside the cleaning device is obtained through the shooting component, and the depth image is obtained based on the target image. The shooting component is an ordinary camera, which replaces the depth camera, greatly reducing the cost of use. The cleaning control strategy for the object to be cleaned is determined based on the attribute information, ensuring the cleaning equipment's targeting of each object to be cleaned, thereby saving water resources and the amount of detergent used, and improving the cleaning effect. The user can obtain the internal structure of the cleaning device through the three-dimensional reconstruction sub-model, and manually select the cleaning strategy for a certain object to be cleaned, which improves the user's interactive experience.

[0140] See also Figure 7 , which is a schematic diagram of the structure of a cleaning device provided in an embodiment of the present application. Figure 7 As shown, the cleaning device 600 includes: a processor 601, a memory 602, a display screen 603, an audio circuit 604, a sensor 605 and a power supply 606. The processor 601 is electrically connected to the display screen 603, the audio circuit 604, the sensor 605 and the power supply 606 respectively.

[0141] The display screen 603 may be used to display information input by a user or information provided to a user and various graphical user interfaces of the cleaning device 600 . These graphical user interfaces may be composed of images, texts, icons, videos, and any combination thereof.

[0142] The audio circuit 604 may be used to provide an audio interface between the user and the cleaning device 600 via a speaker or a microphone.

[0143] The sensor 605 is used to collect information of the cleaning device 600 itself or external environment information. For example, the sensor 606 may include a temperature sensor and an angle sensor.

[0144] The power supply 606 is used to supply power to various components of the cleaning device 600. In some embodiments, the power supply 606 can be logically connected to the processor 601 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0145] It should be understood that the device provided in the embodiment of the present application is used to execute the above-mentioned cleaning control method, and thus can achieve the same effect as the above-mentioned implementation method.

[0146] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a cleaning device, the processing module may be used to control and manage the actions of the cleaning device. The storage module may be used to support the cleaning device to execute related program codes, etc.

[0147] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0148] In addition, the device provided in the embodiment of the present application can specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a cleaning control method provided in the above embodiment.

[0149] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a cleaning control method provided in the above-mentioned embodiment.

[0150] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a cleaning control method provided in the above embodiment.

[0151] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0152] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0153] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0154] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A cleaning control method, characterized in that: Applied to a cleaning device, the cleaning device comprises a closing component, a moving component, a shooting component and a cleaning cavity, the closing component forms a closed internal space with the cleaning cavity when closed, and the closing component pushes the moving component to move during the closing process, the shooting component is arranged on the moving component to follow the movement of the moving component, and the method comprises: When the closing component pushes the moving component to move, the shooting component is driven to obtain a target image at each preset position; In response to an operation instruction for the cleaning device, acquiring a three-dimensional reconstructed image including an internal structure of the cleaning device and a depth image carrying depth information based on the target image; Acquiring attribute information of the object to be cleaned inside the cleaning device based on the depth image; A cleaning control strategy for the object to be cleaned is determined based on the attribute information.

2. The method according to claim 1, characterized in that The step of obtaining, in response to the operation instruction for the cleaning device, a three-dimensional reconstructed image including the internal structure of the cleaning device and a depth image carrying depth information based on the target image comprises: In response to an operation instruction for the cleaning device, feature points in each of the target images are extracted respectively, and feature point pairs matching each other between each of the target images are obtained based on the feature points; Acquire a three-dimensional reconstructed image including the internal structure of the cleaning device based on the feature point pairs; A depth picture carrying depth information is obtained based on the feature point pairs.

3. The method according to claim 2, characterized in that The step of obtaining a three-dimensional reconstructed image containing the internal structure of the cleaning device based on the feature point pair includes: Acquire the internal and external parameters of the photographing component, and calculate the position of each of the feature point pairs in three-dimensional space based on the feature point pairs and the internal and external parameters to generate a sparse point cloud; Converting the sparse point cloud into a three-dimensional grid, mapping the color information in the target image to the three-dimensional grid, and obtaining a three-dimensional model of the internal structure of the cleaning device; The output includes a 3D reconstructed image of the 3D model.

4. The method according to claim 2, characterized in that: The acquiring a depth picture carrying depth information based on the feature point pair includes: Constructing a geometric mapping according to the shooting angle of the shooting component at each of the preset positions, the distance between the preset positions corresponding to each of the target images, and the internal and external parameters of the shooting component to calculate the depth information of each of the feature point pairs; The target image is fused with the feature point pairs to output a depth image carrying the depth information.

5. The method according to claim 2, characterized in that: The acquiring the attribute information of the object to be cleaned inside the cleaning device based on the depth image includes: Extracting features from the depth image to obtain a feature map, and dividing the feature map into a plurality of candidate regions; A target area is screened out from the plurality of candidate areas, and the target area is processed to obtain attribute information of the object to be cleaned inside the cleaning device.

6. The method according to claim 5, characterized in that The step of selecting a target area from the plurality of candidate areas and processing the target area to obtain attribute information of the object to be cleaned inside the cleaning device includes: Screening out a target area from the plurality of candidate areas, classifying the target area, and obtaining a category attribute of the object to be cleaned inside the cleaning device; Performing material identification on the target area to obtain material properties of the object to be cleaned; The target area is subjected to regression processing to obtain the position coordinates and size attributes of the object to be cleaned.

7. The method according to claim 6, characterized in that The step of performing regression processing on the target area to obtain the position coordinates and size attributes of the object to be cleaned includes: Performing regression processing on the target area so that the target area is close to the object to be cleaned; Acquire the internal structure of the cleaning device through the three-dimensional reconstructed image; A three-dimensional coordinate system is constructed according to the internal structure of the cleaning device, and the position coordinates of the center position of the target area or the frame of the target area in the three-dimensional coordinate system and the size attributes of the object to be cleaned corresponding to the target area are obtained according to the three-dimensional coordinate system.

8. A cleaning control device, characterized in that: The device comprises: A first acquisition unit, configured to drive the photographing component to acquire a target image at each preset position when the closing component pushes the moving component to move; A second acquisition unit, configured to acquire, in response to an operation instruction for the cleaning device, a three-dimensional reconstructed image containing an internal structure of the cleaning device and a depth image carrying depth information based on the target image; An information acquisition unit, configured to acquire attribute information of the object to be cleaned inside the cleaning device based on the depth image; A strategy determination unit is used to determine a cleaning control strategy for the object to be cleaned based on the attribute information.

9. A cleaning device, characterized in that: The cleaning equipment comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory, so that the cleaning device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 7 is implemented.