Washing machine control method and washing machine

By using an image acquisition device to identify the type and number of clothes in the washing machine and automatically selecting the appropriate sterilization mode, the problem that existing washing machines cannot adapt to different situations of clothing is solved, and efficient and safe sterilization treatment is achieved.

CN119913700AActive Publication Date: 2025-05-02HISENSE(SHANDONG)REFRIGERATOR CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311432794.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02
Estimated Expiration
2043-10-31

AI Technical Summary

Technical Problem

When existing washing machines sterilize clothes, they cannot automatically adapt to different sterilization modes according to the type and quantity of clothes, resulting in some clothes being over-treated or sterilized.

Method used

By setting up an image acquisition device in the washing machine, taking and analyzing the clothes images, identifying the types and quantities of clothes, and then selecting a suitable sterilization mode for processing.

Benefits of technology

It realizes automatic selection of sterilization mode according to the specific conditions of the clothes to ensure that the sterilization effect is good without damaging the clothes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119913700A_ABST
    Figure CN119913700A_ABST
Patent Text Reader

Abstract

The invention provides a washing machine control method and a washing machine, and the washing machine comprises a roller which provides a processing space for to-be-processed clothes; the box body is used for constructing a shell for the washing machine and providing a mounting space for the roller, an opening is formed in one side of the box body, and the door body cover is arranged at the opening of the box body and is rotatably connected with the box body; the image acquisition device is used for shooting pictures of the clothes fed into the roller; the control method of the washing machine comprises the steps of controlling an image acquisition device to shoot clothes fed into a roller to obtain a shot image; performing graying processing on the shot image to obtain a clothes image; identifying the clothes image, and determining the type and the number of clothes; and selecting a corresponding sterilization mode to treat the clothes according to the types and the number of the clothes. Therefore, the washing machine can automatically adapt to different sterilization modes according to the to-be-treated clothes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of washing machines, and in particular to a control method for a washing machine and a washing machine. Background Art

[0002] In order to better meet the clothing treatment needs of users, the current method of sterilizing clothing in washing machines has become more and more common. For example, the clothing to be treated is treated by high-temperature water, steam, sampling, ultraviolet rays, etc. However, when these washing machines treat the clothes, no matter how many clothes there are or what kind of clothes they are, they all use the same sterilization method and sterilization intensity. This causes some clothes to be over-treated, resulting in damage to the clothes, and some clothes to be sterilized insufficiently, resulting in poor sterilization effect.

[0003] Therefore, how to enable the washing machine to automatically adapt to different sterilization modes according to the clothes to be processed is a problem that urgently needs to be solved. Summary of the invention

[0004] The present application aims to solve the technical problem of how to make a steam generator used in a washing machine spray only steam during operation.

[0005] In a first aspect, the present application provides a control method for a washing machine, the washing machine comprising: a drum, providing a processing space for clothes to be processed; a box, forming an outer shell of the washing machine and providing an installation space for the drum, wherein one side of the box has an opening, a door cover is arranged at the opening of the box, and is rotatably connected to the box; an image acquisition device, used to capture images of clothes fed into the drum;

[0006] The control method of the washing machine includes: controlling the image acquisition device to capture the clothes fed into the drum to obtain a captured image; gray-scaling the captured image to obtain a clothes image; identifying the clothes image to determine the type and quantity of the clothes; and selecting a corresponding sterilization mode to process the clothes according to the type and quantity of the clothes.

[0007] In an embodiment of the present application, since the current washing machine cannot adapt to the clothes to be processed, a sterilization mode is automatically selected. The clothes to be processed are photographed through an image acquisition device to obtain a photographed image, and the photographed image is grayed to obtain a clothing image. The type and quantity of the clothes to be processed are determined according to the clothing image, and finally the most appropriate sterilization mode is determined according to the quantity and type of clothes. The clothes are sterilized while ensuring the sterilization effect and without damaging the clothes.

[0008] In one embodiment of the present application, the image acquisition device is controlled to photograph the clothes fed into the drum to obtain a captured image, including: when it is sensed that the door is opened, the image acquisition device is controlled to take pictures at a first frequency to obtain a drum image; if two adjacent drum images are inconsistent, the image acquisition device is controlled to take pictures at a second frequency greater than the first frequency to obtain a captured image.

