Clothing material detection method, electronic device and clothing processing device
By setting up a light signal detection device inside the garment processing drum, and utilizing the relationship between the target light intensity and the standard parameter value range, the problem of low accuracy in garment material detection is solved, and high-precision material identification under stable lighting is achieved.
Patent Information
- Application Number
- CN202510095381.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-01-21
AI Technical Summary
Existing methods for detecting clothing materials have low accuracy, especially in unstable lighting conditions or in the presence of water mist, which reduces the accuracy of clothing material identification.
A light signal detection device is installed inside the clothing processing drum. The parameter values of the clothing material are obtained under the target light intensity. The light signal detection device collects the diffusely reflected light signal and determines the clothing material by combining the standard parameter value range relationship. The recognition accuracy is improved by adjusting the light intensity and compensation value.
Under stable lighting conditions, the accuracy of clothing material identification is improved, and the interference of lighting conditions and water mist on detection is reduced, ensuring the precision of clothing material identification.
Smart Images

Figure CN119932859B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of clothing processing equipment technology, and in particular to a method for detecting clothing materials, electronic equipment, and clothing processing equipment. Background Technology
[0002] Clothing processing equipment, for example, is an indispensable part of daily life. It performs processes such as washing, dehydration, drying, and care for clothing, greatly improving the convenience of clothing handling. With technological advancements and increasing user demands, the precision of clothing processing equipment has also improved. For instance, modern washing machines typically identify the material of the clothing before processing, allowing different processing parameters to be applied to different materials, thus improving the overall processing effect.
[0003] Currently, most material recognition methods rely on cameras and other photographic devices to capture images of clothing and then use image algorithms to identify the material. However, in practical use, clothing can easily obstruct the camera, and the camera may also experience water vapor buildup or fail to autofocus, resulting in poor image clarity and reduced accuracy in material recognition. Summary of the Invention
[0004] The technical problem to be solved by the present invention is that the accuracy of existing methods for detecting clothing materials is low, and the present invention provides a method for detecting clothing materials, an electronic device, and a clothing processing device.
[0005] A first aspect of this application provides a method for detecting clothing material, used to detect the clothing material inside the clothing processing drum of a clothing processing device, the method comprising:
[0006] Under the target light intensity inside the garment processing drum, parameter values characterizing the garment material are obtained. These parameter values are determined based on the light signal collected by the light signal detection device, which is located inside the garment processing drum and is used to collect the light signal after the garment diffusely reflects the incident light signal.
[0007] The clothing material is determined based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity.
[0008] In conjunction with the first aspect, in one implementation of the first aspect, the method further includes:
[0009] The initial light intensity inside the garment processing drum is detected;
[0010] If the initial light intensity is not at the target light intensity, the light intensity inside the clothing treatment drum is adjusted to the target light intensity.
[0011] In conjunction with the first aspect, in one implementation of the first aspect, the clothing processing device has a frosted glass window, and adjusting the light intensity inside the clothing processing drum to the target light intensity includes:
[0012] Adjust the degree of fogging of the foggable glass window so that the light intensity inside the clothing processing drum reaches the target light intensity.
[0013] In conjunction with the first aspect, in one implementation of the first aspect, the target light intensity is the light intensity that is less than the initial light intensity and closest to the initial light intensity among a plurality of preset light intensities. Under each preset light intensity, the same clothing material corresponds to a different standard reference value range.
[0014] In conjunction with the first aspect, in one implementation of the first aspect, detecting the initial light intensity inside the clothing processing drum includes: detecting an initial voltage value representing the initial light intensity;
[0015] Adjusting the light intensity inside the clothing processing drum to the target light intensity includes: adjusting the light intensity inside the clothing processing drum so that the detected voltage value representing the light intensity inside the clothing processing drum reaches the target voltage value.
[0016] In conjunction with the first aspect, in one implementation of the first aspect, the method further includes:
[0017] If the material of the clothing cannot be determined based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity:
[0018] The clothing material is determined based on the parameter value and the compensation value of the parameter value, as well as the correspondence between the clothing material under the target light intensity and the standard parameter value range. The compensation value of the parameter value is related to the difference between the initial light intensity and the target light intensity.
[0019] In conjunction with the first aspect, in one implementation of the first aspect, determining the clothing material based on the parameter value and the correspondence between the clothing material and the standard parameter value range under the target light intensity includes:
[0020] The compensation value of the parameter is determined based on the difference between the initial illumination intensity and the target illumination intensity.
[0021] Based on the parameter value and the compensation value of the parameter value, the compensated parameter value is determined;
[0022] The clothing material is determined based on the compensated parameter values and the correspondence between the clothing material under the target light intensity and the standard parameter value range.
[0023] In conjunction with the first aspect, in one implementation of the first aspect, determining the compensation value of the parameter value based on the difference between the initial illumination intensity and the target illumination intensity includes:
[0024] The compensation value of the parameter value is determined based on the voltage difference between the initial voltage value representing the initial illumination intensity and the target voltage value representing the target illumination intensity, as well as the voltage difference range to which the voltage difference belongs.
[0025] Among them, the multiple voltage difference intervals correspond to different compensation values.
[0026] In conjunction with the first aspect, in one implementation of the first aspect, the method further includes:
[0027] A voltage value reflecting the light intensity inside the garment processing drum is detected using a first visible light sensor located inside the garment processing drum.
[0028] The acquisition of parameter values characterizing the material of clothing includes:
[0029] The sampled values used to calculate the parameter values are obtained by using a second visible light sensor as the optical signal detection device, and / or,
[0030] A third visible light sensor, serving as the optical signal detection device, is used to detect sampled values for calculating the parameter values;
[0031] The first visible light sensor, the second visible light sensor, and the third visible light sensor have different visible light wavelengths.
[0032] A second aspect of this application provides an electronic device, the electronic device comprising:
[0033] Memory, which stores one or more computer instructions;
[0034] A processor for executing the computer instructions to implement the method as described in the first aspect of the embodiments of this application.
[0035] A third aspect of this application provides a garment processing apparatus, the garment processing apparatus comprising:
[0036] A controllable rotating garment handling drum; and
[0037] A light signal detection element is installed inside the garment processing drum;
[0038] The garment processing device employs the method described in the first aspect of the embodiments of this application, or has the electronic equipment described in the second aspect of the embodiments of this application.
[0039] In conjunction with a second aspect of the embodiments of this application, in one implementation, the clothing processing tube is provided with at least one lifting rib, and a receiving groove is formed in the at least one lifting rib, and the optical signal detection element is located in the receiving groove.
[0040] The solution provided by this invention has the following advantages compared with the prior art: by obtaining parameter values characterizing the clothing material under the target light intensity inside the clothing processing tube, and then determining the clothing material based on the parameter values and the correspondence between the clothing material under the target light intensity and the standard parameter value range, it is beneficial to improve the accuracy of determining the clothing material. Attached Figure Description
[0041] The accompanying drawings, as part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments and descriptions of the invention are used to explain the invention, but do not constitute an undue limitation of the invention. Obviously, the drawings described below are merely some embodiments, and those skilled in the art can obtain other drawings based on these drawings without creative effort. In the drawings:
[0042] Figure 1 This is a schematic flowchart of a clothing material testing method provided in an embodiment of the present invention;
[0043] Figure 2 This is a schematic flowchart of a clothing material testing method provided in an embodiment of the present invention;
[0044] Figure 3 This is a schematic flowchart of a clothing material testing method provided in an embodiment of the present invention;
[0045] Figure 4 This is a schematic diagram of an optical signal detection device shown in an embodiment of the present invention.
[0046] In the diagram: 1. Lifting rib; 11. Receiving groove; 2. Optical signal detection component; 21. Emitter; 22. Receiver.
[0047] It should be noted that these accompanying drawings and textual descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art by referring to specific embodiments. Detailed Implementation
[0048] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0049] It should be understood that "multiple" as mentioned herein refers to two or more. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first," "second," etc., are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and the terms "first," "second," etc., do not necessarily imply differentness.
[0050] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, such that a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or apparatus.
[0051] Clothing processing equipment is an indispensable part of daily life, capable of performing processes such as washing, dehydration, drying, and care for clothing, greatly improving the convenience of clothing handling. With technological advancements and increasing user demands, the precision of clothing processing equipment has also improved. Taking washing machines as an example, current models typically identify the material of the clothing before processing, allowing different processing parameters to be applied to different materials, thus improving the processing effect.
[0052] Material identification methods include camera recognition, which involves taking pictures of clothing with a camera and then using image algorithms to analyze the material of the clothing from the images.
[0053] However, in actual use, it has been found that camera recognition is often affected by factors such as ambient brightness and water mist, resulting in poor image clarity of clothing and reduced accuracy in identifying clothing materials.
[0054] Based on this, this application provides a method for detecting clothing material, specifically for detecting the material of clothing inside the clothing processing drum of a clothing processing device. (Refer to...) Figure 1 The flowchart shown is a method for testing clothing materials. The method includes the following processing steps.
[0055] S100: Under the condition of target light intensity inside the garment processing drum, acquire parameter values characterizing the garment material. These parameter values are determined based on light signals collected by a light signal detection device located inside the garment processing drum, used to collect the light signal after diffuse reflection of the incident light signal by the garment. For example, the parameter values may be the light intensity or wavelength of the collected light signal itself, or the parameter values may reflect the light intensity or wavelength of the collected light signal.
[0056] In this embodiment, when identifying the material of clothing, the optical signal detection device emits an incident light signal towards the clothing. The incident light signal undergoes diffuse reflection upon contact with the clothing. This embodiment uses the optical signal detection device to acquire the diffusely reflected light signal. The optical signal detection device, or a corresponding processor, can convert the acquired light signal into a specific numerical value for calculation, hereinafter referred to as the sampled value.
[0057] Optionally, in one implementation of this embodiment, while the garment processing drum remains stationary (i.e., the state of the garments inside the drum remains unchanged), an incident light signal is emitted towards the garments via a light signal detection device, and diffusely reflected light signals are received. This process is repeated multiple times to obtain multiple sampled values reflecting the intensity or wavelength of the diffusely reflected light signals. The aforementioned parameter value is then calculated based on these multiple sampled values. The parameter value can be the average or median value of the multiple sampled values, etc.
[0058] Next, you can rotate the garment processing drum to change the state of the garments, then keep the drum stationary and repeat the process. By repeating this multiple times, you can obtain multiple parameter values to cover as many garment materials as possible within the processing drum.
[0059] S102: Determine the clothing material based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity.
[0060] The standard parameter value range is a numerical range composed of standard parameter values. It should be noted that the parameter values and the standard parameter values are obtained using the same algorithm from the same type of optical signal detection device. The difference lies in that the standard parameter values are obtained by conducting a diffuse reflection experiment on the clothing with known material properties, while the parameter values are obtained by conducting diffuse reflection on the clothing during actual material identification. For ease of understanding, for example, during testing, the wavelength or intensity of the reflected light signal after diffuse reflection is calculated using formula A to obtain the standard parameter values. After conducting multiple tests on clothing of material a, a numerical range P1 can be defined as the standard parameter value range corresponding to material a based on all the obtained standard parameter values.
[0061] In actual identification of clothing materials, the wavelength or intensity of the reflected light signal after diffuse reflection is calculated using formula A, thus obtaining the parameter value. Since the calculation process for the standard parameter value is the same as that for the parameter value during actual testing, the clothing material can be determined based on the parameter value during actual testing.
[0062] There is a definite correspondence between the target light intensity, clothing material, and standard parameter value range. That is, given a fixed target light intensity, each type of clothing material corresponds to a standard parameter value range, and different types of clothing materials correspond to different standard parameter value ranges.
[0063] For example, when the optical signal detection device is an ultraviolet sensor, the corresponding relationships obtained under a target light intensity test include: the wavelength of the collected optical signal is 100-130nm, and the corresponding material is cotton; the wavelength of the collected optical signal is 135-155nm, and the corresponding material is hemp; the wavelength of the collected optical signal is 190-230nm, and the corresponding material is wool; the wavelength of the collected optical signal is 165-189nm, and the corresponding material is silk; the wavelength of the collected optical signal is 290-330nm, and the corresponding material is polyester fiber; the wavelength of the collected optical signal is 335-390nm, and the corresponding material is chemical fiber.
[0064] By adopting this embodiment, on the one hand, by obtaining parameter values characterizing clothing material under a determined target illumination intensity, the interference of the illumination environment on clothing material detection is eliminated; on the other hand, based on the parameter values and the correspondence between the target illumination intensity, clothing material, and standard parameter value range, clothing material identification is performed, which helps to improve the accuracy of clothing material identification.
[0065] Optionally, in one implementation of this embodiment, multiple parameter values are determined in S100, and in S102, the standard value range to which each parameter value belongs is determined, thereby determining the clothing material corresponding to each parameter value. Finally, the clothing materials corresponding to each parameter value are combined to obtain all the clothing materials in the clothing processing drum.
[0066] Optionally, in one implementation of this embodiment, such as Figure 2 As shown, the following processing is performed before S100.
[0067] S200: Detects the initial light intensity inside the garment processing drum.
[0068] The initial light intensity can be characterized by an initial voltage value. Specifically, a first visible light sensor located inside the garment processing drum can be used to detect a voltage value reflecting the light intensity inside the garment processing drum, including an initial voltage value reflecting the initial light intensity at that location and a target voltage value reflecting the subsequent target light intensity.
[0069] For example, the wavelength range corresponding to the first visible light sensor is 250-290nm. The first visible light sensor is an ultraviolet sensor.
[0070] S202: If the initial light intensity is not the target light intensity, adjust the light intensity inside the clothing treatment drum to the target light intensity.
[0071] The target light intensity is the light intensity that is less than the initial light intensity and closest to the initial light intensity among a plurality of preset light intensities. Under each preset light intensity, the same clothing material corresponds to a different standard reference value range.
[0072] This implementation method enables the initial light intensity to be adjusted to the target light intensity when the initial light intensity is not the target light intensity, thereby allowing parameter values to be acquired and clothing material to be detected / identified in an environment with a defined light intensity.
[0073] Optionally, to achieve the processing in S202, the garment processing equipment has a frosted glass window (e.g., an electro-frosted glass window), that is, the glass window of the garment processing equipment is made of electro-frosted glass. By adjusting the degree of frosting of the frosted glass window, the light intensity inside the garment processing drum reaches the target light intensity.
[0074] In this implementation, for example, a first visible light sensor inside the garment processing drum is used to detect the light intensity β inside the drum. The first visible light sensor has a detection voltage range of 0-5V, and the detected light intensity corresponds to the feedback voltage; that is, the stronger the received light intensity, the closer the voltage corresponding to the visible light sensor is to 5V.
[0075] The observation window (or glass window) of the garment processing equipment has an electro-fogging function, which adjusts the blurring level of the observation window. Electro-fogging allows for five levels of light intensity adjustment within the tube: β1, β2, β3, β4, and β5. The corresponding detection voltages are U1-U5, which are 1V, 2V, 3V, 4V, and 5V, respectively. β1 and β2 represent slight blurring, β3 and β4 represent moderate blurring, and β5 represents complete blurring.
[0076] The initial light intensity inside the tube needs to be detected using a first visible light sensor. Then, it is determined whether the voltage U corresponding to the detected β value is within one of the β1-β5 range. If the corresponding voltage U falls within one of the U1-U5 ranges, the material of the clothing inside the tube can be detected using a light signal detection device (e.g., an ultraviolet sensor) inside the lifting rib at that range.
[0077] If the detected initial light intensity β inside the tube is not at the preset level, the light intensity β is first converted to the preset level among U1-U5 that is closest to the current voltage U. For example, the difference between the detected U and U1, U2, U3, U4, and U5 is calculated, and the case with the smallest difference is the closest light intensity level. For instance, if the difference between U-U1 and the other four levels is the smallest and U > U1, then the level closest to β1 is the one, and the electro-atomization level is adjusted to β1. Then, at the β1 level, the light signal detection element (e.g., an ultraviolet sensor) inside the lifting rib is used to detect the material of the clothing inside the tube.
[0078] Figure 3 This is a schematic flowchart of a clothing material testing method according to an embodiment of this application, referring to... Figure 3 The method includes the following processing steps.
[0079] S300: Detects the initial light intensity inside the garment processing drum.
[0080] S302: Determine whether the initial light intensity belongs to the target light intensity. If the initial light intensity belongs to the target light intensity, then execute S306; otherwise, execute S304.
[0081] S304: Adjust the light intensity inside the clothing processing drum to the target light intensity.
[0082] S306: Obtain parameter values characterizing the material of the clothing. These parameter values are determined based on the light signal collected by the light signal detection device, which is located inside the clothing processing cylinder and is used to collect the light signal after the clothing has diffusely reflected the incident light signal.
[0083] S308: Determine the clothing material based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity.
[0084] Determine if the clothing material can be determined in step S308. If the clothing material can be determined, the process ends. If the clothing material cannot be determined, proceed to step S310.
[0085] S310: Determine the clothing material based on the parameter value and its compensation value, as well as the correspondence between the clothing material under the target light intensity and the standard parameter value range. The compensation value is related to the difference between the initial light intensity and the target light intensity.
[0086] In this embodiment, please refer to the previous text for the description of S300-S308, which will not be repeated here.
[0087] In this embodiment, if the material of the clothing cannot be determined based on S308, the material of the clothing is further determined based on the parameter value and the compensation value of the parameter value, which provides further assurance for accurately determining the material value of the clothing.
[0088] Optionally, in one implementation of this embodiment, S310 can be implemented in the following way.
[0089] First, a compensation value for the parameter is determined based on the difference between the initial illumination intensity and the target illumination intensity. For example, the compensation value for the parameter is determined based on the voltage difference ΔU = U - U1 between the initial voltage value U representing the initial illumination intensity and the target voltage value U1 representing the target illumination intensity, and the voltage difference interval to which the voltage difference belongs. Each of the multiple voltage difference intervals corresponds to a different compensation value. For example, five voltage difference intervals are preset: (0, 0.2], (0.2, 0.4], (0.4, 0.6], (0.6, 0.8], and (0.8, 1), and the compensation values corresponding to these five voltage difference intervals are λ1, λ2, λ3, λ4, and λ5, respectively.
[0090] Based on the scheme disclosed in this embodiment, those skilled in the art can determine the specific values of λ1, λ2, λ3, λ4, and λ5 through experiments. For example, multiple parameter values corresponding to material A can be statistically analyzed under a defined environment (e.g., light intensity) in multiple experiments. Using a method of dividing discrete values by density, the overall range of parameter values can be divided into a densely distributed range and a scattered range. The standard parameter value range corresponding to material A can be determined based on the densely distributed range; for example, the densely distributed range can be used as the standard parameter value range. A compensation value can be determined based on the scattered range or the parameter values within the scattered range. For example, the median can be selected from the parameter values in the scattered range, and the difference between the median and the maximum value in the densely distributed range can be calculated as the compensation value. Of course, this is just a simple example intended to illustrate how to obtain compensation values experimentally and the feasibility of obtaining compensation values experimentally. As for the specific experimental methods for obtaining compensation values and the specific numerical values of the compensation values, those skilled in the art can flexibly design based on the disclosure of this application.
[0091] Then, based on the parameter value and the compensation value of the parameter value, the compensated parameter value is determined. For example, assuming that △U falls within the interval (0.4, 0.6], the compensation value of the parameter value is determined to be λ3.
[0092] Next, based on the compensated parameter values and the correspondence between the clothing material under the target light intensity and the standard parameter value range, the clothing material is determined. Assuming the parameter value obtained in S306 is 'a', then the compensated parameter value is 'a+λ3'. Then, based on the compensated parameter values, the clothing material is re-determined according to the correspondence between the clothing material under the target light intensity and the standard parameter value range.
[0093] Optionally, in one implementation of this embodiment, the optical signal detection device includes a first optical signal detection device and a second optical signal detection device with different wavelengths. By using two optical signal detection devices with different wavelengths, a wider range of clothing materials can be covered. For example, the first optical signal detection device is a second visible light sensor (e.g., an ultraviolet sensor) with a corresponding optical signal wavelength of 100-250nm, and the second optical signal detection device is a third visible light sensor (e.g., an ultraviolet sensor) with a corresponding optical signal wavelength of 290-400nm.
[0094] Further, when the parameter value is detected by the first optical signal detection device, determining the compensation value of the parameter value based on the difference between the initial light intensity and the target light intensity includes: determining the compensation value of the parameter value based on the voltage difference between the initial voltage value representing the initial light intensity and the target voltage value representing the target light intensity, and the first voltage difference interval to which the voltage difference belongs, wherein multiple first voltage difference intervals correspond to different compensation values.
[0095] When the parameter value is detected by the second optical signal detection device, a compensation value for the parameter value is determined based on the difference between the initial light intensity and the target light intensity, including: determining the compensation value for the parameter value based on the voltage difference between the initial voltage value representing the initial light intensity and the target voltage value representing the target light intensity, and the second voltage difference interval to which the voltage difference belongs, wherein multiple second voltage difference intervals correspond to different compensation values.
[0096] In other words, in this implementation, since the wavelength ranges corresponding to the first and second optical signal detection devices are different, the parameter values detected by the two devices correspond to different compensation systems. That is, although the division of voltage difference intervals for different optical signal detection devices can be the same, the compensation values corresponding to the same voltage difference intervals are different due to the different wavelengths of the optical signal detection devices. More specifically, assuming five voltage difference intervals are preset (0, 0.2], (0.2, 0.4], (0.4, 0.6], (0.6, 0.8], (0.8, 1), the compensation values corresponding to these five voltage difference intervals for the first optical signal detection device are λ11, λ12, λ13, λ14, and λ15, respectively; and the compensation values corresponding to these five voltage difference intervals for the second optical signal detection device are λ21, λ22, λ23, λ24, and λ25, respectively. Based on the scheme disclosed in this embodiment, those skilled in the art can determine specific compensation values through experiments. This application does not limit the specific compensation values.
[0097] Optionally, in this embodiment of the application, after determining the material of the clothing, the washing parameters, including washing time, water inlet time, motor speed, etc., are adjusted according to the material of the clothing.
[0098] Optionally, in one embodiment of this application, the light signal can generate diffuse reflection after contacting the clothing, thereby obtaining the diffuse reflection parameter value.
[0099] Specifically, the diffuse reflection parameter value can be the parameter value of the reflected light signal itself after diffuse reflection, such as the wavelength and intensity of the reflected light signal, or it can be a parameter value obtained by calculating the parameter value of the reflected light signal itself, such as substituting the wavelength and / or intensity of the reflected light signal into a preset calculation formula to obtain the diffuse reflection parameter value. In general, it is sufficient as long as different clothing materials correspond to different diffuse reflection parameter values.
[0100] In one embodiment, the preset calculation formula for calculating the diffuse reflection parameter value can be a formula that includes the wavelength and intensity of the reflected light signal. For example, the diffuse reflection parameter value a = (wavelength λ - absorbed wavelength ΔE) / wavelength λ * φ luminous flux * power factor (intensity related).
[0101] In one embodiment, in order to determine the material of clothing, a standard range of diffuse reflection values is preset (e.g., the standard parameter value range mentioned above). Different standard ranges of diffuse reflection values correspond to different clothing materials. In other words, the standard range of diffuse reflection values and the clothing material have a corresponding relationship.
[0102] Specifically, the diffuse reflectance standard value range is a numerical range composed of diffuse reflectance standard values. It's important to note that diffuse reflectance standard values and diffuse reflectance parameter values are of the same type or obtained using the same algorithm. The difference lies in that diffuse reflectance standard values are parameter values obtained by conducting diffuse reflectance experiments on clothing with known material characteristics, while diffuse reflectance parameter values are parameter values obtained by conducting diffuse reflectance experiments on clothing during actual material identification. For ease of understanding, for example, during testing, formula A is used to calculate the wavelength and intensity of the reflected light signal after diffuse reflection to obtain the diffuse reflectance standard value. After multiple tests on clothing of material 'a', a numerical range P1 can be defined based on all the obtained diffuse reflectance standard values. In actual clothing material identification, formula A is also used to calculate the wavelength and intensity of the reflected light signal after diffuse reflection, thus obtaining the diffuse reflectance parameter value. Since the calculation process for the diffuse reflectance parameter value is the same as that for the diffuse reflectance standard value, the clothing material can be determined based on the diffuse reflectance parameter value.
[0103] The correspondence between diffuse reflectance standard value ranges and clothing materials is as follows: each type of clothing material corresponds to a diffuse reflectance standard value range, and different types of clothing materials correspond to different diffuse reflectance standard value ranges. For example, material 'a' corresponds to the diffuse reflectance standard value range P1; this is the correspondence. Therefore, when the diffuse reflectance parameter value is within P1, it can be determined that the clothing material is 'a'.
[0104] This application also provides an electronic device, including a memory and a processor. The memory stores one or more computer instructions, and the processor executes the computer instructions to implement the clothing material detection method described above.
[0105] This application also provides a garment processing device, which includes a controllable rotating garment processing drum and a light signal detection device disposed inside the garment processing drum. The light signal detection device is used to collect the light signal after the garment diffusely reflects the incident light signal.
[0106] Optionally, in one implementation of this embodiment, such as Figure 4 As shown, the garment processing tube is provided with at least one lifting rib 1, and a receiving groove 11 is provided in the at least one lifting rib 1, and the optical signal detection element 2 is located in the receiving groove 11.
[0107] The lifting rib 1 extends from the inner wall of the garment processing cylinder into the interior of the cylinder, and has a certain height. The lifting rib 1 can be integrally formed with the garment processing cylinder, or it can be connected to the inner wall of the garment processing cylinder by welding, screwing, or other methods. For ease of understanding, along the extension direction of the lifting rib 1, the surface of the lifting rib 1 closest to the center of the interior of the garment processing cylinder is the upper end surface of the lifting rib 1, and the receiving groove 11 is opened from the upper end surface towards the inner wall of the garment processing cylinder.
[0108] In this implementation, a receiving groove 11 is formed on the lifting rib 1 for mounting the optical signal detection element 2. This prevents the optical signal detection element 2 from becoming entangled with the clothes inside the clothes processing drum, thus minimizing its interference with the movement of the clothes. Simultaneously, the optical signal detection element 2, located within the lifting rib 1, can adjust its distance from the clothes according to the position of the lifting rib 1, thereby improving the detection accuracy and quality.
[0109] Optionally, in one implementation of this embodiment, the optical signal detection device 2 includes an emitter 21 and a receiver 22, which are arranged in parallel in the receiving groove 11. The emitter 21 is used to emit incident light signals into the clothing processing drum, and the receiver 22 is used to receive the reflected light signals after the clothing in the processing drum reflects the incident light signals.
[0110] Optionally, in one implementation of this embodiment, the emitter 21 and receiver 22 are arranged sequentially and parallel to each other along the rotation direction of the garment processing drum. There is a distance between the end faces of the emitter 21 and receiver 22 and the upper end face of the lifting rib 1. This distance is, for example, 20mm or 15mm; this implementation does not specifically limit this distance, but aims to improve the detection accuracy of the optical signal detection element 2 by setting this distance.
[0111] In this embodiment, the optical signal detection element 2 is installed at a distance, so that when the clothing covers the upper surface of the lifting rib 1, there will still be a distance between the clothing and the optical signal detection element 2, which helps to improve the detection quality of the optical signal detection element 2.
[0112] Optionally, in one implementation of this embodiment, the lifting rib 1 is provided with a cover plate for sealing the receiving groove 11. The cover plate is made of a waterproof and light-transmitting material. By using this implementation, the cover plate helps to seal the receiving groove 11, preventing water from the clothing processing drum from entering the receiving groove 11, thereby protecting the optical signal detection element 2 from water ingress or immersion, and improving the service life of the optical signal detection element 2.
[0113] The above provides illustrative examples of the method embodiments according to this application.
[0114] The sequence numbers or order of description of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0116] The units described as separate components may or may not be physically separate. 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 can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0118] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer, or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital versatile disc (DVD)), or a semiconductor medium (e.g., solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiments of this application can be a non-volatile storage medium; in other words, it can be a non-transient storage medium.
[0119] 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 used for analysis, stored data, displayed data, etc.), and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the scene data of the current frame in the 3D virtual scene involved in the embodiments of this application, the client's device information, and the scene interaction information are all obtained with full authorization.
[0120] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for detecting clothing material, used to detect the clothing material inside the clothing processing drum of a clothing processing device, characterized in that, The method for testing clothing materials includes: Under the target light intensity inside the garment processing drum, parameter values characterizing the garment material are obtained. These parameter values are determined based on the light signal collected by the light signal detection device, which is located inside the garment processing drum and is used to collect the light signal after the garment diffusely reflects the incident light signal. The clothing material is determined based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity. The method further includes: The initial light intensity inside the garment processing drum is detected; If the initial light intensity is not at the target light intensity, the light intensity inside the clothing treatment drum is adjusted to the target light intensity. The method further includes: If the material of the clothing cannot be determined based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity: The clothing material is determined based on the parameter value and the compensation value of the parameter value, as well as the correspondence between the clothing material under the target light intensity and the standard parameter value range. The compensation value of the parameter value is related to the difference between the initial light intensity and the target light intensity. The step of determining the clothing material based on the parameter values and the correspondence between the clothing material and the standard parameter value range under the target light intensity includes: The compensation value of the parameter is determined based on the difference between the initial illumination intensity and the target illumination intensity. Based on the parameter value and the compensation value of the parameter value, the compensated parameter value is determined; The clothing material is determined based on the compensated parameter values and the correspondence between the clothing material under the target light intensity and the standard parameter value range.
2. The method according to claim 1, characterized in that, The garment processing device has a frosted glass window, and adjusting the light intensity inside the garment processing drum to the target light intensity includes: Adjust the degree of fogging of the foggable glass window so that the light intensity inside the clothing processing drum reaches the target light intensity.
3. The method according to claim 1, characterized in that, The target light intensity is the light intensity that is less than the initial light intensity and closest to the initial light intensity among a plurality of preset light intensities. Under each preset light intensity, the same clothing material corresponds to a different standard reference value range.
4. The method according to claim 1, characterized in that, The detection of the initial light intensity inside the clothing treatment drum includes: detecting an initial voltage value representing the initial light intensity; Adjusting the light intensity inside the clothing processing drum to the target light intensity includes: adjusting the light intensity inside the clothing processing drum so that the detected voltage value representing the light intensity inside the clothing processing drum reaches the target voltage value.
5. The method according to claim 1, characterized in that, The step of determining the compensation value of the parameter based on the difference between the initial illumination intensity and the target illumination intensity includes: The compensation value of the parameter value is determined based on the voltage difference between the initial voltage value representing the initial illumination intensity and the target voltage value representing the target illumination intensity, as well as the voltage difference range to which the voltage difference belongs. Among them, the multiple voltage difference intervals correspond to different compensation values.
6. The method according to claim 1, characterized in that, The method further includes: using a first visible light sensor located inside the garment processing drum to detect a voltage value reflecting the light intensity inside the garment processing drum; The acquisition of parameter values characterizing the material of clothing includes: The sampled values used to calculate the parameter values are obtained by using a second visible light sensor as the optical signal detection device, and / or, A third visible light sensor, serving as the optical signal detection device, is used to detect sampled values for calculating the parameter values; The first visible light sensor, the second visible light sensor, and the third visible light sensor have different visible light wavelengths.
7. An electronic device, characterized in that, The electronic device includes: Memory, which stores one or more computer instructions; A processor for executing the computer instructions to implement the method as described in any one of claims 1-6.
8. A garment processing device, characterized in that, The garment processing equipment includes: A controllable rotating garment handling drum; and A light signal detection element is installed inside the garment processing drum; The garment processing device employs the method as described in any one of claims 1-6, or has the electronic equipment as described in claim 7.
9. The garment processing equipment according to claim 8, characterized in that, The garment processing tube is provided with at least one lifting rib, and a receiving groove is formed in at least one of the lifting ribs, and the optical signal detection element is located in the receiving groove.
Citation Information
Patent Citations
Load detection method and device, clothes processing equipment and storage medium
CN119287617A