CN110894660A - Washing control method and device and clothes treatment device - Google Patents

Washing control method and device and clothes treatment device Download PDF

Info

Publication number
CN110894660A
CN110894660A CN201810966396.3A CN201810966396A CN110894660A CN 110894660 A CN110894660 A CN 110894660A CN 201810966396 A CN201810966396 A CN 201810966396A CN 110894660 A CN110894660 A CN 110894660A
Authority
CN
China
Prior art keywords
image
clothes
washing
color
washed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810966396.3A
Other languages
Chinese (zh)
Inventor
顾兰兰
沈家峻
裴佩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Little Swan Co Ltd
Wuxi Little Swan Electric Co Ltd
Original Assignee
Wuxi Little Swan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Little Swan Co Ltd filed Critical Wuxi Little Swan Co Ltd
Priority to CN201810966396.3A priority Critical patent/CN110894660A/en
Publication of CN110894660A publication Critical patent/CN110894660A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Washing Machine And Dryer (AREA)

Abstract

The application provides a washing control method, a washing control device, a clothes treatment device and a computer readable storage medium, wherein the method comprises the following steps: the method comprises the steps of identifying clothes by the collected image to obtain an image area displaying the clothes to be washed, obtaining color information of each image unit in the image area, determining the proportion of the image unit of which the color information meets preset conditions in the image area, and finally determining whether a preset color protection washing mode is adopted for washing control according to the proportion. According to the method, the images of the clothes to be washed are collected, whether the clothes to be washed need color protection or not is automatically judged, and then the washing mode is switched, so that the technical problems that the operation steps are complicated and the color of the clothes is dark after the clothes are washed for multiple times in the prior art are solved, the purposes of simplifying user operation and improving user experience are achieved, and the color protection washing process without user intervention is realized.

Description