[0009] In this embodiment, after the washing machine door is opened, the image acquisition device is controlled to take pictures at a slower frequency when the door is opened to clarify when the user starts to put clothes in. When the clothes are placed, the clothes are photographed at a faster frequency to obtain more clothes images, which is convenient for analysis to obtain the type and quantity of clothes. Therefore, the present application takes pictures at a slower first frequency when the washing machine door is opened, and takes pictures at a second frequency when the user puts clothes in, saving the camera resources and storage space of the washing machine.

[0010] In one embodiment of the present application, the grayscale processing of the captured image to obtain the clothing image includes: obtaining the grayscale value corresponding to each pixel point according to the pixel value of each pixel point in the captured image; and reconstructing the captured image according to the grayscale value corresponding to each pixel point in the captured image to obtain the clothing image.

[0011] In this embodiment, the grayscale value corresponding to each pixel pair is obtained according to the pixel value of each pixel in the captured image, and then the captured image is grayed to obtain the clothing image. The captured image is processed into a grayscale image, so that when the washing machine recognizes the clothing image, it only needs to obtain the grayscale value of each pixel in the clothing image, and no analysis is required based on the pixel value of the pixel, which makes the processing of the clothing image more convenient and simple, saving the computing resources of the washing machine.

[0012] In one embodiment of the present application, the identifying the clothing image and determining the number of clothes includes: judging whether the current clothing image is a blurred clothing image or a clear clothing image according to the distribution of the grayscale value of each pixel in the clothing image in each numerical interval; forming a clothing placement cycle with the appearance of a blurred clothing image as the starting point and the appearance of the next blurred clothing image as the end point, and counting the number of clothing placement cycles as the number of clothes.

[0013] In this embodiment, based on the principle that when clothes are placed, blur and afterimage will appear in the photo, while clothes are clear when they are stationary, the appearance of a blurred clothing image is taken as the starting point, and the appearance of the next blurred clothing image is taken as the end point, which is regarded as a cycle, that is, the process of placing a piece of clothing. When several cycles occur during the placement of clothing, it is possible to know how many pieces of clothing are placed. In this way, the number of clothes can be known. On the one hand, the user does not need to input the number of clothes, which improves the user experience. On the other hand, based on the characteristics of the image acquisition device itself, the clothing data is acquired without adding an additional clothing number acquisition device, which saves the hardware resources of the washing machine.

[0014] In one embodiment of the present application, the identifying the clothing image and determining the type of clothing includes: obtaining clear clothing images during the clothing placement period; obtaining clothing contour lines in each of the clear clothing images in turn according to a trend of grayscale value changes between pixels in the clear clothing images; determining the type of clothing contained in each of the clear clothing images in turn according to the clothing contour lines, and using them as candidate clothing types; and using the candidate clothing type that appears the most times as the type of clothing placed during the clothing placement period.

[0015] In this embodiment, based on the principle that the grayscale value difference between the edge of clothing and the surrounding environment in the clothing image is large, for all clear clothing images in this placement cycle, the clothing contour curve in the clothing image is determined according to the change trend of the grayscale value of the pixel point, and then the type of clothing contained in the clear clothing image is determined according to the clothing contour curve as the candidate clothing type, and finally the candidate clothing type with the most appearances is used as the type of clothing placed in this clothing placement cycle. On the one hand, the present application determines the clothing contour curve only by the change trend of the grayscale value between each pixel point in the clothing image, and recognizes the clothing image in a convenient recognition method, thereby improving the efficiency of the washing machine in recognizing the clothing image. On the other hand, the present application recognizes multiple clear clothing images and performs statistical aggregation to determine the type of clothing placed in this clothing placement cycle, thereby ensuring the accuracy of obtaining the type of clothing based on the clothing image.

[0016] In an embodiment of the present application, determining the type of clothing included in each of the clear clothing images in sequence according to the clothing contour lines includes: determining the type of clothing included in the clear clothing image according to the size of a pattern formed by the clothing contour lines in the clear clothing.

[0017] In this embodiment, based on the principle that different types of clothes have different sizes, the type of clothes contained in a clear clothing image is determined according to the size of the pattern formed by the outline of the clothes, and the type of clothes is obtained without going through a series of complex algorithms. This greatly saves the computer resources of the washing machine and improves the efficiency of determining the type of clothes.

