Washing control method, electronic equipment and fabric treatment equipment
By acquiring images of the fabric before and after water absorption and using color pattern recognition technology to determine the soaking state, the problem of uneven spraying in the pulsator washing machine is solved, uniform spraying of the fabric is achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202510863197.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-09-30
AI Technical Summary
The spray rinsing technology in the pulsator washing machine has the problem of uneven spraying, which causes the fabric to not be completely soaked, affecting the user experience.
By acquiring images of the fabric before and after water absorption, the color pattern recognition technology is used to determine the fabric's wetting state, and secondary spraying is selectively performed according to the color change.
The uneven spraying problem in spray rinsing is improved, the uniformity of fabric spraying is improved, and the user experience of the pulsator washing machine with spray rinsing function is enhanced.
Smart Images

Figure CN120719490A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fabric processing equipment, and in particular to a washing control method, an electronic device and a fabric processing equipment. Background Art
[0002] With the improvement of living standards, people have higher and higher requirements for the functions and performance of household appliances. As one of the commonly used household appliances, fabric processing equipment such as pulsator washing machines are also constantly being upgraded and improved.
[0003] The spray rinsing technology in the pulsator washing machine is a technology designed to improve washing effects and save water. It has multiple advantages of defoaming, saving water and electricity, and reducing wear.
[0004] Although the application of spray rinsing technology in pulsator washing machines brings many advantages, there are also the following problems during use, such as uneven spraying, which may cause the fabric to not be completely soaked, affecting the user experience. Summary of the Invention
[0005] In view of this, the present application provides a washing control method, an electronic device and a fabric processing device to solve the problem that the existing fabric processing equipment has a poor user experience due to uneven spraying in the spray rinsing technology.
[0006] A first aspect of an embodiment of the present application provides a washing control method, which can be applied to a fabric processing device with a spray rinsing function, wherein the fabric processing device can be used to process fabrics. The washing control method includes:
[0007] acquiring an image of the fabric before water absorption;
[0008] acquiring an image of the fabric after water absorption;
[0009] determining, based on the image before and after water absorption, how the same color of the fabric in the first color mode changes in the second color mode before and after water absorption;
[0010] The wetting state of the fabric is determined according to the change.
[0011] In some embodiments, the change condition includes: whether the color of the fabric becomes darker before and after absorbing water;
[0012] The determining of the change of the same color of the fabric in the first color mode in the second color mode before and after water absorption includes:
[0013] Determine the color type of the fabric in the first color mode and the corresponding first color and value in the second color mode before water absorption;
[0014] determining the color type of the fabric in the first color mode and the corresponding second color and value in the second color mode after water absorption;
[0015] The first color sum value and the second color sum value corresponding to any same color type in the first color mode before and after water absorption are compared to determine whether the color of the fabric becomes darker before and after water absorption.
[0016] In some embodiments, determining the color type of the fabric before water absorption in the first color mode includes: determining a color type of the fabric before water absorption in the first color mode;
[0017] The step of comparing the first color sum value and the second color sum value corresponding to any one color type in the first color mode before and after water absorption to determine whether the color of the fabric becomes darker before and after water absorption includes:
[0018] For the fabric after water absorption, each time a color type is determined, the first color sum value and the second color sum value of the color type are compared;
[0019] Based on the comparison of the one color type, determining whether the color of the fabric becomes darker before and after absorbing water;
[0020] or,
[0021] For the fabric after water absorption, each time a plurality of color categories are determined, the first color sum value and the second color sum value corresponding to each color in the plurality of color categories are compared;
[0022] Based on the proportion of the number of each color to be compared in the plurality of color types to the total number of colors, it is determined whether the color of the fabric becomes darker before and after absorbing water.
[0023] In some embodiments, determining whether the color of the fabric darkens before and after absorbing water based on the proportion of the number of each color compared in the plurality of color types to the total number of colors includes:
[0024] If, in the comparison of each color in the plurality of color categories, the number of the first color sum value smaller than the second color sum value accounts for 65% or more of the total number of colors, it is determined that the color of the fabric darkens before and after absorbing water.
[0025] In some embodiments, determining the color type of the fabric in the first color mode before water absorption includes:
[0026] extracting a plurality of color values of the fabric before water absorption in the first color mode;
[0027] determining whether any two color values in the plurality of color values are of the same color type based on whether a difference between the two color values in the plurality of color values is less than a threshold, thereby determining all color types in the plurality of color values;
[0028] Determining the color type of the fabric in the first color mode after water absorption includes:
[0029] extracting a plurality of color values of the fabric after water absorption in the first color mode;
[0030] According to whether the difference between any two color values in the plurality of color values is less than a threshold, it is determined whether the arbitrary two color values are of the same color type, and in this way all color types in the plurality of color values are determined.
[0031] In some embodiments, comparing the first color sum value and the second color sum value corresponding to any same color type in the first color mode before and after water absorption to determine whether the color of the fabric becomes darker before and after water absorption includes:
[0032] Comparing the first color and value with the second color and value;
[0033] If the first color sum value is greater than or equal to the second color sum value, it is determined that the color of the fabric does not darken before and after absorbing water;
[0034] If the first color sum value is smaller than the second color sum value, it is determined that the color of the fabric darkens before and after absorbing water.
[0035] In some embodiments, the first color mode is: HSB color mode;
[0036] The second color mode is the CMKY color mode;
[0037] The color value is the H value in the HSB color model, and the first color sum value and the second color sum value are sum values of different dimensions in the CMKY color model.
[0038] In some embodiments, determining the wetting state of the fabric according to the change comprises:
[0039] If the color of the fabric darkens before and after absorbing water, the soaking state is completely soaked, otherwise, it is not soaked;
[0040] The washing control method further comprises:
[0041] In the case of non-wetting, a secondary spray is selectively performed.
[0042] In some embodiments, the selective secondary spraying includes:
[0043] Determine whether to perform secondary spraying based on the number of spraying times;
[0044] If the number of spraying times is greater than the threshold, it is determined not to perform secondary spraying;
[0045] If the number of spraying times is less than or equal to the threshold, a second spraying is performed, and after the second spraying is performed, it is further determined whether the color of the fabric becomes darker before and after the second spraying and water absorption.
[0046] A second aspect of an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, the washing control method described in the first aspect is implemented.
[0047] A third aspect of the embodiments of the present application provides a fabric processing device that is controlled by the washing control method described in the first aspect, or includes the electronic device described in the second aspect.
[0048] Compared with the prior art, the beneficial effects of this application are mainly:
[0049] The washing control method, electronic device, and fabric processing device disclosed herein can be applied to a pulsator washing machine with a spray-rinsing function. The washing control method comprises: acquiring an image of the fabric before water absorption; acquiring an image of the fabric after water absorption; determining, based on the pre- and post-water absorption images, how the same color of the fabric in a first color mode changes between a second color mode before and after water absorption; and determining the fabric's soaking state based on the changes. This application can effectively improve the problem of uneven spraying during spray-rinsing, enhance the uniformity of fabric spraying, and effectively enhance the user experience of a pulsator washing machine with a spray-rinsing function. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] To more clearly illustrate the embodiments of this application or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are merely illustrative, and those skilled in the art can, without inventive effort, derive other implementation drawings based on the provided drawings.
[0051] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not intended to limit the conditions under which this application can be implemented, and therefore have no substantive technical significance. Any structural modifications, changes in proportions, or adjustments in sizes should still fall within the scope of the technical contents disclosed in this application without affecting the efficacy and objectives that can be achieved by this application.
[0052] Figure 1 This is a flowchart of a washing control method according to an embodiment of the present application;
[0053] Figure 2 This is a logic judgment flow chart of a washing control method according to an embodiment of the present application;
[0054] Figure 3 This is a flow chart of some steps in a washing control method according to an embodiment of the present application. DETAILED DESCRIPTION
[0055] The following specific embodiments illustrate the implementation of this application. Those familiar with the art can easily understand the other advantages and functions of this application from the content disclosed in this specification. Obviously, the described embodiments are part of the embodiments of this application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0056] The terms used in the examples of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a," "the," and "the" used in the examples of this application and the appended claims are also intended to include plural forms, and unless the context clearly indicates otherwise, "a plurality" generally includes at least two, but does not exclude the inclusion of at least one.
[0057] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0058] It should also be noted that the terms "include," "comprises," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a product or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such product or system. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the product or system comprising the element.
[0059] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, but should not be understood as limiting the present application.
[0060] A pulsator washing machine has a disc-shaped impeller mounted at the bottom of the washing tub. This impeller, with its protruding ribs, creates a vortex within the tub that sometimes rotates clockwise and sometimes counterclockwise, causing the fabric to spin and tumble along with it, removing dirt and stains.
[0061] During use, the pulsator in the pulsator washing machine is driven by a motor to rotate, that is, the pulsator installed at the bottom of the washing tub rotates forward and backward, driving the fabric to flip up and down and left and right continuously, so that the fabrics and the fabrics and the tub wall are gently rubbed in the water, and the detergent is used to remove dirt and clean the fabrics, thereby cleaning the fabrics.
[0062] Spray rinsing is mainly carried out in the dehydration barrel (also known as the washing barrel) of the pulsator washing machine. This type of pulsator washing machine is usually equipped with a vertical spray pipe with more than 200,000 micropores on its side walls. When the pulsator washing machine is working, tap water will flow into the spray pipe. When the dehydration barrel (also known as the washing barrel) in the pulsator washing machine rotates at high speed, due to the centrifugal effect, water will be sprayed out from the micropores on the side walls of the spray pipe, forming a strong water flow, impacting and spraying onto the fabrics placed around the spray pipe. In this way, the dirt and detergent remaining on the fabric will be effectively washed off and discharged through the small holes in the dehydration barrel and directly into the sewer. Compared with traditional water storage rinsing, this rinsing method has higher cleaning efficiency and water-saving performance.
[0063] During the spray rinse cycle, the process repeats itself, following a one-minute cycle of operation and one-minute rest. During the operation phase, a powerful stream of water gushes from the microscopic holes in the spray pipe, washing away any remaining dirt and detergent from the fabrics. During the rest phase, the continuous flow of tap water keeps the fabrics submerged, providing more opportunities for residuals to dissolve. At the beginning of each new rinse cycle, these dirt and detergents are swept away along with the water.
[0064] The advantage of this spray rinsing method is that since the fabric has no relative movement with the dewatering barrel during the rinsing process, it can significantly reduce the wear on the fabric.
[0065] like Figures 1 to 3 As shown, an exemplary embodiment of the present application provides a washing control method, which can be applied to a pulsator washing machine with a spray rinsing function. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in a different order than shown here.
[0066] Specifically, the washing control method includes the following steps:
[0067] Step S100: obtaining an image of the fabric before water absorption.
[0068] Step S200: obtaining an image of the fabric after water absorption.
[0069] Step S300: determining, based on the image before and after water absorption, how the same color of the fabric in the first color mode changes in the second color mode before and after water absorption.
[0070] Step S400: determining the wetting state of the fabric according to the change condition.
[0071] In step S100, a pulsator washing machine is provided with a washing drum, which includes a washing chamber. The top of the washing chamber has an opening for inserting and removing fabrics. The washing chamber is used to hold fabrics for easy washing. The pulsator washing machine may also be provided with a cover that covers the opening of the washing chamber.
[0072] A visual component can also be provided in the pulsator washing machine. The visual component can be provided on the cover, or can be provided at other locations of the pulsator washing machine, as long as the visual component can realize image capture and / or color image capture of the fabric in the washing chamber.
[0073] Among them, the visual components may include but are not limited to visual sensors, color recognition sensors, cameras, etc.
[0074] That is, a visual component provided in a pulsator washing machine, such as a visual sensor, a color recognition sensor, or a camera, can be used to obtain an image of the fabric before water absorption. Specifically, before spray rinsing, the pulsator in the pulsator washing machine can be used to weigh the fabric, and multiple images of the fabric, i.e., images of the fabric before water absorption, can be obtained using the visual component.
[0075] In one example, because the fabrics being treated may be entangled within the washing tub, some may be hidden from view. In this case, capturing only one or two images of the fabric before water absorption may not fully capture the fabric being treated. Therefore, to improve the accuracy of determining the color types and color information within the fabric, the vision component can be used to capture at least six images of the fabric while the pulsator rotates and the fabric is weighed.
[0076] It should be noted that a lighting component may be provided in the pulsator washing machine to cooperate with the visual component to improve the quality of photographs of fabrics.
[0077] In step S200, after the fabric completes the main wash and dehydration process and a spray rinsing process in the washing tub, the image of the fabric after water absorption is obtained again through a visual component such as a visual sensor, a color recognition sensor or a camera.
[0078] Among them, the spray rinsing process in this step can adopt the existing technology, which will not be described in detail here. In one example, the existing technology of a spray rinsing process is as follows: after the main wash and dehydration of the washing tub is completed, it enters a spray rinsing stage. Before the spraying starts, the number of current pulses in the washing tub at this time is sensed and recorded as A1. Then, the washing tub is controlled to rotate at a low speed (for example, 100-200rpm), and the spray head continues to spray water into the washing tub. At this time, the drainage tractor is turned on, and no water is stored in the washing tub. This state is maintained for 40S. Then, the washing tub is controlled to stop running for 10S, and the number of current pulses in the washing tub at this time is sensed and recorded as A2. Finally, the limit value of the current pulse number A1 minus the current pulse number A2 (the difference between A1-A2) is determined, and based on the size relationship of the limit value, it is determined whether to end the spray rinsing process. Among them, the limit value needs to be limited according to the specific situation, and is not specifically limited here.
[0079] It should be noted that during the spray rinsing process, uneven spraying of the fabric may result in incomplete wetting of the fabric, for example, parts of the fabric not yet absorbing water, which can reduce the fabric treatment effect during subsequent processing. Therefore, after the fabric has completed the main wash and a spraying period in the washing tub, an image of the fabric after water absorption is captured.
[0080] In step S300, after the control system of the pulsator washing machine obtains a pre-water absorption image of the fabric before it is soaked and a post-water absorption image after it is soaked, the control system can determine how the same color of the fabric in a first color mode changes in a second color mode before and after water absorption. In one example, the first color mode is the HSB color mode, and the second color mode is the CMKY color mode.
[0081] Then, the various color types or color categories contained in the fabric can be determined according to the fabric in the HSB color model to determine the color areas that need to be compared in the fabric before and after water absorption.
[0082] In one example, the wetting state of the fabric may be determined by comparing color parameters in an image of the fabric before water absorption with color parameters in an image of the fabric after water absorption.
[0083] For example, a color region corresponding to the color matching between the pre- and post-water absorption images of the fabric is first determined. Then, when a color or multiple colors within the color region undergo a predetermined change before and after water absorption or soaking, such as a color that becomes darker after water absorption or soaking than before water absorption or soaking, the color is considered to have a darkening trend. In one specific example, the color parameter may include the H value of the HSB color parameter to determine the color region for comparison of a color in the fabric before and after water absorption. For example, when the fabric contains yellow, the yellow region is designated as the region for subsequent comparison.
[0084] It should be noted that the H value in the HSB color parameter represents hue (chroma), expressed as an angle from 0 to 360 degrees. The S value in the HSB color parameter represents saturation, expressed as a percentage from 0 to 100%. The B value in the HSB color parameter represents brightness, expressed as a percentage from 0 to 100%.
[0085] After confirming the color regions of the fabric before and after water absorption, the corresponding color regions of the various colors appearing in the color regions before water absorption and in the after water absorption image are determined.
[0086] Then, based on the changes in the sum values of different dimensions of the color area in the CMKY color model before and after water absorption, the changes in the same color are determined. For example, before and after water absorption, the sum value of C+M+Y+K of a certain color in the CMKY color model before water absorption is a first value, and the sum value of C+M+Y+K of the color in the CMKY color model after water absorption is a second value.
[0087] Finally, according to the magnitude relationship between the first value and the second value, the change of the same color before and after absorbing water in the second color mode is determined.
[0088] Finally, in step S400, based on the color darkening trend, it is determined whether the soaking effect of the fabric meets the requirements for subsequent processing, such as whether it meets the requirements for subsequent spray rinsing. For example, if the first value is greater than or equal to the second value, it is determined that the same color of the fabric has not darkened before and after water absorption. In other words, the spraying effect of the first spray rinsing is not good, that is, the spraying uniformity is insufficient, and there are still areas in the fabric that are not fully soaked. The fabric needs to be sprayed again in the second stage.
[0089] When the first value is less than the second value, it can be determined that the same color of the fabric is darker before and after absorbing water, that is, the spray effect of the first spray rinse of the fabric is already uniform enough, and there is no need to add a second spray.
[0090] In this example, the images of the fabric before and after water absorption are used to determine the change in the same color of the fabric in the first color mode under the second color mode before and after water absorption. Then, the wetting state of the fabric can be effectively confirmed based on the change. In this way, the problem of uneven spraying during spray rinsing can be effectively improved, thereby improving the uniformity of fabric spraying and effectively enhancing the user experience of the pulsator washing machine with spray rinsing function.
[0091] like Figure 1 and Figure 3 As shown, in some embodiments, the changes in the fabric before and after absorbing water at least include: whether the color of the fabric becomes darker before and after absorbing water.
[0092] In step S300, determining the change of the same color of the fabric in the first color mode in the second color mode before and after water absorption includes:
[0093] Step S310: determining the color type of the fabric in the first color mode and the corresponding first color and value in the second color mode before water absorption.
[0094] Specifically, determining the color type of the fabric before water absorption in the first color mode includes: determining a color type of the fabric before water absorption in the first color mode.
[0095] In one example, the color type of the fabric in the first color mode before water absorption can be determined by the following method:
[0096] extracting a plurality of color values of the fabric in the first color mode before water absorption;
[0097] According to whether the difference between any two color values in the plurality of color values is less than a threshold, it is determined whether the arbitrary two color values are of the same color type, and in this way all color types in the plurality of color values are determined.
[0098] For example, the H values of the colors extracted in the same state (before water absorption) in the HSB color model are compared, wherein the color value is the H value. All color categories are determined by calculating the difference ΔH between the H values of multiple color categories.
[0099] That is, ΔH=|H2-H1|, where H1 is the H value of a certain color in the HSB color model, and H2 is the H value of another color in the HSB color model.
[0100] If the difference ΔH between two colors is ≤ 20, they are classified as similar colors, counted as the same color, and the number of color types is counted as 1.
[0101] If the difference ΔH between two colors is greater than 20, they are classified as dissimilar colors, counted as different colors, and the number of color types is increased by 1.
[0102] After the color type of the fabric before water absorption is determined, one color is selected from each of the determined color types, and the sum N1 of the color values of the color number in the CMKY color model is calculated and recorded. The sum N1 is the first color sum, which is the sum of different dimensions in the CMKY color model, that is, N1 = the sum of C + M + Y + K.
[0103] Step S320: determining the color type of the fabric after water absorption in the first color mode and the corresponding second color and value in the second color mode.
[0104] Specifically, determining the color type of the fabric in the first color mode after water absorption includes:
[0105] extracting a plurality of color values of the fabric after water absorption in the first color mode;
[0106] According to whether the difference between any two color values in the plurality of color values is less than a threshold, it is determined whether the arbitrary two color values are of the same color type, and in this way all color types in the plurality of color values are determined.
[0107] For example, the H values of the colors extracted in the same state (after water absorption) in the HSB color model are compared, wherein the color value is the H value. All color categories are determined by calculating the difference ΔH between the H values of multiple color categories.
[0108] That is, ΔH=|H2-H1|, where H1 is the H value of a certain color in the HSB color model, and H2 is the H value of another color in the HSB color model.
[0109] If the difference ΔH between two colors is ≤ 20, they are classified as similar colors, counted as the same color, and the number of color types is counted as 1.
[0110] If the difference ΔH between two colors is greater than 20, they are classified as dissimilar colors, counted as different colors, and the number of color types is increased by 1.
[0111] After the color type of the fabric after water absorption is determined, one color is selected from each of the determined color types, and the sum N2 of the color values of the color number in the CMKY color model is calculated and recorded. The sum N2 is the second color sum value, which is the sum of different dimensions in the CMKY color model, that is, N2 = the sum of C+M+Y+K.
[0112] Step S330: comparing the first color sum value and the second color sum value corresponding to any same color type in the first color mode before and after water absorption to determine whether the color of the fabric becomes darker before and after water absorption.
[0113] In step S330 , the following two methods may be used to compare colors and values.
[0114] Method 1: Determine a color type of the fabric in a first color mode before water absorption. For the fabric after water absorption, for each color type determined, compare the first color sum value and the second color sum value of the color type. Then, based on the comparison of the colors, determine whether the color of the fabric becomes darker before and after water absorption.
[0115] Among them, when the first color sum value N1 is greater than or equal to the second color sum value N2, that is, N1 ≥ N2, it is determined that the same color of the fabric does not deepen before and after absorbing water, that is, the spraying effect of the first spray rinsing is poor, that is, the spraying uniformity is insufficient, and there are still places in the fabric that are not fully soaked, and the fabric needs to be sprayed for a second stage.
[0116] When the first color sum value N1 is less than the second color sum value N2, that is, N1<N2, it can be determined that the same color of the fabric is darker before and after absorbing water, that is, the spray effect of the first spray rinse of the fabric is already uniform enough, and there is no need to add a second spray.
[0117] Method 2: determining a color type of the fabric before water absorption in the first color mode, and then determining multiple color types for the fabric after water absorption, and comparing the first color sum value and the second color sum value corresponding to each color in the multiple color types.
[0118] Based on the proportion of the number of each color compared in the total number of colors in multiple color categories, it is determined whether the color of the fabric becomes darker before and after absorbing water.
[0119] If, in the comparison of the colors in the plurality of color categories, the number of first colors with a sum value smaller than the sum value of the second colors accounts for 65% or more of the total number of colors, it is determined that the color of the fabric becomes darker before and after water absorption.
[0120] For example, after determining color A, the first color sum value N1 before color A absorbs water is compared with the second color sum value N2 after color A absorbs water, that is, the magnitude of the first color sum value N1 and the second color sum value N2 is determined.
[0121] After determining the color B, the first color sum value N1 before the color B absorbs water is compared with the second color sum value N2 after the color B absorbs water, that is, the magnitude of the first color sum value N1 and the second color sum value N2 at this time is determined.
[0122] In this way, the color and value relationships of all colors before and after water absorption are calculated in sequence.
[0123] Then, the total number of each contrast relationship of all the above colors is confirmed. For example, the total number is determined to be X, wherein the judgment of N1≥N2 in the above various contrast relationships is Y, then the quotient of Y divided by X is determined, and the proportion of the number of contrasted colors in the multiple color types to the total number of colors can be confirmed through the quotient.
[0124] If the number of colors in the multiple color categories where the sum of the first color is less than the sum of the second color accounts for 65% or more of the total number of colors, the fabric is determined to have darkened before and after water absorption. In other words, if the quotient of Y divided by X is greater than or equal to 65%, it can be determined that the fabric has darkened before and after water absorption, indicating that the spray effect of the first spray rinse is sufficiently uniform, and a second spray rinse is not necessary.
[0125] Among them, when the number of colors in the multiple color categories in which the sum of the first color is less than the sum of the second color accounts for less than 65% of the total number of colors, it is determined that the same color of the fabric has not deepened before and after absorbing water, that is, the spraying effect of the first-stage spray rinsing is poor, that is, the spraying uniformity is insufficient, and there are still places in the fabric that are not fully soaked, and the fabric needs to be sprayed for a second stage.
[0126] In this method, the color sum values of each selected color before and after water absorption are compared, that is, the color sum values of all colors before and after water absorption are compared one by one in the CMKY color model. Based on the comparison results, it is determined whether each color within the color region of the fabric has a darkening trend before and after water absorption to improve the accuracy of the judgment. Specifically, if the number of comparison judgments in which the first color sum value N1 is less than the second color sum value N2 accounts for 65% or more of the total number of comparison judgments for all colors, it can be determined that the fabric has darkened in color after water absorption, and the fabric is considered completely wet. Based on this, the accuracy of fabric wetness judgment can be effectively improved.
[0127] In a specific example, to further improve the accuracy of judging the wet state of the fabric, it can be determined that the fabric becomes darker before and after absorbing water when the number of colors compared among the multiple color types accounts for 75% or more of the total number of colors.
[0128] like Figure 1 and Figure 2 As shown, in some embodiments, the washing control method further includes: selectively performing a second spraying when it is determined that the fabric is not completely soaked.
[0129] The selective secondary spraying includes determining whether to perform the secondary spraying according to the number of spraying times. For example, if the number of spraying times is greater than a threshold, the secondary spraying is not performed. The threshold may be 2, that is, when the number of spraying times is less than 2, the secondary spraying is not performed.
[0130] If the number of spraying times is less than or equal to the threshold, for example, less than or equal to 2 times, a second spraying is performed, and after the second spraying, the above steps S100 to S300 are continued to be used to confirm whether the color of the fabric becomes darker before and after absorbing water.
[0131] like Figure 2 As shown, the specific process of the washing control method provided by an exemplary embodiment of the present application is as follows:
[0132] When the impeller rotates for weighing, the visual sensor obtains 6 images of the fabric before water absorption, extracts the color that appears in the image before water absorption, and records the color number information of the color.
[0133] After color extraction, the HSB color value of the extracted color in the HSB color mode and the CMYK color value in the CMYK color mode are recorded.
[0134] Compare the H values of the HSB color model of the colors extracted under the same state (for example, before water is added), and determine the number of color types of the fabric in the washing tub by calculating the difference ΔH between the H values of multiple colors: ΔH = |H2-H1|. If the difference ΔH between two colors is ≤20, they are classified as similar colors, counted as the same color, and the number of color types is counted as 1; if the difference ΔH between two colors is greater than 20, they are classified as dissimilar colors, counted as different colors, and the number of color types is counted as +1.
[0135] Record the number of colors that appear in the image before absorbing water to ensure that comparable colors can be matched when there are many colors of fabrics in the washing tub.
[0136] Among the current color types, one color is selected, and the first color sum value N1 of the CMYK color mode of the color number is calculated and recorded (the value before washing is N1): N1 = C+M+Y+K.
[0137] Among them, the CMYK color model is a color model widely used in the printing industry. It consists of four colors: Cyan, Magenta, Yellow, and Black. The following is a detailed description of each color:
[0138] Cyan: Cyan is a color close to blue and is located in the blue area of the color wheel. It can be mixed with yellow to produce a green effect in printing.
[0139] Magenta: Magenta is located at the intersection of red and violet on the color wheel. It is a color between red and violet. When mixed with yellow, it produces magenta.
[0140] Yellow: Yellow is one of the three primary colors in printing. It has a bright color and is often used to generate other warm tones. It can produce a variety of colors when mixed with cyan and magenta.
[0141] Black: Black is called the key in the CMYK color model and is used to enhance contrast, darken text, and improve image clarity. Although theoretically, mixing cyan, magenta, and yellow can produce black, due to technical limitations, actual printing requires the use of a single black ink to ensure a pure black effect.
[0142] Color mode principle, CMYK color mode adopts the principle of subtractive color, that is, color is formed by subtracting light (ink in printing). When all colors are superimposed, black is theoretically produced; when there is no color, white is produced. The N1 value of the CMYK color mode here is to collect and determine the initial value of the same color fabric before it is wet (the color is lighter before it is wet), and the initial value represents its initial depth. The CMYK color mode is used because compared with the HSB color mode and RGB color, its numerical value is relatively stable when it changes, and it will not undergo large color changes like the other two, making it more suitable for judging differences.
[0143] The water starts to flow in. After the water is flown in, the normal main wash, dehydration and spray rinsing process are carried out.
[0144] After a spray rinsing process is completed, the visual sensor is used to obtain the water-absorbed image of the fabric in the current washing tub, and the H value of the corresponding color in the water-absorbed image in the HSB color mode is extracted.
[0145] Compare the H values of several colors extracted before washing and match the comparable color system (the changes before and after the fabric is wetted will not be too large, so the comparison and judgment are easier).
[0146] After the color matching is completed, the sum N2 of the second color and value of the CMYK color mode of the color is calculated and recorded (the value after washing is N2): N2 = C+M+Y+K.
[0147] Compare the N values before and after washing (generally, the color of clothes will become darker after absorbing water and soaking in water, which can be judged by comparing the size of N values): If N1 < N2, it is considered that the fabrics in the washing tub have been sprayed evenly enough and there is no need to add a second stage of spraying.
[0148] If N1 ≥ N2, it is considered that the spraying uniformity received by the fabric in the washing tub is insufficient, and there are still places that are not (sufficiently) wetted, and a second stage of spraying is required.
[0149] Then, check and judge whether the number of times the second stage spray is added is greater than 2. If the number is greater than 2, it is judged that there may be a misjudgment and there is no need to continue the second stage spray; if the number is ≤ 2, after executing the second stage spray process, repeat the above color and value judgment operation;
[0150] Execute subsequent processes until the run ends.
[0151] An exemplary embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the washing control method of any of the above embodiments is implemented.
[0152] An exemplary embodiment of the present application provides a fabric processing device, which is controlled by the washing control method of any of the above embodiments, or includes the electronic device of the above embodiments.
[0153] In this example, the washing control method can be applied to a pulsator washing machine with a spray-rinsing function. The washing control method includes: obtaining an image of the fabric before water absorption; obtaining an image of the fabric after water absorption; determining, based on the pre- and post-water absorption images, how the same color of the fabric in a first color mode changes between the second color mode before and after water absorption; and determining the wetting state of the fabric based on the change. This application can effectively improve the problem of uneven spraying during spray-rinsing, enhance the uniformity of fabric spraying, and effectively enhance the user experience of a pulsator washing machine with a spray-rinsing function.
[0154] The serial numbers in the embodiments of this application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0155] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0156] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0157] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0158] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0159] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0160] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A washing control method, which can be applied to a fabric processing device with a spray rinsing function, wherein the fabric processing device can be used to process fabrics, characterized in that: The washing control method comprises: acquiring an image of the fabric before water absorption; acquiring an image of the fabric after water absorption; determining, based on the image before and after water absorption, how the same color of the fabric in the first color mode changes in the second color mode before and after water absorption; The wetting state of the fabric is determined according to the change.
2. The washing control method according to claim 1, characterized in that: The change conditions include: whether the color of the fabric becomes darker before and after absorbing water; The determining of the change of the same color of the fabric in the first color mode in the second color mode before and after water absorption includes: Determine the color type of the fabric in the first color mode and the corresponding first color and value in the second color mode before water absorption; determining the color type of the fabric in the first color mode and the corresponding second color and value in the second color mode after water absorption; The first color sum value and the second color sum value corresponding to any same color type in the first color mode before and after water absorption are compared to determine whether the color of the fabric becomes darker before and after water absorption.
3. The washing control method according to claim 2, characterized in that: The determining of the color type of the fabric before water absorption in the first color mode comprises: determining a color type of the fabric before water absorption in the first color mode; The step of comparing the first color sum value and the second color sum value corresponding to any one color type in the first color mode before and after water absorption to determine whether the color of the fabric becomes darker before and after water absorption includes: For the fabric after water absorption, each time a color type is determined, the first color sum value and the second color sum value of the color type are compared; Based on the comparison of the one color type, determining whether the color of the fabric becomes darker before and after absorbing water; or, For the fabric after water absorption, a plurality of color categories are determined, and the first color sum value and the second color sum value corresponding to each color in the plurality of color categories are compared; Based on the proportion of the number of each color to be compared in the plurality of color types to the total number of colors, it is determined whether the color of the fabric becomes darker before and after absorbing water.
4. The washing control method according to claim 3, characterized in that: The determining whether the color of the fabric becomes darker before and after absorbing water based on the proportion of the number of each color compared in the plurality of color types to the total number of colors includes: If, in the comparison of each color in the plurality of color categories, the number of the first color sum value smaller than the second color sum value accounts for 65% or more of the total number of colors, it is determined that the color of the fabric darkens before and after absorbing water.
5. The washing control method according to claim 2, characterized in that: The determining of the color type of the fabric in the first color mode before water absorption comprises: extracting a plurality of color values of the fabric before water absorption in the first color mode; determining whether any two color values in the plurality of color values are of the same color type based on whether a difference between the two color values in the plurality of color values is less than a threshold, thereby determining all color types in the plurality of color values; Determining the color type of the fabric in the first color mode after water absorption includes: extracting a plurality of color values of the fabric after water absorption in the first color mode; According to whether the difference between any two color values in the plurality of color values is less than a threshold, it is determined whether the arbitrary two color values are of the same color type, and in this way all color types in the plurality of color values are determined.
6. The washing control method according to claim 2, characterized in that: The step of comparing the first color sum value and the second color sum value corresponding to any one color type in the first color mode before and after water absorption to determine whether the color of the fabric becomes darker before and after water absorption includes: Comparing the first color and value with the second color and value; If the first color sum value is greater than or equal to the second color sum value, it is determined that the color of the fabric does not darken before and after absorbing water; If the first color sum value is smaller than the second color sum value, it is determined that the color of the fabric darkens before and after absorbing water.
7. The washing control method according to claim 6, characterized in that: The first color mode is: HSB color mode; The second color mode is the CMKY color mode; The color value is the H value in the HSB color model, and the first color sum value and the second color sum value are sum values of different dimensions in the CMKY color model.
8. The washing control method according to claim 1, characterized in that: Determining the wetting state of the fabric according to the change includes: If the color of the fabric darkens before and after absorbing water, the soaking state is completely soaked, otherwise, it is not soaked; The washing control method further comprises: In the case of non-wetting, a secondary spray is selectively performed.
9. The washing control method according to claim 8, characterized in that: The selective secondary spraying comprises: Determine whether to perform secondary spraying based on the number of spraying times; If the number of spraying times is greater than the threshold, it is determined not to perform secondary spraying; If the number of spraying times is less than or equal to the threshold, a second spraying is performed, and after the second spraying is performed, it is further determined whether the color of the fabric becomes darker before and after the second spraying and water absorption.
10. An electronic device, characterized in that: The washing control method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the washing control method according to any one of claims 1 to 9 is implemented.
11. A fabric processing device, characterized in that: The washing control method according to any one of claims 1 to 9 is used for control, or the electronic device according to claim 10 is included.