Washing control method and device and clothes treatment device
Technical Field
The present application relates to the field of household appliance technologies, and in particular, to a washing control method and apparatus, and a laundry treatment apparatus.
Background
With the improvement of the consumption level of people, the requirement of consumers on the quality of clothes is higher and higher, but sometimes, the phenomenon of dull color appears after the clothes with bright colors or dark colors are washed for many times by a washing machine, and the original color of the clothes is lost.
Therefore, in the prior art, in the washing process of the clothes, the user can prevent the clothes from fading to a certain extent by manually adjusting the rotating speed of the inner barrel and the water temperature in the inner barrel, and the color protection effect is achieved. However, in the actual use process, the clothes may be dyed or faded in the washing process due to the fact that the user has no color protection habit or insufficient experience in judging whether the clothes need color protection, and the user experience is seriously influenced.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the application provides a washing control method, a washing control device, a clothes treatment device and a computer readable storage medium, so that whether the clothes need color protection or not in the washing process is judged through comprehensive analysis of a plurality of collected images, a corresponding color protection washing optimization mode is automatically started, and the technical problem that the color protection can be carried out only through a manual intervention washing mode when the clothes fade after being washed for a plurality of times in the prior art is solved.
An embodiment of an aspect of the present application provides a washing control method, including:
identifying clothes in the acquired image to obtain an image area for displaying the clothes to be washed;
acquiring color information of each image unit in the image area;
determining the proportion of image units with color information meeting preset conditions in the image area;
and determining whether to adopt a preset color protection washing mode for washing control or not according to the ratio.
According to the washing control method, the image area displaying the clothes to be washed is obtained by identifying the clothes of the collected image, the color information of each image unit in the image area is obtained, the proportion of the image unit with the color information meeting the preset conditions in the image area is determined, and whether the preset color protection washing mode is adopted for washing control is determined according to the proportion. According to the method, the images of the clothes to be washed are collected, whether the clothes to be washed need color protection or not is automatically judged, and then the washing mode is switched, so that the technical problems that the operation steps are complicated and the color of the clothes is dark after the clothes are washed for multiple times in the prior art are solved, the purposes of simplifying user operation and improving user experience are achieved, and the color protection washing process without user intervention is realized.
In another aspect of the present application, an embodiment provides a washing control apparatus, including:
the identification module is used for identifying clothes in the acquired image to obtain an image area for displaying the clothes to be washed;
the acquisition module is used for acquiring the color information of each image unit in the image area;
the determining module is used for determining the proportion of the image unit of which the color information meets the preset condition in the image area;
and the control module is used for determining whether a preset color protection washing mode is adopted for washing control according to the image unit proportion.
The washing control device of the embodiment of the application obtains the image area displaying the clothes to be washed by identifying the clothes of the collected image, acquires the color information of each image unit in the image area, determines the proportion of the image unit of which the color information meets the preset condition in the image area, and determines whether to adopt the preset color protection washing mode to carry out washing control according to the proportion. According to the method, the images of the clothes to be washed are collected, whether the clothes to be washed need color protection or not is automatically judged, and then the washing mode is switched, so that the technical problems that the operation steps are complicated and the color of the clothes is dark after the clothes are washed for multiple times in the prior art are solved, the purposes of simplifying user operation and improving user experience are achieved, and the color protection washing process without user intervention is realized.
In another aspect of the present application, an embodiment provides a clothes treating apparatus, including: a control unit comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the washing control method as described in the previous embodiments when executing the program.
In yet another aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is configured to implement the washing control method according to the foregoing embodiments when executed by a processor.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a washing control method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of another washing control method provided in the embodiments of the present application;
FIG. 3 is a schematic flow chart of another washing control method provided in the embodiments of the present application;
fig. 4 is a schematic structural diagram of a washing control device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another washing control device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
In the prior art, due to overhigh water temperature or overhigh rotating speed of a clothes treatment device in the washing process of clothes, the clothes are faded after being washed for many times, and the original color of the clothes is lost. At the moment, the user can prevent the clothes from fading to a certain extent by manually adjusting the rotating speed of the inner barrel and the water temperature in the barrel, and the color protection effect is achieved. However, in the actual use process, the clothes may be dyed or faded in the washing process due to the fact that the user has no color protection habit or insufficient judgment experience on whether the clothes need color protection, at this time, the clothes treatment device can perform dyeing early warning, and the user needs to take out the clothes and put the clothes in again after the early warning, so that the operation mode of the user is inconvenient, and the user experience is poor.
Aiming at the phenomenon that clothes fade after being washed for many times in the prior art, the embodiment of the application provides a washing control method, whether the clothes with clothes need color protection or not is determined by collecting and analyzing a plurality of images with clothes to be washed, then, a corresponding color protection washing mode is automatically started, and the whole washing process does not need user intervention.
The washing control method and apparatus of the embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a washing control method according to an embodiment of the present disclosure.
As shown in fig. 1, the washing control method includes the steps of:
step 101, identifying clothes in the acquired image to obtain an image area showing the clothes to be washed.
Since the laundry may be entangled with each other when placed in the inner tub of the laundry treating apparatus, some of the laundry is wrapped by other laundry and cannot be seen, and at this time, if an image of the laundry is captured, the obtained image may not completely include the laundry. Therefore, after the clothes are placed in the clothes treatment device, the motor is controlled to rotate at least once to drive the washing barrel to move, and the clothes to be washed can be seen completely through the shaking, overturning, stirring and other modes of the washing barrel.
It should be noted that, in order to improve the accuracy of clothes identification, the movement of the washing tub may be controlled for multiple times to obtain multiple clothes to be washed in different forms.
After the washing barrel stops moving and reaches a static state, imaging is carried out on clothes to be washed through imaging equipment so as to acquire at least one frame of image, and then preprocessing is carried out on the acquired image so as to improve the image quality. Wherein the pre-processing comprises at least one or more of a combination of image smoothing, image sharpening, histogram equalization, and color enhancement. Which preprocessing operations are specifically performed depends on the actual situation of the acquired image.
The image smoothing treatment is treatment for enabling the brightness of the collected image to tend to be smooth, so that the abrupt change gradient of the brightness of the image is reduced, and the image quality is improved; the image sharpening is to enhance the edge of an image and a part with gray level jump by compensating the outline of the image so as to make the image clear; the histogram equalization is to adjust the contrast by using an image histogram; color enhancement is the process of color enhancing the captured image.
Specifically, after the image of the clothes to be washed is collected, the collected image is preprocessed, then the clothes are identified according to the preprocessed image, a background image area and an image area of the clothes to be washed are framed according to a deep learning inference model, and the image area displaying the clothes to be washed is obtained, so that the image area is analyzed to judge whether the clothes to be washed need color protection.
The deep learning inference model obtaining method comprises the following steps: firstly, a large number of clothes images containing various backgrounds are obtained, clothes image areas and background image areas are selected for each clothes image, the clothes image areas are labeled, and then a deep learning inference model is obtained through training through a neural network or a deep learning algorithm. .
Step 102, color information of each image unit in the image area is obtained.
Specifically, after the image area with the washed clothes is displayed is obtained, the color information of each image unit in the image area is continuously acquired. The color information refers to color information displayed by each image unit.
In one possible implementation, color information corresponding to each pixel point in the image region is obtained.
And 103, determining the proportion of the image unit with the color information meeting the preset condition in the image area.
In a possible implementation manner, assuming that the obtained image area displaying the clothes to be washed is only one frame, determining the total number of image units contained in the image area, and then determining the number of image units of which the color information meets the preset condition; and finally, determining the proportion of the image units with the color information meeting the preset conditions in the image area according to the number of the image units meeting the preset conditions and the total number of the contained image units. The image unit meeting the preset condition means that the color information in the image unit meets the color protection condition.
In another possible implementation manner, assuming that the acquired image area displaying the clothes to be washed has multiple frames, the total number of image units included in the image area displaying the clothes to be washed is determined for each frame of image acquired, the number of image units of which the color information meets the preset condition is determined for each frame of image, and finally, the proportion of the image units of which the color information meets the preset condition in the image area is determined according to the sum of the number of the image units meeting the preset condition in each frame of image and the sum of the total number of the image units included in each frame of image.
As an example, for the laundry to be washed in the washing tub, three frames of images are collected to show the image area of the laundry to be washed, and the total number of contained image units is determined to be A, B, C respectively; the number of the image units meeting the preset conditions in each frame of image is a, b and c respectively; thus, it can be determined that the ratio of image units whose color information meets the preset condition in the image area is (a + B + C)/(a + B + C).
And step 104, determining whether a preset color protection washing mode is adopted for washing control according to the proportion.
Specifically, whether the washing control is performed by adopting a preset color protection washing mode is judged according to the ratio of the image unit with the determined color information meeting the preset condition in the image area.
Wherein, the washing control refers to the operations of washing, rinsing, drying and the like of the clothes to be washed.
As a possible implementation manner, when the ratio of the image unit in the image area, of which the determined color information meets the preset condition, is greater than the preset threshold, the laundry in the washing tub is subjected to washing control by adopting a preset color protection washing mode. The preset threshold is a value preset for judging whether the clothes to be washed need color protection according to the ratio of the image unit with the color information meeting the preset condition in the image area.
As another possible implementation manner, when the ratio of the image unit in the image area, of which the determined color information meets the preset condition, is smaller than the preset threshold, the laundry to be washed in the washing tub is not washed in the color protection washing mode, and is washed in the normal washing mode.
It should be noted that too high water temperature or too high rotation speed in the washing tub may result in the laundry fading. Accordingly, the color protection washing mode includes a washing mode in which the color of the laundry is prevented to some extent by lowering the water temperature or adjusting the rotation speed of the washing tub.
According to the washing control method, the image area displaying the clothes to be washed is obtained by identifying the clothes of the collected image, the color information of each image unit in the image area is obtained, the proportion of the image unit with the color information meeting the preset conditions in the image area is determined, and finally whether the preset color protection washing mode is adopted for washing control is determined according to the proportion. According to the method, the images of the clothes to be washed are collected, whether the clothes to be washed need color protection or not is automatically judged, and then the washing mode is switched, so that the technical problems that the operation steps are complicated and the color of the clothes is dark after the clothes are washed for multiple times in the prior art are solved, the purposes of simplifying user operation, improving user experience and realizing the color protection washing process without user intervention are achieved.
As another possible implementation manner, on the basis of the embodiment shown in fig. 1, referring to fig. 2, step 103 may further include the following steps:
step 201, determining the saturation and brightness of each image unit in the image area according to the color information of each image unit.
Here, the saturation refers to the degree of vividness of the color of the image, that is, the purity of the color. For example, pure blue, pure red, pure green, etc. are all at high saturation, while grey blue, rose red, grass green, etc. are at low saturation. The brightness refers to the brightness of the color.
In this embodiment, the image unit may be a pixel point, or a pixel unit formed by several adjacent pixel points with the same or similar saturation or brightness.
Specifically, after the color information of each image unit in the image area displaying the clothes to be washed is acquired, the color information of the red, green and blue RGB color mode is converted into the color information of the chroma saturation brightness HSB color mode for each image unit in the image area, and then the saturation and brightness of each pixel point or pixel unit in each image unit are acquired.
It should be noted that, the RGB color scheme represents colors composed of three primary colors, and different colors are combined by the difference of three color components of red, green, and blue. For example, a mixture of 100% red and 100% green may result in yellow, and a superposition of three colors, red, green, and blue, may result in white. The HSB color mode is to express colors by chroma (Hue), Saturation (Saturation), and Brightness (Brightness).
As an example, the color information of the RGB color mode may be converted into the color information of the chroma saturation luminance HSB color mode by the following conversion formula.
Figure BDA0001775080700000061
Figure BDA0001775080700000062
B=max
In the above formula, max and min are the maximum color component value and the minimum color component value, respectively; r, g, b represent chromaticity as 0 degree, 120 degree and 240 degree. The color information of the RGB color mode can be converted into the color information of the chroma saturation brightness HSB color mode through the formula.
Step 202, judging whether the saturation and brightness of each image unit meet preset conditions.
Specifically, it is further determined whether the saturation and brightness of each image unit meet preset conditions according to the saturation and brightness of each image unit in the image region acquired in step 201.
When the saturation is greater than the threshold saturation and the brightness is less than the threshold brightness in each image unit, the saturation and the brightness of the corresponding image unit can be determined to meet the preset conditions.
Step 203, counting the number of image units meeting the preset conditions.
Specifically, the number of image units meeting the preset condition is counted according to the saturation and brightness of each image unit in the image area and the preset condition.
Step 204, determining the image unit ratio according to the number of the image units meeting the preset condition and the total number of the image units contained in the image area.
Specifically, the ratio of the number of the image units meeting the preset condition and the total number of the image units contained in the image area is calculated according to the counted number of the image units meeting the preset condition, so that the image unit ratio can be determined.
As an example, when there are a plurality of images of the laundry in the washing tub, it is determined whether the laundry in each image needs to be color-protected, and the results are combined for a plurality of times to determine whether the laundry in one tub needs to be color-protected. If the three images are provided, determining that the total number of the pixel points contained in the three images showing the clothes to be washed is A, B, C respectively; the number of pixel points which accord with the color protection condition in each frame of image is a, b and c respectively; therefore, the ratio of all the pixel points in the collected to-be-washed clothes image area of the pixel points meeting the color protection condition can be determined to be (a + B + C)/(A + B + C).
Then, according to whether the pixel point proportion is larger than a preset threshold or not, if the pixel point proportion is larger than the preset threshold, color protection washing is needed to be carried out on the clothes to be washed in the washing barrel; and if the pixel point ratio is smaller than the preset threshold value, the clothes to be washed in the washing barrel are not subjected to color protection washing.
According to the washing control method, the saturation and the brightness of each image unit in the image area are determined according to the color information of each image unit, whether the saturation and the brightness of each image unit meet the preset conditions or not is judged, the number of the image units meeting the preset conditions is counted, and finally the image unit occupation ratio is determined according to the number of the image units meeting the preset conditions and the total number of the image units contained in the image area. Therefore, the number of the image units meeting the preset condition is counted through the saturation and the brightness of each image unit in the image area, and whether the clothes to be washed need color protection washing or not is judged according to the determined image unit proportion, so that the washing process of automatically protecting the color can be completed without user intervention.
As an example, referring to fig. 3, fig. 3 is a schematic flow chart of determining whether the laundry needs to be color-protected according to a single image. The specific washing control method comprises the following steps:
step 301, acquiring an image of the laundry to be washed.
Step 302, preprocessing the acquired image of the laundry.
Specifically, the acquired image of the laundry to be washed is preprocessed to improve the image quality.
Wherein the pre-processing comprises at least one or more of a combination of image smoothing, image sharpening, histogram equalization, and color enhancement. Which preprocessing operations are specifically performed depends on the actual situation of the acquired image.
And 303, selecting an image area showing the clothes to be washed through the deep learning inference model frame obtained by training.
Specifically, after the acquired image of the clothes to be washed is preprocessed, a background image area and an image area of the clothes to be washed are framed according to a deep learning inference model, an image area displaying the clothes to be washed is obtained, the image area displaying the clothes to be washed is analyzed, and whether the clothes to be washed need color protection or not is judged.
Step 304, converting the color information of the RGB color mode into the color information of the HSB color mode for each pixel point in the image area displaying the clothes to be washed.
In this embodiment, the method for converting the color information of the RGB color mode into the color information of the HSB color mode for each pixel point in the image area displaying the clothes to be washed is as described in step 201 of the above embodiment, and is not repeated herein.
And 305, judging whether each pixel point meets the color protection condition in the HSB color space.
The color protection condition means that the saturation of each pixel point is greater than St or the brightness is less than Bt, preferably, St is Smax 0.4, Bt is Bmax 0.5. Smax is the maximum value in image saturation; bmax is the maximum value in the image brightness.
Specifically, whether each pixel meets the color protection condition in the HSB color mode is judged by obtaining the saturation and brightness of each pixel. If the color protection condition is satisfied, it indicates that the pixel point needs color protection, i.e. step 307 is executed; if the color protection condition is not satisfied, it indicates that the pixel point does not need color protection, and step 306 is executed.
Step 308, determining whether the percentage of the pixel points needing color protection to all the pixel points in the image area showing the clothes to be washed is greater than a preset threshold.
The preset threshold is a preset value for judging whether the clothes to be washed need color protection.
As a possible implementation manner, the percentage of the pixel points requiring color protection to all the pixel points in the image area displaying the clothes to be washed is smaller than the preset threshold, step 309 is executed, that is, the clothes to be washed in the washing tub do not need to adopt a color protection washing mode, and the clothes are washed in a conventional washing mode, so that the washing effect is achieved.
As another possible implementation manner, when the percentage of the pixel points requiring color protection to all the pixel points in the image region displaying the laundry is greater than the preset threshold, step 310 is executed, that is, the laundry in the washing tub needs to adopt the color protection washing mode. The water temperature is adjusted to normal temperature cold water washing through the color protection washing mode, and the corresponding washing rhythm is optimized to protect the color of clothes.
According to the washing control method, the image of the clothes to be washed is acquired, the acquired image of the clothes to be washed is preprocessed, the image area of the clothes to be washed is selected through a clothes inference model frame obtained through training, color information of a red, green and blue RGB color mode is converted into color information of an HSB color mode for each pixel point in the image area, whether each pixel point meets a color protection condition in an HSB color space is judged, and whether the percentage of the pixel point needing color protection in all the pixel points in the image area of the clothes is larger than a preset threshold value is judged. Therefore, whether a single image needs color protection or not is judged, and the technical problems that in the prior art, the operation steps are complicated and the color of clothes is dark after the clothes are washed for multiple times are solved by automatically switching the washing modes, so that the purposes of simplifying user operation, improving user experience and realizing the color protection washing process without user intervention are achieved.
In order to realize the above embodiment, the present application also proposes a washing control device.
Fig. 4 is a schematic structural diagram of a washing control device according to an embodiment of the present application.
As shown in fig. 4, the washing control device includes: an identification module 110, an acquisition module 120, a determination module 130, and a control module 140.
The recognition module 110 is configured to perform clothing recognition on the collected image to obtain an image area displaying the clothing to be washed.
The obtaining module 120 is configured to obtain color information of each image unit in the image area.
The determining module 130 is configured to determine a ratio of the image unit whose color information meets a preset condition in the image area.
And a control module 140 for determining whether to perform washing control in a preset color protection washing mode according to the image unit ratio.
As a possible implementation manner, the determining module 130 is specifically further configured to determine the saturation and the brightness of each image unit in the image area according to the color information of each image unit;
judging whether the saturation and the brightness of each image unit meet preset conditions or not;
counting the number of image units meeting preset conditions;
and determining the image unit ratio according to the number of the image units meeting the preset condition and the total number of the image units contained in the image area.
As another possible implementation manner, the determining module 130 further includes:
and the first determining unit is used for determining that the saturation and the brightness of the corresponding image unit meet the preset conditions if the saturation is greater than the threshold saturation and the brightness is less than the threshold brightness for each image unit.
As another possible implementation manner, referring to fig. 5, the washing control device further includes:
the conversion module 150 is configured to convert the color information of the RGB color mode into the color information of the HSB color mode.
The imaging module 160 is used for executing the steps of controlling the movement of the washing tub at least once and imaging the clothes to be washed after the washing tub is still so as to acquire at least one frame of image.
As another possible implementation manner, the determining module 130 is specifically further configured to:
for each frame of image, displaying the image area of the clothes to be washed, and determining the total number of contained image units;
for each frame of image, determining the number of image units with color information meeting preset conditions;
and determining the image unit ratio according to the sum of the number of the image units meeting the preset conditions in each frame of image and the sum of the total number of the image units contained in each frame of image.
As another possible implementation manner, the washing control apparatus further includes:
a preprocessing module 170 for preprocessing the acquired image; the pre-processing includes at least one or more combinations of image smoothing, image sharpening, histogram equalization, and color enhancement.
It should be noted that the foregoing explanation of the embodiment of the washing control method is also applicable to the washing control device of this embodiment, and is not repeated herein.
The washing control device of the embodiment of the application obtains the image area displaying the clothes to be washed by identifying the clothes of the collected image, acquires the color information of each image unit in the image area, determines the proportion of the image unit of which the color information meets the preset condition in the image area, and determines whether to adopt the preset color protection washing mode to carry out washing control according to the proportion. Therefore, whether the clothes to be washed need color protection or not is judged automatically by collecting the images of the clothes to be washed, and then the washing mode is switched, so that the technical problems that the operation steps are complicated and the colors of the clothes are dim after the clothes are washed for multiple times in the prior art are solved, the purposes of simplifying user operation and improving user experience are achieved, and the color protection washing process without user intervention is realized.
In order to achieve the above embodiments, the present application also proposes a laundry treating apparatus including: a control unit comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the washing control method as described in the previous embodiments when executing the program.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the washing control method as described in the foregoing embodiments.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating 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 at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A washing control method, characterized in that the method comprises the steps of:
identifying clothes in the acquired image to obtain an image area for displaying the clothes to be washed;
acquiring color information of each image unit in the image area;
determining the proportion of image units with color information meeting preset conditions in the image area;
and determining whether to adopt a preset color protection washing mode for washing control or not according to the ratio.
2. The washing control method according to claim 1, wherein the determining the proportion of the image unit in the image area, the color information of which meets the preset condition, comprises:
determining the saturation and brightness of each image unit in the image area according to the color information of each image unit;
judging whether the saturation and the brightness of each image unit meet preset conditions or not;
counting the number of image units meeting preset conditions;
and determining the image unit ratio according to the number of the image units meeting the preset condition and the total number of the image units contained in the image area.
3. The washing control method according to claim 2, wherein the determining whether the saturation and brightness of each image unit meet the preset conditions comprises:
and for each image unit, if the saturation is greater than the threshold saturation and the brightness is less than the threshold brightness, determining that the saturation and the brightness of the corresponding image unit meet preset conditions.
4. The washing control method according to claim 2, further comprising, after the obtaining the color information of each image cell in the image area:
and for each image unit in the image area, converting the color information of the red, green and blue RGB color mode into the color information of the chroma saturation brightness HSB color mode.
5. The washing control method according to claim 1, wherein before the step of performing the laundry recognition on the captured image to obtain the image area showing the laundry to be washed, the method further comprises:
and executing at least one step of controlling the movement of the washing barrel, and imaging the clothes to be washed after the washing barrel is static so as to acquire at least one frame of image.
6. The washing control method according to claim 5, wherein the image is at least two frames; the determining the proportion of the image unit with the color information meeting the preset condition in the image area comprises the following steps:
for each frame of image, displaying the image area of the clothes to be washed, and determining the total number of contained image units;
for each frame of image, determining the number of image units of which the color information meets the preset conditions;
and determining the image unit ratio according to the sum of the number of the image units meeting the preset conditions in each frame of image and the sum of the total number of the image units contained in each frame of image.
7. A washing control method according to any of claims 1-6, characterized in that before the identifying the laundry from the captured image, it further comprises:
preprocessing the acquired image; the pre-processing includes at least one or more combinations of image smoothing, image sharpening, histogram equalization, and color enhancement.
8. A washing control device, characterized in that the device comprises:
the identification module is used for identifying clothes in the acquired image to obtain an image area for displaying the clothes to be washed;
the acquisition module is used for acquiring the color information of each image unit in the image area;
the determining module is used for determining the proportion of the image unit of which the color information meets the preset condition in the image area;
and the control module is used for determining whether a preset color protection washing mode is adopted for washing control according to the image unit proportion.
9. A laundry treatment apparatus, comprising a control unit comprising a memory, a processor and a computer program stored on the memory and executable on the processor, when executing the program, implementing a wash control method as claimed in any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, the program, when being executed by a processor, implementing a washing control method according to any one of claims 1 to 7.
CN201810966396.3A 2018-08-23 2018-08-23 Washing control method and device and clothes treatment device Pending CN110894660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810966396.3A CN110894660A (en) 2018-08-23 2018-08-23 Washing control method and device and clothes treatment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810966396.3A CN110894660A (en) 2018-08-23 2018-08-23 Washing control method and device and clothes treatment device