[0018] In one embodiment of the present application, before determining the type of clothing included in each of the clear clothing images in sequence based on the clothing contour lines, the method further includes: deleting or ignoring clothing contour lines that appeared before the clothing placement cycle among the clothing contour lines obtained during the clothing placement cycle.

[0019] In this embodiment, in the clothing contours obtained in the current clothing placement cycle, the clothing contours that appeared before the current clothing placement cycle are deleted or ignored. This reduces the influence of the clothing placed before the current clothing placement cycle on the clothing contours extracted in the current clothing placement cycle, and increases the accuracy of the clothing types determined based on the clothing contours.

[0020] In one embodiment of the present application, the door body includes a door frame arranged at the edge of the box opening, and the image acquisition device is arranged on the door frame.

[0021] In this embodiment, the image acquisition device is arranged above the door frame of the washing machine, so that it can be taken at a fixed position, images can be taken in a larger area, and it is convenient to arrange the wires of the image acquisition device. On the other hand, when the door of the washing machine is closed, the image acquisition device will be sealed in the door seal, solving the problem of the image acquisition device being exposed to water.

[0022] In the second aspect, an embodiment of the present application provides a washing machine, comprising: a drum, which provides a processing space for clothes to be processed; a box, which constructs an outer shell for the washing machine and provides an installation space for the drum, wherein there is an opening on one side of the box, and a door cover is arranged at the opening of the box and is rotatably connected to the box; an image acquisition device, which is used to capture the picture of clothes fed into the drum; a controller, wherein the controller is configured as: a shooting unit, which is used to control the image acquisition device to capture the clothes fed into the drum to obtain a captured image; a processing unit, which is used to grayscale the captured image to obtain a clothes image; a recognition unit, which is used to recognize the clothes image and determine the type and quantity of the clothes; a matching unit, which is used to select a corresponding sterilization mode to process the clothes according to the type and quantity of the clothes.

[0023] In an embodiment of the present application, in view of the fact that current washing machines are unable to clearly know the clothes to be processed, an image acquisition device is used to take a photo of the clothes to be processed to obtain a photographed image, and the photographed image is gray-scaled to obtain a clothing image. The type and quantity of the clothes to be processed are determined based on the clothing image, and finally the most appropriate sterilization mode is determined based on the quantity and type of the clothes. The clothes are sterilized while ensuring the sterilization effect and without damaging the clothes.

[0024] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0025] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.

[0027] Figure 1 A structural schematic diagram of a washing machine according to an embodiment of the present application is shown.

[0028] Figure 2 A flow chart of a method for controlling a washing machine according to an embodiment of the present application is shown.

[0029] Figure 3 A flow chart of controlling an image acquisition device to photograph clothes fed into a drum and obtaining photographed images according to an embodiment of the present application is shown.

[0030] Figure 4 A flow chart of gray-scaling a captured image to obtain a clothing image according to an embodiment of the present application is shown.

[0031] Figure 5 A flow chart of identifying clothing images and determining the number of clothing according to an embodiment of the present application is shown.

[0032] Figure 6 A flow chart of identifying clothing images and determining the types of clothing according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present application will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0034] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solution of the present application may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the present application and making the various aspects of the present application obscure.

[0035] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0036] The present application provides a washing machine, including a housing, an outer drum, a drum, and an image acquisition device. Figure 1 , Figure 1 A structural schematic diagram of a washing machine according to an embodiment of the present application is shown.

[0037] The box body usually adopts a rectangular hollow structure, and the box body is constructed as the outer shell of the washing machine. The appearance of the box body can also adopt other shapes and can be designed according to needs, which is not limited here. The internal space of the box body provides installation space for components such as the outer drum and the drum, wherein one side of the box body has an opening, and the door cover is arranged at the box body opening and is rotatably connected to the box body.

[0038] The outer cylinder is arranged in the installation space in the box body, and the outer cylinder is relatively fixed inside the box body.

[0039] The drum is rotatably arranged in the accommodating space of the outer drum.

[0040] The image acquisition device is arranged in the washing machine and is used for photographing the clothes fed into the drum.

[0041] See also Figure 2 , Figure 2A flow chart of a method for controlling a washing machine according to an embodiment of the present application is shown. The present application provides a method for controlling a washing machine, including:

[0042] Step S210, controlling the image acquisition device to photograph the clothes fed into the drum to obtain a photographed image;

[0043] Step S220, grayscale processing is performed on the captured image to obtain a clothing image;

