Clothing material recognition method and clothing treatment apparatus
By using multiple optical sensors to detect clothing material and utilizing diffuse reflection parameter values and distribution positions to determine the matching situation, the problem of low camera recognition accuracy is solved, achieving efficient and accurate clothing material recognition.
Patent Information
- Application Number
- CN202510095401.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2045-01-21
AI Technical Summary
Existing clothing material recognition technologies rely on camera photography, which is easily affected by water mist and inaccurate focusing, leading to reduced recognition accuracy.
Multiple optical sensors are used to detect clothing material. Each optical sensor corresponds to a different range of diffuse reflection parameters. The clothing material is identified by the diffuse reflection parameter values. When a mismatch is detected, the optical sensor is switched. The matching situation is determined by the distribution of invalid and valid values.
It improves the accuracy and efficiency of clothing material recognition, reduces the consumption of computing resources, lowers the error rate, and ensures the sequential recognition of clothing materials.
Smart Images

Figure CN120026466B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of material identification, in particular to a clothes material identification method and clothes processing device. BACKGROUND
[0002] With the development of technology and the improvement of user demand, the processing accuracy of clothes processing devices for clothes has also been improved. Taking a washing machine as an example, the current washing machine usually identifies the material of clothes before processing the clothes, so that clothes of different materials can adopt different processing parameters, which helps to improve the processing effect of clothes.
[0003] However, the current material identification mostly relies on a camera or other photographing device, which identifies the material of clothes by using image algorithm on the photographed image of clothes. However, in actual use, clothes are easy to block the photographing device, and the photographing device is easy to form water mist or cannot automatically focus, resulting in poor definition of the photographed image of clothes and low accuracy of the identification of the material of clothes. SUMMARY
[0004] The clothes material identification method and clothes processing device provided by the embodiments of the present application can at least solve the technical problem of low accuracy of the identification of the material of clothes.
[0005] According to a first aspect of the embodiments of the present application, a clothes material identification method is provided, which comprises:
[0006] controlling at least one light sensor to sequentially or in groups perform clothes material detection, and determining the material of clothes according to the clothes material detection result of the at least one light sensor;
[0007] wherein different light sensors are used to detect different materials of clothes;
[0008] wherein, for a current light sensor that is performing the clothes material detection, the clothes material detection comprises:
[0009] controlling the current light sensor to detect clothes based on diffuse reflection of light signals, to obtain a plurality of diffuse reflection parameter values;
[0010] generating the clothes material detection result of the current light sensor according to the matching condition of the plurality of diffuse reflection parameter values and a preset diffuse reflection parameter range;
[0011] wherein different light sensors correspond to different diffuse reflection parameter ranges.
[0012] According to the scheme, the light sensor is used to detect the diffuse reflection parameter value to identify the clothing material. Compared with the camera, the scheme is not prone to problems such as water mist, inaccurate focusing, or shielding, which may cause detection failure, and ensures that the clothing material can be sequentially identified. By setting multiple light sensors, and different light sensors correspond to different diffuse reflection parameter ranges, different light sensors can detect different clothing materials. By setting the diffuse reflection parameter range, when the current light sensor cannot detect the clothing material, another light sensor is used for detection, which is beneficial to improve the accuracy of clothing material identification.
[0013] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the method further includes:
[0014] The matching condition is determined according to the number of invalid values in the plurality of diffuse reflection parameter values and / or according to the distribution position of the valid values in the plurality of diffuse reflection parameter values in the corresponding diffuse reflection parameter range.
[0015] According to the scheme, if the currently used light sensor is not used to detect the clothing material of the clothing, there will be invalid values or a concentrated distribution of valid values in the plurality of diffuse reflection parameter values detected. Based on this feature, the matching condition is determined by using the invalid values and / or the distribution position of the valid values, which improves the accuracy of the determined matching condition and thus improves the identification accuracy of the clothing material.
[0016] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the matching condition is determined according to the number of invalid values in the plurality of diffuse reflection parameter values, including:
[0017] If the ratio of the number of invalid values to the total number of the plurality of diffuse reflection parameter values exceeds a preset ratio threshold, it is determined that the plurality of diffuse reflection parameter values and the corresponding diffuse reflection parameter range are not matched.
[0018] According to the scheme, the ratio and the ratio threshold are used to determine the proportion of invalid values, so as to determine the matching condition. The calculation process is simple, which is beneficial to reduce the calculation amount and the occupation of calculation resources, thereby reducing the calculation error rate and improving the identification accuracy of the clothing material.
[0019] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the matching condition is determined according to the distribution position of the valid values in the plurality of diffuse reflection parameter values in the corresponding diffuse reflection parameter range, including:
[0020] If there is an invalid value and more than half of the valid values are in a small interval or a large interval of the corresponding diffuse reflection parameter range, it is determined that the plurality of diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range, wherein the small interval is a range from a middle value to a minimum value of the diffuse reflection parameter range, and the large interval is a range from the middle value to a maximum value of the diffuse reflection parameter range.
[0021] With the above scheme, for the case that there is an invalid value and the valid values are relatively concentrated, it is proved that the currently used light sensor is most likely not used to detect the clothing material of the current clothes, and at this time, it is determined that the matching condition is not matched, which is beneficial to improve the accuracy of clothing material identification.
[0022] In combination with the first aspect, in an optional implementation manner of the embodiments of the present application, the method further includes:
[0023] When more than half of the valid values are in a small interval of the corresponding diffuse reflection parameter range, it is determined whether there is a first target light sensor having a minimum value of the corresponding diffuse reflection parameter range less than a minimum value of the small interval and the first target light sensor not being used in the current clothing material identification process;
[0024] If yes, the first target light sensor is controlled to perform the clothing material detection;
[0025] When more than half of the valid values are in a large interval of the corresponding diffuse reflection parameter range, it is determined whether there is a second target light sensor having a maximum value of the corresponding diffuse reflection parameter range greater than a maximum value of the large interval and the second target light sensor not being used in the current clothing material identification process;
[0026] If yes, the second target light sensor is controlled to perform the clothing material detection.
[0027] With the above scheme, by judging the position of the valid value set, the next used light sensor is quickly determined, which is beneficial to improve the efficiency of clothing material identification.
[0028] In combination with the first aspect, in an optional implementation manner of the embodiments of the present application, the method is applied to a clothing treatment device, and the clothing treatment device includes a treatment drum, and the light sensor rotates with the treatment drum.
[0029] Before the clothing material detection is performed, the method further includes:
[0030] controlling the processing drum of the clothes processing apparatus to rotate the first target light sensor to a preset position before controlling the first target light sensor to perform the clothes material detection, or controlling the processing drum of the clothes processing apparatus to rotate the second target light sensor to the preset position before controlling the second target light sensor to perform the clothes material detection.
[0031] With the above scheme, before performing the clothes material detection, the first target light sensor and the second target light sensor are rotated to the preset position by controlling the processing drum, so as to improve the accuracy of clothes material identification by setting the preset position at a position facilitating the improvement of detection accuracy.
[0032] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the clothes material is determined according to the clothes material detection result of the at least one light sensor, including:
[0033] When the plurality of diffuse reflection parameter values are all located in the corresponding diffuse reflection parameter range and the plurality of diffuse reflection parameter values do not contain invalid values, a material result of the clothes as the clothes material associated with the corresponding diffuse reflection parameter range is generated.
[0034] With the above scheme, only when the plurality of diffuse reflection parameter values do not include invalid values and are all located in a certain diffuse reflection parameter range, the corresponding clothes material is generated, which is conducive to improving the accuracy of clothes material.
[0035] With reference to the first aspect, in an optional implementation of the embodiments of the present application, each of the diffuse reflection parameter ranges corresponds to two of the clothes materials, and the parameter range corresponding to the first of the two clothes materials has a small value, and the parameter range corresponding to the second of the two clothes materials has a large value.
[0036] Before the clothes material result of the clothes as the clothes material associated with the corresponding diffuse reflection parameter range is generated, the method further includes:
[0037] If the plurality of diffuse reflection parameter values are all in the parameter range with a small value, a material result of the clothes belonging to the first of the clothes materials is generated, and if the plurality of diffuse reflection parameter values are all in the parameter range with a large value, a material result of the clothes belonging to the second of the clothes materials is generated.
[0038] Otherwise, the next light sensor is controlled to perform clothes material detection or a clothes material detection result of failed recognition is generated.
[0039] With the above scheme, two of the clothes materials are corresponded to each of the diffuse reflection parameter ranges, so as to improve the efficiency of clothes material identification, reduce the number of light sensors, and help reduce the identification cost.
[0040] In an optional implementation of the embodiments of the present application, in combination with the first aspect, the diffuse reflection parameter range includes a first diffuse reflection parameter range, a second diffuse reflection parameter range, and a third diffuse reflection parameter range.
[0041] The clothing material corresponding to the first diffuse reflection parameter range includes cotton and hemp, wherein the value of the parameter range corresponding to cotton is less than the value of the parameter range corresponding to hemp.
[0042] The clothing material corresponding to the second diffuse reflection parameter range includes wool and silk, wherein the value of the parameter range corresponding to silk is less than the value of the parameter range corresponding to wool.
[0043] The clothing material corresponding to the third diffuse reflection parameter range includes polyester fiber and chemical fiber, wherein the value of the parameter range corresponding to polyester fiber is less than the value of the parameter range corresponding to chemical fiber.
[0044] The above scheme is adopted to facilitate the identification of common clothing materials and meet the clothing identification requirements.
[0045] In an optional implementation of the embodiments of the present application, in combination with the first aspect, the distance between the light sensor corresponding to the first diffuse reflection parameter range and the clothing is a first distance, the distance between the light sensor corresponding to the second diffuse reflection parameter range and the clothing is a second distance, and the distance between the light sensor corresponding to the third diffuse reflection parameter range and the clothing is a third distance.
[0046] The first distance is less than the second distance, and the second distance is less than the third distance.
[0047] The above scheme is adopted. Different distances between different light sensors and clothing will cause the diffuse reflection parameter values to have a large difference when each light sensor detects clothing of different clothing materials, thereby facilitating the differentiation of different clothing materials in different light sensors and achieving the purpose of using different light sensors to detect clothing of different clothing materials.
[0048] In an optional implementation of the embodiments of the present application, in combination with the first aspect, the light sensor is an ultraviolet sensor or an infrared sensor, and the light sensor includes an emitter and a receiver, and the emitter and the receiver are arranged in a parallel tiling manner below the clothing.
[0049] The method further includes:
[0050] The wavelength and / or light intensity of the reflected light signal received by the receiver multiple times are subjected to data conversion processing to obtain multiple diffuse reflection parameter values.
[0051] With the above scheme, the wavelength and / or light intensity is used to obtain the diffuse reflection parameter value, instead of directly using the wavelength and / or light intensity as the diffuse reflection parameter value, which facilitates increasing the difference between different clothing materials through data conversion processing, thereby more accurately identifying the clothing material of the clothing.
[0052] According to a second aspect of the embodiments of the present application, a laundry treating apparatus is provided, including a treating drum and a plurality of light sensors arranged on an inner wall of the treating drum, the plurality of light sensors being arranged at intervals from each other and used to detect different clothing materials.
[0053] In combination with the first aspect, in an optional implementation of the embodiments of the present application, the plurality of light sensors are arranged at equal intervals along the circumferential direction of the inner wall of the treating drum.
[0054] In combination with the first aspect, in an optional implementation of the embodiments of the present application, the number of the light sensors is 3, and the adjacent light sensors are arranged at intervals of 120 degrees, and the distances of the 3 light sensors from the clothing are different when detecting the clothing material, wherein the 3 light sensors include a first light sensor, a second light sensor and a third light sensor, the distance between the first light sensor and the clothing is a first distance, the distance between the second light sensor and the clothing is a second distance, and the distance between the third light sensor and the clothing is a third distance.
[0055] The first distance is less than the second distance, and the second distance is less than the third distance.
[0056] The clothing material detected by the first light sensor of the 3 light sensors includes cotton and hemp, the clothing material detected by the second light sensor includes wool and silk, and the clothing material detected by the third light sensor includes polyester fiber and chemical fiber.
[0057] According to a third aspect of the embodiments of the present application, a laundry treating apparatus is provided, which uses the above-mentioned clothing material identification method to identify the clothing material.
[0058] The technical effects obtained by the above-mentioned second and third aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be described here again. BRIEF DESCRIPTION OF DRAWINGS
[0059] Figure 1 is a flowchart of a clothing material identification method provided by the embodiments of the present application;
[0060] Figure 2 is an application flowchart of a clothing material identification method provided by the embodiments of the present application. DETAILED DESCRIPTION
[0061] In order to make the personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0062] It should be understood that "multiple" mentioned herein refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" herein is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. In addition, in order to clearly describe the technical scheme of the embodiments of the present application, in the embodiments of the present application, "first", "second" and the like are used to distinguish the same items or similar items with basically the same function and role. The skilled in the art can understand that "first", "second" and the like do not limit the quantity and execution order, and "first", "second" and the like do not necessarily mean different
[0063] In addition, the terms "include" and "have" and any variation thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0064] The embodiments of the present application provide a clothing material identification method, referring to the flowchart of the clothing material identification method shown in Figure 1 The method includes the following processing processes.
[0065] The at least one light sensor sequentially or in groups performs clothing material detection, and determines the clothing material according to the clothing material detection result of the at least one light sensor.
[0066] Different light sensors are used to detect different clothing materials. When clothing material detection is performed in groups, the at least one light sensor is divided into a group, and the light sensors in each group perform clothing material detection at the same time.
[0067] For the current light sensor that is performing the clothing material detection, the clothing material detection includes:
[0068] S100, control the current light sensor to detect the clothes based on the diffuse reflection of the light signal, and obtain a plurality of diffuse reflection parameter values.
[0069] When identifying the material of the clothes, the light sensor emits an incident light signal to the clothes. After the incident light signal contacts the clothes, it is either transmitted through the clothes or diffusely reflected after contacting the clothes. In this embodiment, only the diffuse reflection parameter values generated after diffuse reflection are obtained.
[0070] It should be noted that the diffuse reflection parameter value can be a parameter value of the reflected light signal after diffuse reflection, such as the wavelength and light intensity of the reflected light signal. Alternatively, the diffuse reflection parameter value can be a parameter value obtained by calculating the parameter of the reflected light signal, such as substituting the wavelength and / or light intensity of the reflected light signal into a preset calculation formula. In general, as long as different clothes materials can correspond to different diffuse reflection parameter values.
[0071] S102, generating a clothes material detection result of the current light sensor according to the matching of the plurality of diffuse reflection parameter values and the preset diffuse reflection parameter range.
[0072] Among them, the light sensor is provided with at least two, different light sensors correspond to different diffuse reflection parameter ranges, different diffuse reflection parameter ranges correspond to different clothes materials, and different light sensors are used in each clothes material detection.
[0073] That is, a plurality of light sensors a, b, … are preset, the light sensor a corresponds to the diffuse reflection parameter range A, the light sensor b corresponds to the diffuse reflection parameter range B, the clothes material corresponding to the diffuse reflection parameter range A is X, and the clothes material corresponding to the diffuse reflection parameter range B is Y. In the process of identifying the clothes material, a light sensor, such as the light sensor a, is used first. Through multiple detections of the light sensor a, a plurality of diffuse reflection parameter values a1, a2, …, an are obtained. According to the matching of a1, a2, …, an and the diffuse reflection parameter range A, either the clothes material result X is generated (proving that the material of the clothes is X), or the next light sensor is controlled to detect the clothes material.
[0074] If the next light sensor is controlled to detect the clothes material, the light sensor b is used to detect the clothes to obtain a plurality of diffuse reflection parameter values b1, b2, …, bn. According to the matching of b1, b2, …, bn and the diffuse reflection parameter range B, either the material result Y is generated (proving that the material of the clothes is Y), or the next light sensor is controlled to detect the clothes material.
[0075] Specifically, in an embodiment of the present application, the light signal can produce diffuse reflection after contacting the clothes, and the diffuse reflection parameter value can be obtained.
[0076] Specifically, the diffuse reflection parameter value can be a parameter value of the reflected light signal after diffuse reflection, such as the wavelength and / or light intensity of the reflected light signal, or can be a parameter value obtained by calculating the parameter value of the reflected light signal itself, such as the wavelength and / or light intensity of the reflected light signal substituted into a preset calculation formula to obtain the diffuse reflection parameter value. In general, as long as different clothing materials can correspond to different diffuse reflection parameter values.
[0077] In an embodiment, the preset calculation formula for calculating the diffuse reflection parameter value can be a formula containing the wavelength and light intensity of the reflected light signal, for example, the diffuse reflection parameter value a = (wavelength λ - absorbed wavelength ΔE) / wavelength λ * φ light flux * power factor (light intensity related).
[0078] In an embodiment, in order to determine the material of the clothing, a diffuse reflection standard value interval (corresponding to a diffuse reflection parameter range) is preset, different diffuse reflection standard value intervals correspond to different clothing materials, that is, the diffuse reflection standard value interval has a corresponding relationship with the clothing material.
[0079] Specifically, the diffuse reflection standard value interval is a numerical interval composed of diffuse reflection standard values. It should be noted that the diffuse reflection standard value and the diffuse reflection parameter value are values of the same type or obtained by the same algorithm, and the difference is that the diffuse reflection standard value is a parameter value obtained by diffuse reflection experiment on the clothing under the condition that the clothing material is known, while the diffuse reflection parameter value is a parameter value obtained by diffuse reflection on the clothing when the clothing material is actually identified. In order to facilitate understanding, for example, in the test, the wavelength and light intensity of the reflected light signal after diffuse reflection are calculated by using formula A to obtain the diffuse reflection standard value, and after multiple experiments on the clothing of material a, a numerical interval P1 can be divided according to all the obtained diffuse reflection standard values. In actual identification of the clothing material, the wavelength and light intensity of the reflected light signal after diffuse reflection are also calculated by using formula A, that is, the diffuse reflection parameter value is obtained. Since the calculation process of the diffuse reflection parameter value is the same as that of the diffuse reflection standard value, the clothing material of the clothing can be determined according to the diffuse reflection parameter value.
[0080] The corresponding relationship between the diffuse reflection standard value interval and the clothing material is that each type of clothing material corresponds to a diffuse reflection standard value interval, and the diffuse reflection standard value intervals corresponding to different types of clothing materials are different. For example, the material a corresponds to the diffuse reflection standard value interval P1, which is the corresponding relationship. When the diffuse reflection parameter value is in P1, it can be determined that the clothing material of the clothing is a. Preferably, the corresponding relationship obtained by testing using the ultraviolet sensor and using the formula includes: 100-130 is tested to be cotton, 135-155 is tested to be hemp, 190-230 is corresponding to wool, 165-189 is corresponding to silk, 290-330 is corresponding to polyester fiber, and 335-390 is corresponding to chemical fiber.
[0081] By using the above scheme, the diffuse reflection parameter value detected by the light sensor is used to identify the clothing material. Compared with using a camera, it is not easy to cause problems such as water mist, inaccurate focusing, or shielding, which cannot be detected, so that the clothing material can be sequentially identified. By setting multiple light sensors, and different light sensors corresponding to different diffuse reflection parameter ranges, different light sensors can detect different clothing materials. By setting the diffuse reflection parameter range, when the currently used light sensor cannot detect the material of the clothing, other light sensors are replaced for detection, which is beneficial to improve the accuracy of clothing material identification.
[0082] In combination with the first aspect, in an optional implementation of the embodiments of the present application, the method further includes:
[0083] According to the number of invalid values in the plurality of diffuse reflection parameter values and / or according to the distribution position of the valid values in the corresponding diffuse reflection parameter range, the matching condition is determined.
[0084] Since different light sensors are used to detect different clothing materials, when the clothing material of the clothing to be detected does not correspond to the light sensor, an invalid value will appear. Specifically, the invalid value can be 0 or null, and the present embodiment does not make specific limitations. The valid value refers to a numerical value with a size, such as 100, 123, etc.
[0085] Since the diffuse reflection parameter range is actually a numerical segment, for example, 100-200, which represents all numerical values in the interval of 100 to 200, the distribution position refers to the position of the diffuse reflection parameter value in the diffuse reflection parameter interval. For example, the diffuse reflection parameter interval can be divided into two intervals, 100-150 and 150-200; or three or more intervals, and different intervals correspond to different distribution positions.
[0086] Adopting the above scheme, if the currently used light sensor is not used to detect the clothes material of the clothes, invalid values or a case where valid values are concentrated will appear in the detected multiple diffuse reflection parameter values. Based on the characteristics, the matching condition is determined by using the invalid values and / or the distribution position of the valid values, the accuracy of the determined matching condition is improved, and thus the recognition accuracy of the clothes material is improved.
[0087] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the matching condition is determined according to the number of invalid values in the multiple diffuse reflection parameter values, including:
[0088] If the ratio of the number of invalid values to the total number of the multiple diffuse reflection parameter values exceeds a preset ratio threshold, it is determined that the multiple diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range.
[0089] For example, the total number of the multiple diffuse reflection parameter values is 10, of which the number of invalid values is 4, and the ratio is 4 / 10, that is, 40%. If 40% exceeds the ratio threshold, it is determined that the multiple diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range, otherwise, it is determined that the multiple diffuse reflection parameter values match the corresponding diffuse reflection parameter range.
[0090] Adopting the above scheme, the proportion of invalid values is determined by the ratio and the ratio threshold, and thus the matching condition is determined. The calculation process is simple, which is conducive to reducing the calculation amount and the occupation of calculation resources, thereby reducing the calculation error rate and improving the recognition accuracy of the clothes material.
[0091] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the matching condition is determined according to the distribution position of the valid values in the corresponding diffuse reflection parameter range in the multiple diffuse reflection parameter values, including:
[0092] If there are invalid values and more than half of the valid values are in the small interval or the large interval of the corresponding diffuse reflection parameter range, it is determined that the multiple diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range, wherein the small interval is the range from the middle value to the minimum value of the diffuse reflection parameter range, and the large interval is the range from the middle value to the maximum value of the diffuse reflection parameter range.
[0093] The first condition is that there are invalid values, but at this time, the number of invalid values is not concerned. The second condition is that more than half of the valid values are in the small interval or the large interval of the diffuse reflection parameter range. If both conditions are met, it is determined that the multiple diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range. If the two conditions are not met simultaneously or neither of the two conditions is met, it is determined that the multiple diffuse reflection parameter values match the corresponding diffuse reflection parameter range.
[0094] For example, the multiple diffuse reflection parameter values include 165, 166, 170, null, null, null, 160, null, 169, null. Since the null, i.e. invalid value, is included, the first condition is met. The diffuse reflection parameter range corresponding to the currently detected light sensor is (120-170). The diffuse reflection parameter range is divided into the small range (120-145) and the large range (145-170) from the middle. It can be seen that all the valid values are in the large range. At this time, both conditions are met. It is determined that the matching condition is mismatch.
[0095] By using the above scheme, for the case that there are invalid values and the valid values are relatively concentrated, it is proved that the currently used light sensor is most probably not used to detect the clothes material of the current clothes. At this time, it is determined that the matching condition is mismatch. This is beneficial to improve the accuracy of clothes material identification.
[0096] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the method further includes:
[0097] When more than half of the valid values are in the small range of the corresponding diffuse reflection parameter range, it is judged whether there is a first target light sensor having the minimum value of the corresponding diffuse reflection parameter range less than the minimum value of the small range and the first target light sensor not being used in the current clothes material identification process.
[0098] If yes, the first target light sensor is controlled to perform clothes material detection.
[0099] When more than half of the valid values are in the large range of the corresponding diffuse reflection parameter range, it is judged whether there is a second target light sensor having the maximum value of the corresponding diffuse reflection parameter range greater than the maximum value of the large range and the second target light sensor not being used in the current clothes material identification process.
[0100] If yes, the second target light sensor is controlled to perform clothes material detection.
[0101] In the previous example, the small range is (120-145) and the large range is (145-170). The used light sensor b and the unused light sensor a are used. The diffuse reflection parameter range (60-120) corresponding to the light sensor c is used. Since the valid values are all in the large range, the next used light sensor is c.
[0102] By using the above scheme, the next used light sensor is quickly determined by judging the position of the valid value set. This is beneficial to improve the efficiency of clothes material identification.
[0103] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the laundry processing apparatus comprises a processing drum, and the light sensor is arranged to rotate with the processing drum.
[0104] Before the execution of the laundry material detection, the method further comprises:
[0105] The processing drum of the laundry processing apparatus is controlled to rotate by a preset angle, or the first target light sensor is controlled to rotate to a preset position by the processing drum of the laundry processing apparatus before the execution of the laundry material detection by the first target light sensor, or the second target light sensor is controlled to rotate to a preset position by the processing drum of the laundry processing apparatus before the execution of the laundry material detection by the second target light sensor.
[0106] In an embodiment, the laundry processing apparatus can be controlled to rotate by a certain angle, so that the light sensor for detection is located at the bottom of the processing drum, so that the laundry covers the light sensor, and the detection accuracy is improved. Similarly, the preset position can also be the bottom of the processing drum.
[0107] With the above scheme, before the execution of the laundry material detection, the first target light sensor and the second target light sensor are directly controlled to rotate to the preset position by controlling the rotation of the processing drum, which is beneficial to improve the accuracy of the laundry material identification by setting the preset position at a position that is convenient for improving the detection accuracy.
[0108] With reference to the first aspect, in an optional implementation of the embodiments of the present application, the laundry material is determined according to the laundry material detection result of the at least one light sensor, comprising:
[0109] When the plurality of diffuse reflection parameter values are all located in the corresponding diffuse reflection parameter range and the plurality of diffuse reflection parameter values do not contain invalid values, the material result of the laundry material associated with the corresponding diffuse reflection parameter range is generated.
[0110] With the above scheme, only when the plurality of diffuse reflection parameter values do not include invalid values and are all located in a certain diffuse reflection parameter range, the corresponding laundry material is generated, which is beneficial to improve the accuracy of the laundry material.
[0111] With reference to the first aspect, in an optional implementation of the embodiments of the present application, each diffuse reflection parameter range corresponds to two kinds of laundry materials, and the value of the parameter range corresponding to the first kind of laundry material in the two kinds of laundry materials is small, and the value of the parameter range corresponding to the second kind of laundry material is large.
[0112] Before the generation of the material result of the laundry material associated with the corresponding diffuse reflection parameter range, the method further comprises:
[0113] If the plurality of diffuse reflection parameter values are all in the parameter range with small values, the generated clothing belongs to the material result of the first clothing material, and if the plurality of diffuse reflection parameter values are all in the parameter range with large values, the generated clothing belongs to the material result of the second clothing material,
[0114] Otherwise, the next light sensor is controlled to perform clothing material detection, or a clothing material detection result of a recognition failure is generated.
[0115] That is, each diffuse reflection parameter range corresponds to two clothing materials, for example, cotton and hemp. When determining the two clothing materials corresponding to each diffuse reflection parameter range, two clothing materials with close diffuse reflection parameter values can be determined as the same diffuse reflection parameter range.
[0116] By using the above scheme, two clothing materials are corresponded to each diffuse reflection parameter range, so as to improve the efficiency of clothing material recognition, reduce the number of light sensors, and help reduce the recognition cost.
[0117] In combination with the first aspect, in an optional implementation manner of the embodiments of the present application, the diffuse reflection parameter range includes a first diffuse reflection parameter range, a second diffuse reflection parameter range, and a third diffuse reflection parameter range.
[0118] The clothing materials corresponding to the first diffuse reflection parameter range include cotton and hemp, wherein the parameter range corresponding to cotton has smaller values than the parameter range corresponding to hemp.
[0119] The clothing materials corresponding to the second diffuse reflection parameter range include wool and silk, wherein the parameter range corresponding to silk has smaller values than the parameter range corresponding to wool.
[0120] The clothing materials corresponding to the third diffuse reflection parameter range include polyester fiber and chemical fiber, wherein the parameter range corresponding to polyester fiber has smaller values than the parameter range corresponding to chemical fiber.
[0121] In an embodiment, the ranges corresponding to cotton and hemp are 100-130 for cotton and 135-155 for hemp; the ranges corresponding to wool and silk are 190-230 for wool and 165-189 for silk; and the ranges corresponding to polyester fiber and chemical fiber are 290-330 for polyester fiber and 335-390 for chemical fiber.
[0122] By using the above scheme, it is beneficial to recognize common clothing materials and meet the clothing recognition requirements.
[0123] In combination with the first aspect, in an optional implementation manner of the embodiments of the present application, the distance between the light sensor corresponding to the first diffuse reflection parameter range and the clothing is a first distance, the distance between the light sensor corresponding to the second diffuse reflection parameter range and the clothing is a second distance, and the distance between the light sensor corresponding to the third diffuse reflection parameter range and the clothing is a third distance.
[0124] The first distance is less than the second distance, and the second distance is less than the third distance.
[0125] Preferably, the first distance is 10 mm, the second distance is 15 mm, and the third distance is 20 mm.
[0126] With the above scheme, the different distances between different light sensors and clothes will make the diffuse reflection parameter values of each light sensor when detecting clothes of different clothes materials have a large difference, thereby facilitating the differentiation of different clothes materials in different light sensors, and achieving the purpose of using different light sensors to detect clothes of different clothes materials.
[0127] In combination with the first aspect, in an optional implementation manner of the embodiments of the present application, the light sensor is an ultraviolet sensor or an infrared sensor, and the light sensor includes an emitter and a receiver, and the emitter and the receiver are arranged in a parallel tiling manner below the clothes.
[0128] The method further includes:
[0129] The wavelength and / or light intensity of the reflected light signals received by the receiver multiple times are subjected to data conversion processing to obtain multiple diffuse reflection parameter values.
[0130] According to the second aspect of the embodiments of the present application, a clothes treatment device is provided, including a treatment drum and multiple light sensors arranged on the inner wall of the treatment drum, the multiple light sensors are arranged at intervals from each other and are used to detect different clothes materials.
[0131] In combination with the second aspect, in an optional implementation manner of the embodiments of the present application, the multiple light sensors are arranged at equal intervals along the circumferential direction of the inner wall of the treatment drum.
[0132] In combination with the second aspect, in an optional implementation manner of the embodiments of the present application, the number of the light sensors is 3, the adjacent light sensors are arranged at intervals of 120 degrees, and the distances of the 3 light sensors to the clothes are different when detecting the clothes materials, wherein the 3 light sensors include a first light sensor, a second light sensor, and a third light sensor, the distance between the first light sensor and the clothes is a first distance, the distance between the second light sensor and the clothes is a second distance, and the distance between the third light sensor and the clothes is a third distance,
[0133] The first distance is less than the second distance, and the second distance is less than the third distance.
[0134] The clothes material detected by the first light sensor of the 3 light sensors includes cotton and hemp, the clothes material detected by the second light sensor includes wool and silk, and the clothes material detected by the third light sensor includes polyester fiber and chemical fiber.
[0135] According to a third aspect of the embodiments of the present application, a laundry treating apparatus is provided, which adopts the above-mentioned laundry material identification method to identify the material of the laundry
[0136] In the above-described embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments. The steps shown in the related flowcharts can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here. In other words, the order of the steps described in the foregoing embodiments is only an example, and reasonable adjustment of the order of the steps based on the content of the embodiments of the present application is also within the protection scope of the embodiments of the present application.
[0137] In a specific implementation of the embodiments of the present application, as shown in Figure 2 The laundry material identification method includes the following processing procedures:
[0138] Parameter description: Each of the three lifting ribs is provided with an ultraviolet sensor. The first ultraviolet sensor (10 mm) detects the material as cotton and hemp, and the corresponding detection material interval of cotton and hemp is cotton 60-120 and hemp 120-170; the second ultraviolet sensor (15 mm) detects the material as wool and silk, and the detection material interval is wool 221-300 and silk 160-220; the third ultraviolet sensor (20 mm) detects the material as polyester fiber and chemical fiber, and the detection material interval of polyester fiber is 290-330, and the detection material interval of chemical fiber is 335-390.
[0139] Control logic and principle description:
[0140] The user puts the clothes into the drum, the ultraviolet sensor is installed inside the lifting rib to detect the material of the clothes in the drum by diffuse reflection, and the material of the clothes is identified. The three lifting ribs are provided with ultraviolet sensors, the relative positions between each lifting rib are spaced by 120°, and each sensor is installed inside the lifting rib and is spaced from the material of the clothes to be detected by different distances, which are 10 mm, 15 mm and 20 mm respectively. According to the experimental conditions, it is obtained that the interval range of each material detected under the condition of 10 mm is relatively wide, and the material parameters of different materials will be partially overlapped, but after multiple detections, it is obtained that the corresponding relatively accurate materials detected under the condition of a detection distance of 10 mm should be cotton and hemp, and the corresponding material parameter interval is cotton 60-120 and hemp 120-170. The corresponding materials of the ultraviolet sensor spaced from the material of the clothes to be detected by a distance of 15 mm should be wool and silk, and the corresponding material parameter interval is wool 221-300 and silk 160-220. The materials detected by the ultraviolet sensor corresponding to the clothes to be detected by a distance of 20 mm are polyester fiber and chemical fiber, and the corresponding material parameters are polyester fiber 290-330 and chemical fiber 335-390.
[0141] When the ultraviolet sensor is used to test the material identification of clothes, the ultraviolet sensor on each lifting rib continuously collects 10 times of data of the clothes in the drum, 10 times of sampling are performed to judge whether the material parameters fall within the interval range, whether the data of more than 5 times can be detected after 10 times of continuous data collection, if yes, or most of the values are at the upper limit of the interval, then the detection result of the sensor on this lifting rib is not within the range of this lifting rib, and the ultraviolet sensor on another lifting rib should be used for detection, at this time, after determination, the ultraviolet sensor on the next lifting rib is selected by rotating 120° for testing until it is judged that 10 times of continuous data collection can collect data and can fall within the interval range, and then it can be determined that the material is of which kind. Finally, after the material parameters detected are determined to be of which kind, the appropriate parameters are adjusted to determine the start of washing.
[0142] For example, if the first 10 times of collected data fall within the upper limit of the interval, for example, the collected data are 165, 166, 170, null, null, null, 160, null, 169, null. Then this case can be determined to be not the material of hemp, but the material of silk, then after rotating 120°, it is checked whether data can be collected, if the first three times are null, then the sensor is not for detecting silk, and needs to be rotated by 120° again for detection, if 10 times of detection fall within the interval of the material of silk, 165, 166, 170, 180, 185, 190, 160, 178, 169, 176, then it can be determined that the detected material is silk.
[0143] The sequence of the embodiments or the introduction in the application is only for description, and does not represent the advantages and disadvantages of the embodiments.
[0144] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other manners. The described device embodiments are merely illustrative, for example, the division of units can be different, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection can be indirect coupling or communication connection through some interfaces, units or modules, and can be electrical or other forms.
[0145] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0146] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0147] In the above embodiments, all or part can be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed by a computer, the computer instructions generate all or part of the processes or functions described in the embodiments of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center through wired (for example: coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example: infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium accessible by a computer, or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), an optical medium (for example: digital versatile disc (DVD)), or a semiconductor medium (for example: solid state disk (SSD)), etc. It should be noted that the computer-readable storage medium mentioned in the embodiments of the present application can be a non-volatile storage medium, in other words, it can be a non-transitory storage medium.
[0148] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data need to comply with relevant laws, regulations, and standards of relevant countries and regions. For example, the scene data of the current frame in the three-dimensional virtual scene, the device information of the client, and the scene interaction information involved in the embodiments of the present application are all obtained under sufficient authorization.
[0149] The above only describes the preferred embodiments of the present application. It should be noted that for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should also be considered within the scope of protection of the present application.
Claims
1. A method for identifying clothing material, characterized in that, The method includes: Control at least one optical sensor to detect clothing material sequentially or in groups, and determine the clothing material based on the clothing material detection results of the at least one optical sensor; Different optical sensors are used to detect different clothing materials; Specifically, for the current optical sensor performing the clothing material detection, the clothing material detection includes: The current optical sensor is controlled to detect clothing based on the diffuse reflection of light signals, and multiple diffuse reflection parameter values are obtained; Based on the matching results of multiple diffuse reflection parameter values with a preset diffuse reflection parameter range, the clothing material detection result of the current optical sensor is generated; Different optical sensors correspond to different ranges of diffuse reflection parameters; The method further includes: The matching condition is determined based on the number of invalid values among the multiple diffuse reflection parameter values.
2. The method for identifying clothing material according to claim 1, characterized in that, Determining the matching status based on the number of invalid values among the multiple diffuse reflection parameter values includes: If the ratio of the number of invalid values to the total number of multiple diffuse reflection parameter values exceeds a preset ratio threshold, then it is determined that multiple diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range.
3. The method for identifying clothing material according to claim 2, characterized in that, The method further includes: The matching condition is determined based on the distribution of the effective values among the multiple diffuse reflection parameter values within the corresponding diffuse reflection parameter range.
4. The clothing material identification method according to claim 3, characterized in that, Determining the matching condition based on the distribution position of the valid values among the multiple diffuse reflection parameter values within the corresponding diffuse reflection parameter range includes: If there are invalid values and more than half of the valid values fall within a small or large interval of the corresponding diffuse reflection parameter range, then it is determined that multiple diffuse reflection parameter values do not match the corresponding diffuse reflection parameter range. The small interval is the range from the median value to the minimum value of the diffuse reflection parameter range, and the large interval is the range from the median value to the maximum value of the diffuse reflection parameter range.
5. The clothing material identification method according to claim 4, characterized in that, The method further includes: When more than half of the valid values are within the corresponding small intervals of the diffuse reflection parameter range, it is determined whether there is a first target light sensor whose minimum value of the corresponding diffuse reflection parameter range is less than the minimum value between the small intervals, and whether the first target light sensor has not been used in this clothing material identification process; If so, then control the first target light sensor to perform the clothing material detection; When more than half of the valid values are within a large range of the corresponding diffuse reflection parameter range, it is determined whether there is a second target light sensor whose maximum value of the corresponding diffuse reflection parameter range is greater than the maximum value of the large range, and whether the second target light sensor has not been used in this clothing material identification process; If so, then control the second target light sensor to perform the clothing material detection.
6. The clothing material identification method according to claim 5, characterized in that, An application in clothing processing equipment, the clothing processing equipment including a processing drum, wherein the optical sensor rotates following the rotation of the processing drum; Before performing the clothing material detection, the method further includes: The processing cylinder of the garment processing device is controlled to rotate at a preset angle, or the processing cylinder of the garment processing device is controlled to rotate the first target light sensor to a preset position before the first target light sensor performs the garment material detection, or the processing cylinder of the garment processing device is controlled to rotate the second target light sensor to the preset position before the second target light sensor performs the garment material detection.
7. The method for identifying clothing material according to any one of claims 1-6, characterized in that, Determining the clothing material based on the clothing material detection results of the at least one optical sensor includes: When multiple diffuse reflection parameter values are all within the corresponding diffuse reflection parameter range and the multiple diffuse reflection parameter values do not contain invalid values, the generated clothing is a material result of the clothing material associated with the corresponding diffuse reflection parameter range.
8. The method for identifying clothing material according to claim 7, characterized in that, Each of the diffuse reflection parameter ranges corresponds to two types of clothing materials, and the parameter range corresponding to the first clothing material has a smaller value, while the parameter range corresponding to the second clothing material has a larger value. Before generating a material result for the clothing as associated with the corresponding diffuse reflection parameter range, the method further includes: If multiple diffuse reflection parameter values are all within the smaller range of parameter values, then the clothing is generated as belonging to the first type of clothing material. If multiple diffuse reflection parameter values are all within the larger range of parameter values, then the clothing is generated as belonging to the second type of clothing material. Otherwise, control the next optical sensor to perform clothing material detection or generate a clothing material detection result indicating that the identification failed.
9. The method for identifying clothing material according to any one of claims 1-6, characterized in that, The diffuse reflection parameter range includes a first diffuse reflection parameter range, a second diffuse reflection parameter range, and a third diffuse reflection parameter range; The clothing materials corresponding to the first diffuse reflection parameter range include cotton and linen, wherein the value of the parameter range corresponding to cotton is smaller than the value of the parameter range corresponding to linen. The clothing materials corresponding to the second diffuse reflection parameter range include wool and silk, wherein the parameter range value for silk is smaller than the parameter range value for wool; The clothing materials corresponding to the third diffuse reflection parameter range include polyester fiber and chemical fiber, wherein the parameter range value corresponding to polyester fiber is smaller than the parameter range value corresponding to chemical fiber.
10. The method for identifying clothing material according to claim 9, characterized in that, The distance between the photosensor and the clothing corresponding to the first diffuse reflection parameter range is the first distance; the distance between the photosensor and the clothing corresponding to the second diffuse reflection parameter range is the second distance; and the distance between the photosensor and the clothing corresponding to the third diffuse reflection parameter range is the third distance. The first distance is less than the second distance, and the second distance is less than the third distance.
11. The method for identifying clothing material according to any one of claims 1-6, characterized in that, The optical sensor is an ultraviolet sensor or an infrared sensor, and the optical sensor includes an emitter and a receiver, which are arranged in parallel and laid flat under the clothing. The method further includes: Data conversion processing is performed based on the wavelength and / or intensity of the reflected light signals received multiple times by the receiving electrode to obtain multiple diffuse reflection parameter values.
12. A garment processing device, characterized in that, It includes a processing cylinder and multiple light sensors disposed on the inner wall of the processing cylinder. The multiple light sensors are spaced apart from each other and are used to detect different clothing materials.
13. The garment processing equipment according to claim 12, characterized in that, Multiple optical sensors are arranged at equal intervals along the circumference of the inner wall of the processing cylinder.
14. The garment processing apparatus according to claim 12 or 13, characterized in that, The system comprises three optical sensors, each positioned at a different distance from the clothing material when detecting its texture. Specifically, the three sensors are a first optical sensor, a second optical sensor, and a third optical sensor. The distance between the first optical sensor and the clothing is designated as a first distance, the second optical sensor as a second distance, and the third optical sensor as a third distance. The first distance is less than the second distance, and the second distance is less than the third distance; The first of the three optical sensors is used to detect clothing materials including cotton and linen, the second optical sensor is used to detect clothing materials including wool and silk, and the third optical sensor is used to detect clothing materials including polyester and synthetic fibers.
15. A garment processing device, characterized in that, The clothing material is identified using the clothing material identification method according to any one of claims 1-11.
Citation Information
Patent Citations
Clothes treatment equipment
CN113463335A
Clothing material detection method and device, clothing processing equipment and storage medium
CN115726134A