Publications (1)

Publication Number Publication Date
CN110894660A true CN110894660A (en) 2020-03-20

Family

ID=69784783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810966396.3A Pending CN110894660A (en) 2018-08-23 2018-08-23 Washing control method and device and clothes treatment device

Country Status (1)

Country Link
CN (1) CN110894660A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114059334A (en) * 2020-07-31 2022-02-18 青岛海尔洗衣机有限公司 Clothes drying control method and device and clothes dryer

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003190688A (en) * 2001-12-28 2003-07-08 Matsushita Electric Ind Co Ltd Washing machine
CN101484626A (en) * 2006-06-30 2009-07-15 阿塞里克股份有限公司 A washing machine
EP2141487A1 (en) * 2007-04-02 2010-01-06 Purex Corporation Sheet-like product inspecting method and device
US20100205820A1 (en) * 2009-02-19 2010-08-19 Whirlpool Corporation Laundry treating appliance with load surface area detection
CN101824729A (en) * 2009-08-11 2010-09-08 南京乐金熊猫电器有限公司 Control method of washing device
CN102517842A (en) * 2011-08-25 2012-06-27 海尔集团公司 Washing machine capable of choosing washing procedure by automatically recognizing material information of clothes and method therefor
CN105568630A (en) * 2016-02-29 2016-05-11 美的集团股份有限公司 Method and device for detecting to-be-washed articles in washing machine
CN105839355A (en) * 2016-05-19 2016-08-10 无锡小天鹅股份有限公司 Washing machine and method, and device for recognizing colors of clothes in washing machine
CN105841817A (en) * 2016-05-19 2016-08-10 无锡小天鹅股份有限公司 Identification device of clothes color in washing machine and washing machine with same
CN106637812A (en) * 2017-01-22 2017-05-10 无锡小天鹅股份有限公司 Washing machine control method and device, washing machine

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003190688A (en) * 2001-12-28 2003-07-08 Matsushita Electric Ind Co Ltd Washing machine
CN101484626A (en) * 2006-06-30 2009-07-15 阿塞里克股份有限公司 A washing machine
EP2141487A1 (en) * 2007-04-02 2010-01-06 Purex Corporation Sheet-like product inspecting method and device
US20100205820A1 (en) * 2009-02-19 2010-08-19 Whirlpool Corporation Laundry treating appliance with load surface area detection
CN101824729A (en) * 2009-08-11 2010-09-08 南京乐金熊猫电器有限公司 Control method of washing device
CN102517842A (en) * 2011-08-25 2012-06-27 海尔集团公司 Washing machine capable of choosing washing procedure by automatically recognizing material information of clothes and method therefor
CN105568630A (en) * 2016-02-29 2016-05-11 美的集团股份有限公司 Method and device for detecting to-be-washed articles in washing machine
CN105839355A (en) * 2016-05-19 2016-08-10 无锡小天鹅股份有限公司 Washing machine and method, and device for recognizing colors of clothes in washing machine
CN105841817A (en) * 2016-05-19 2016-08-10 无锡小天鹅股份有限公司 Identification device of clothes color in washing machine and washing machine with same
CN106637812A (en) * 2017-01-22 2017-05-10 无锡小天鹅股份有限公司 Washing machine control method and device, washing machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114059334A (en) * 2020-07-31 2022-02-18 青岛海尔洗衣机有限公司 Clothes drying control method and device and clothes dryer
CN114059334B (en) * 2020-07-31 2024-02-13 上海海尔洗涤电器有限公司 Clothes drying control method and equipment and clothes dryer