[0044] Step S230, identifying the clothing image to determine the type and quantity of clothing;

[0045] Step S240, selecting a corresponding sterilization mode to treat the clothes according to the type and quantity of the clothes.

[0046] The above three steps are described in detail below.

[0047] In step S210, the image acquisition device is controlled to capture the clothes fed into the drum to obtain a captured image. It should be noted that the clothes captured by the image acquisition device may be the clothes in the drum, or the clothes may be captured during the process of being placed to obtain the captured image.

[0048] For example, see Figure 3 , Figure 3 The present application provides a flow chart of controlling an image acquisition device to capture clothes fed into a drum and obtaining a captured image according to an embodiment of the present application. The present application provides a step S210 of controlling an image acquisition device to capture clothes fed into a drum and obtaining a captured image, including:

[0049] Step S211, when it is sensed that the door is opened, the image acquisition device is controlled to take pictures at a first frequency to obtain the drum image;

[0050] Step S212: If two adjacent drum images are inconsistent, the image acquisition device is controlled to shoot at a second frequency greater than the first frequency to obtain the shot image.

[0051] The above two steps are described in detail below.

[0052] In step S211, after the door of the washing machine is opened, the image acquisition device is controlled to capture the inside of the drum at a slower frequency, that is, a first frequency, when the door is opened to obtain an image of the drum.

[0053] In step S212, the adjacent drum images are compared to clarify when the user starts to put clothes in. At the beginning of shooting, there is no clothes in the drum image captured by the image acquisition device. If the user puts clothes in the drum, the image obtained by taking pictures again at this time will have clothes, which is completely different from the previous drum image without clothes, which means that the user has started to put clothes in.

[0054] After determining that the user starts to place clothes, the shooting frequency of the image acquisition device is adjusted so that the image acquisition device takes pictures at a second frequency greater than the first frequency to obtain more clothing images. By analyzing more clothing images, the accuracy of clothing types and clothing quantities can be improved.

[0055] The embodiment of the present application takes photos at a slower first frequency when determining whether the user starts to place clothes, and takes photos at a faster second frequency when the user puts clothes in, thereby saving the camera resources and storage space of the washing machine.

[0056] In step S220, the captured image is grayed out. Graying out is to convert pixels of various colors in a color image into gray pixels to obtain a clothing image.

[0057] The captured image is processed into a grayscale image, so that when the washing machine recognizes the clothing image, it only needs to obtain the grayscale value of each pixel point of the clothing image, and there is no need to analyze the captured image according to the pixel value of the pixel point, making the processing of the clothing image more convenient and simple, saving the computing resources of the washing machine.

[0058] For details, please refer to Figure 4 , Figure 4 The flowchart of graying a captured image to obtain a clothing image according to an embodiment of the present application is shown. The present application embodiment provides a step S220 of graying a captured image to obtain a clothing image, including:

[0059] Step S221, obtaining the grayscale value corresponding to each pixel point according to the pixel value of each pixel point in the captured image;

[0060] Step S222: reconstruct the captured image according to the grayscale value corresponding to each pixel in the captured image to obtain the clothing image.

[0061] The above two steps are described in detail below.

[0062] The captured image is composed of pixels, and the number of bits occupied by each pixel represents the size of a single pixel value. A pixel is represented by 8 binary bits, so the pixel it represents can range from 0 to 255. For example, the width of a captured image is 500 pixels long, and the height is 338 pixels long, with a total of 500*338=149,000 pixels.

[0063] Because the color of a pixel is represented by three values: R, G, and B, R (red), G (green), and B (blue). Therefore, a pixel can be represented by three values, such as (240, 223, 204).

[0064] In step S221, the grayscale value corresponding to each pixel point is determined according to the pixel value of each pixel point in the captured image. Grayscale is a value indicating the brightness of an image, that is, the color depth of a point in a black and white image. The range is generally from 0 to 255, with white being 255 and black being 0, so a black and white image is also called a grayscale image. The grayscale value refers to the brightness of a single pixel point. The larger the grayscale value, the brighter it is.

[0065] For obtaining the grayscale value corresponding to the pixel point, the average value of the above three values ​​(R, G, B) can be taken as the grayscale value corresponding to the pixel point.

[0066] In step S222, the image is reconstructed according to the grayscale value corresponding to each pixel in the captured image, or the pixel value of each pixel in the captured image is converted into the corresponding grayscale value to obtain a grayscale image of the captured image, that is, a clothing image.

[0067] In step S230, after the clothing image is acquired, the pixel points representing the clothing in the clothing image are obtained according to the grayscale value of each pixel point in the clothing image, and the type of clothing in the clothing image is determined according to the pixel points representing the clothing.

[0068] The number of clothes placed in the washing machine is determined based on changes in the proportion of the clothing part in the clothing image. For example, the proportion of the clothing part in the entire clothing image is calculated and recorded. If the proportion of the clothing part in several clothing images fluctuates within a set range, it means that these clothing images correspond to the same clothing.

[0069] According to the order in which the clothing images are generated, it can be learned that the proportion of the clothing part in the clothing image has changed several times, and the number of changes means the number of pieces of clothing.

[0070] See also Figure 5 , Figure 5The flowchart of identifying clothing images and determining the number of clothing according to an embodiment of the present application is shown. The present application embodiment provides a step S230 of identifying clothing images and determining the number of clothing, including:

[0071] Step S231a, determining whether the current clothing image is a blurred clothing image or a clear clothing image according to the distribution of the grayscale value of each pixel in the clothing image in each value interval;

[0072] Step S232a, starting from the appearance of the blurred clothing image and ending at the appearance of the next blurred clothing image, forms a clothing placement cycle, and the number of clothing placement cycles is counted as the number of clothing.

[0073] The above two steps are described in detail below.

[0074] When a large number of pixels with similar grayscale values ​​appear in a clothing image, the boundaries of clothing or objects contained in the clothing image will be unclear, that is, the grayscale image at this time is a fuzzy clothing image.

[0075] In step S231a, the grayscale value of each pixel in the clothing image is counted, and whether the clothing image is a clear clothing image is determined according to the distribution of the grayscale value of each pixel in the clothing image.

[0076] Specifically, within the grayscale value range of 0-255, a first threshold and a second threshold are set, the second threshold is greater than the first threshold, and the number of pixels whose grayscale values ​​are between the first threshold and the second threshold is obtained. When the number of pixels exceeds the ratio threshold in the total number of pixels in the clothing image, it means that the grayscale values ​​of most pixels in the clothing image are similar, that is, the clothing image is a blurred clothing image. When the number of pixels whose grayscale values ​​are between the first threshold and the second threshold does not exceed the ratio threshold in the total number of pixels in the clothing image, it means that the clothing image is a clear clothing image.

[0077] In step S232a, based on the principle that when clothes are placed, blur and afterimages will appear in the photo, while the clothes are clear when they are stationary, a clothing placement cycle is formed with the appearance of a blurred clothing image as the starting point and the appearance of the next blurred clothing image as the end point. That is to say, each time a piece of clothing is placed, a clothing placement cycle is generated. Therefore, the number of clothing placement cycles can be counted, which is the number of clothes.

[0078] See also Figure 6 , Figure 6 The flowchart of identifying a clothing image and determining the type of clothing according to an embodiment of the present application is shown. The present application embodiment provides a step S230 of identifying a clothing image and determining the type of clothing, including:

[0079] S231b, obtaining a clear image of the clothes during the clothes placement period;

[0080] S232b, sequentially acquiring clothing contour lines in each clear clothing image according to a grayscale value variation trend between pixels in the clear clothing image;

[0081] S233b, determining the clothing types contained in each clear clothing image in turn according to the clothing contour lines, and taking them as candidate clothing types;

[0082] S234b, taking the candidate clothing category with the largest number of appearances as the category of clothing to be placed in the clothing placement cycle.

[0083] The above four steps are described in detail below.

[0084] In step S231b, all clear clothing images in the current clothing placement cycle are acquired to analyze them.

[0085] In step S232b, in this laundry placement cycle, the clothes on the upper layer are different from the clothes on the lower layer and the drum in color or brightness. In the clear laundry image, the grayscale values ​​of the clothes on the upper layer are different from those of the clothes on the lower layer and the drum, or there will be shadow areas where the clothes are stacked due to light reasons. Therefore, with the outline of the clothes as the boundary, the grayscale values ​​of the pixels on both sides will inevitably have a large difference, which can be used to determine the clothes outline curve in the laundry image.

[0086] Specifically, according to the gray value variation trend between pixels in each clear clothing image, pixel pairs whose gray value difference between adjacent pixels is greater than a set range are obtained as clothing contour points, and the line formed by all clothing contour points is the clothing contour line.

[0087] In step S233b, the clothing contour in the clear clothing image is compared with the pre-stored common clothing contours to obtain the possibility that the clothing contour corresponds to each type of clothing, and the clothing type with the greatest possibility is taken as the type of clothing contained in the clear clothing image and used as the candidate clothing type. Using the above method, each clear clothing image in this placement period is analyzed to obtain the type of clothing contained in each clear clothing image.

[0088] In another embodiment of the present application, taking into account that different types of clothing have different sizes, the sizes of patterns formed by clothing contours must also be different. Therefore, after obtaining the clothing contours in the clear clothing images, the types of clothing contained in each clear clothing image can also be judged according to the sizes of the clothing contours in each clear clothing image, and used as candidate clothing types.

[0089] It should be clarified that in another embodiment of the present application, in order to reduce the clothes placed before the current clothing placement cycle, clothing contours are also formed when analyzing the clear clothing images of the current clothing placement cycle, which affects the recognition of the clothing types. Therefore, the clothing contours of the clothing placement cycle before the current clothing placement cycle are obtained and compared with the clothing contours of the current clothing placement cycle. When the same clothing contours are found, they are deleted from the clothing contours obtained in the current clothing placement cycle, or ignored. That is, when the clothing types are identified based on the clothing contours, the clothing contours that appeared previously are not calculated.

[0090] In step S234b, considering that errors may occur if only one row of clear clothing images is identified to determine the clothing placed in this clothing placement cycle, in order to ensure the accuracy of clothing type judgment, this application uses the candidate clothing type that appears the most times as the type of clothing placed in the clothing placement cycle.

[0091] In step S240, the sterilization method and / or sterilization severity of the washing machine is determined according to the quantity and type of clothes. Determining the sterilization method of the washing machine according to the quantity and type of clothes means that different sterilization methods are applied according to different types and quantities of clothes.

[0092] For example, underwear, or pajamas can be disinfected with high-temperature water, steam, ozone, ultraviolet rays, etc., and disinfectants or bleaches should not be used to avoid residues on the clothing that may cause damage to the human body.

[0093] When the number of items is small, and they are small items such as underwear, underpants, or pajamas, the washing machine automatically adapts to low-level and long-time sterilization. Because the fabrics of these clothes are generally fragile, low-level and long-time sterilization is adopted. Low-level means weaker sterilization strength, such as using fewer sterilization items, such as high-temperature water, steam, ozone, and weaker sterilization light, such as ultraviolet rays, etc.

[0094] In one embodiment of the present application, the image acquisition device is disposed above the door frame of the washing machine, so that it is convenient to shoot at a fixed position, to shoot images with a larger area, and to arrange the wires of the image acquisition device. On the other hand, when the door of the washing machine is closed, the image acquisition device will be sealed in the door seal, solving the problem of the image acquisition device being exposed to water.

[0095] In one embodiment of the present application, the present application also discloses a washing machine, comprising: a drum, which provides a processing space for clothes to be processed; a box body, which is the outer shell of the washing machine and provides an installation space for the drum, wherein there is an opening on one side of the box body, a door cover is arranged at the opening of the box body, and is rotatably connected to the box body, and there is also an image acquisition device for taking pictures of clothes fed into the drum; a controller is used to control the operation of washing.

[0096] The controller can be configured as a shooting unit, which is used to control the image acquisition device to shoot the clothes fed into the drum to obtain a shot image; a processing unit, which is used to grayscale the shot image to obtain a clothes image; an identification unit, which is used to identify the clothes image and determine the type and quantity of the clothes; and a matching unit, which is used to select a corresponding sterilization mode to process the clothes according to the type and quantity of the clothes.

[0097] In an embodiment of the present application, the controller is also configured to execute any method in the above embodiments.

[0098] The washing machine and the control method of the washing machine provided in the above-mentioned embodiments are aimed at the fact that the current washing machine cannot clearly know the clothes to be processed. The clothes to be processed are photographed through an image acquisition device to obtain a photographed image, and the photographed image is gray-scaled to obtain a clothing image. The type and quantity of the clothes to be processed are determined according to the clothing image, and finally the most suitable sterilization mode is determined according to the quantity and type of the clothes. The clothes are sterilized while ensuring the sterilization effect and without damaging the clothes.

[0099] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a washing machine to execute the method according to the implementation of the present application.

[0100] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0101] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0102] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.

Claims

1. A method for controlling a washing machine, characterized in that: The washing machine comprises: The drum provides a processing space for the clothes to be processed; A box body is a shell of the washing machine and provides a mounting space for the drum, wherein one side of the box body has an opening, a door cover is arranged at the box body opening and is rotatably connected to the box body; An image acquisition device, used to capture images of the clothes fed into the drum; The control method of the washing machine comprises: Controlling the image acquisition device to photograph the clothes fed into the drum to obtain photographed images; grayscale the captured image to obtain a clothing image; Recognize the clothing image to determine the type and quantity of the clothing; According to the type and quantity of the clothes, a corresponding sterilization mode is selected to treat the clothes.

2. The method according to claim 1, characterized in that The controlling the image acquisition device to photograph the clothes fed into the drum to obtain the photographed image comprises: When it is sensed that the door body is opened, the image acquisition device is controlled to take pictures at a first frequency to obtain the drum image; If two adjacent drum images are inconsistent, the image acquisition device is controlled to shoot at a second frequency greater than the first frequency to obtain the captured image.

3. The method according to claim 2, characterized in that The grayscale processing of the captured image to obtain the clothing image includes: Obtaining a grayscale value corresponding to each pixel point according to a pixel value of each pixel point in the captured image; The clothing image is obtained by reconstructing the captured image according to the grayscale value corresponding to each pixel in the captured image.

4. The method according to claim 2, characterized in that: The step of identifying the clothing image and determining the quantity of clothing includes: Determining whether the current clothing image is a blurred clothing image or a clear clothing image according to the distribution of the grayscale value of each pixel in the clothing image in each value interval; A clothing placement cycle is formed from the appearance of a fuzzy clothing image as a starting point to the appearance of the next fuzzy clothing image as an end point, and the number of clothing placement cycles is counted as the number of clothing.

5. The method according to claim 4, characterized in that The identifying the clothing image and determining the type of clothing includes: Acquire a clear image of the clothes during the clothes placement period; sequentially acquiring clothing contour lines in each of the clear clothing images according to a grayscale value variation trend between pixel points in the clear clothing images; According to the clothing contours, determining the clothing types contained in each of the clear clothing images in sequence and using them as candidate clothing types; The candidate clothing category that appears most frequently is used as the clothing category to be placed in the clothing placement cycle.

6. The method according to claim 5, characterized in that The step of sequentially determining the type of clothing included in each of the clear clothing images according to the clothing contours includes: The type of clothing included in the clear clothing image is determined according to the size of a pattern formed by the clothing outline in the clear clothing.

7. The method according to claim 5, characterized in that Before determining the types of clothing contained in each of the clear clothing images in sequence according to the clothing contours, the method further includes: Among the clothing contour lines obtained during the clothing placement period, the clothing contour lines that appeared before the clothing placement period are deleted or ignored.

8. The method according to claim 1, characterized in that: The door body comprises a door frame arranged at the edge of the box opening, and the image acquisition device is arranged on the door frame.

9. A washing machine, characterized in that: The washing machine comprises: The drum provides a processing space for the clothes to be processed; A box body is a shell of the washing machine and provides a mounting space for the drum, wherein one side of the box body has an opening, a door cover is arranged at the box body opening and is rotatably connected to the box body; An image acquisition device, used to capture images of the clothes fed into the drum; A controller, the controller being configured to: A shooting unit, used for controlling the image acquisition device to shoot the clothes fed into the drum to obtain a shot image; A processing unit, used for performing grayscale processing on the captured image to obtain a clothing image; an identification unit, used to identify the clothing image and determine the type and quantity of the clothing; The matching unit is used to select a corresponding sterilization mode to treat the clothes according to the type and quantity of the clothes.

10. The washing machine according to claim 9, characterized in that: The controller is further configured to execute any of the methods in claims 2-8 above.

Citation Information

Patent Citations

  • Dryer and drying control method and system thereof

    CN106400434A

  • Method, clothes processing equipment, classification device, monitoring equipment and cloud

    CN113737449A

  • Image processing method and camera

    CN113949802A

  • Image processing method and device and electronic equipment

    CN116233626A

  • Photographing control device, photographing control method, and program

    JP2008124827A