Similar Documents

Publication Publication Date Title
CN109137388B (en) Laundry washing method, apparatus and laundry treating apparatus
US8520089B2 (en) Eye beautification
US9852499B2 (en) Automatic selection of optimum algorithms for high dynamic range image processing based on scene classification
US20130188073A1 (en) Automatic Face and Skin Beautification Using Face Detection
US9256927B2 (en) Method and apparatus for enhancing a digital photographic image
WO2008136629A1 (en) Image brightness controlling apparatus and method thereof
CN104637031B (en) Eyes image treating method and apparatus
CN105303525B (en) Haze image discrimination apparatus and discriminating conduct
CN110278425A (en) Image enchancing method, device, equipment and storage medium
CN108876742A (en) image color enhancement method and device
CN109325918B (en) Image processing method and device and computer storage medium
CN109949248B (en) Method, apparatus, device and medium for modifying color of vehicle in image
TWI698124B (en) Image adjustment method and associated image processing circuit
US8711250B2 (en) Image signal processing apparatus and image signal processing method
CN110894658B (en) Washing control method and device and clothes treatment device
CN110894660A (en) Washing control method and device and clothes treatment device
JP3918257B2 (en) Image processing apparatus, image processing method, and medium storing image processing program
KR100735551B1 (en) Method and apparatus for filtering adaptively according to color domains
CN115345961A (en) Dense fog color reconstruction method and device based on HSV color space mutual operation
CN105741230A (en) Image processing method and mobile terminal
CN105654541A (en) Window image processing method and device
JP4445026B2 (en) Image processing method, apparatus, and program
JP2000187722A (en) Deciding method for picture processing parameter and recording medium recording program for executing its processing
JP3956970B2 (en) Image processing apparatus, image processing method, and medium storing image processing program
CN113862963B (en) Washing machine, control method and device thereof, storage medium and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination