Intelligent hair dyeing scheme generation method and device, equipment and storage medium
By generating intelligent hair dyeing solutions based on hair quality analysis and user needs, the problem of high operational difficulty in existing hair dyeing technologies has been solved, achieving high efficiency and reliability in personalized hair dyeing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN WANSE ZHIJIANG INTELLIGENT TECHNOLOGY CO LTD
- Filing Date
- 2024-10-29
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, the hair dyeing process is difficult to operate and requires a high level of skill from the hairstylist, making it difficult to meet personalized hair dyeing needs.
By acquiring hair samples for testing, hair quality analysis is conducted, and an intelligent hair dyeing solution is generated based on the hair quality analysis results and the user's hair dyeing needs, including hair dyeing formula and operation plan.
It reduces the difficulty of the hair dyeing process, improves the reliability and efficiency of the process, and reduces the reliance on the skills of hairstylists.
Smart Images

Figure CN122023554A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent hair dyeing technology, and in particular to an intelligent hair dyeing scheme generation method, apparatus, device, and storage medium. Background Technology
[0002] As people's quality of life continues to improve, appearance is becoming increasingly important. Walking down the street, it's easy to see that hair dyeing, especially colored hair dyeing, has become a consumer trend. Hair dyeing is one of the most common methods of modern makeup, which involves using plant or chemical pigments to dye the hair the desired color.
[0003] In recent years, as people's demand for hair dyeing has continued to increase, the requirements for hairdressers' hair dyeing skills have also increased accordingly. However, in real life, a skilled hairdresser needs to undergo many years of on-the-job training to fully handle the entire hair dyeing process, from judging hair quality to mixing hair dye and then applying the color.
[0004] In view of this, there is an urgent need for an intelligent hair coloring solution generation method to help hairstylists generate hair coloring solutions quickly and efficiently, thereby meeting people's hair coloring needs while reducing the operational difficulty of the hair coloring process.
[0005] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0006] The main objective of this invention is to provide a method, apparatus, device, and storage medium for generating intelligent hair dyeing solutions, aiming to solve the technical problem of how to reduce the difficulty of the hair dyeing process while meeting people's personalized hair dyeing matching needs.
[0007] To achieve the above objectives, the present invention provides a method for generating intelligent hair dyeing solutions, the method comprising the following steps:
[0008] Obtain the hair sample to be tested;
[0009] Based on the hair sample to be tested, hair quality testing was performed to obtain hair quality testing results;
[0010] Based on the hair quality test results and the user's hair dyeing needs, a solution is generated to obtain a corresponding intelligent hair dyeing solution.
[0011] Optionally, a hair sample to be tested is obtained, specifically including:
[0012] Obtain user hair samples based on preset sampling rules;
[0013] The user's hair sample is preprocessed to obtain the hair sample to be tested.
[0014] Optionally, hair quality testing is performed based on the hair sample to be tested to obtain hair quality testing results, specifically including:
[0015] Based on the hair quality testing requirements, test preparation is carried out to obtain hair quality testing reagents;
[0016] Based on the hair quality testing reagent, the hair sample to be tested is subjected to a test reaction to obtain the reacted hair sample;
[0017] Data was collected from the hair sample after the reaction to obtain the hair quality test results.
[0018] Optionally, the hair sample to be tested is subjected to a detection reaction based on the hair quality testing reagent to obtain a reacted hair sample, specifically including:
[0019] The hair quality testing reagent is preheated to obtain a preheated hair quality testing reagent;
[0020] The hair sample to be tested is reacted with the preheated hair quality testing reagent to obtain a hair sample to be dried.
[0021] The hair sample to be dried is subjected to a drying process to obtain the hair sample after the reaction.
[0022] Optionally, the hair sample to be tested is subjected to a detection reaction based on the hair quality testing reagent to obtain a reacted hair sample, specifically including:
[0023] The hair quality testing reagent is mixed with the hair sample to be tested to obtain a mixed hair sample;
[0024] The mixed hair sample was heated to obtain a hair sample to be dried.
[0025] The hair sample to be dried is subjected to a drying process to obtain the hair sample after the reaction.
[0026] Optionally, data is collected from the hair sample after the reaction to obtain the hair quality test results, specifically including:
[0027] Data was collected from the hair sample after the reaction to obtain hair image data;
[0028] Based on the user's hair dyeing needs and the hair image data, hair quality segmentation processing is performed to obtain hair segmentation results;
[0029] The hair segmentation results and the hair image data are integrated to obtain the hair quality detection results.
[0030] Optionally, a solution is generated based on the hair quality test results and the user's hair dyeing needs information to obtain a corresponding intelligent hair dyeing solution, specifically including:
[0031] Based on the hair quality detection results, hair quality classification processing is performed to obtain a hair quality classification result set;
[0032] Based on the hair quality classification result set and the user's hair dyeing needs information, a hair dyeing formula is generated to obtain the corresponding user hair dyeing formula solution.
[0033] Based on the user's hair dyeing needs and the user's hair dyeing formula, a solution is generated to obtain a corresponding intelligent hair dyeing solution.
[0034] Furthermore, to achieve the above objectives, the present invention also proposes an intelligent hair dyeing scheme generation device, the intelligent hair dyeing scheme generation device comprising:
[0035] Sample acquisition module: Acquires hair samples to be tested;
[0036] Hair quality testing module: Performs hair quality testing based on the hair sample to be tested, and obtains the hair quality testing results;
[0037] Solution generation module: Based on the hair quality test results and the user's hair dyeing needs, a solution is generated to obtain the corresponding intelligent hair dyeing solution.
[0038] Furthermore, to achieve the above objectives, the present invention also proposes an intelligent hair dyeing scheme generation device, which includes: a memory, a processor, and an intelligent hair dyeing scheme generation program stored in the memory and executable on the processor. The intelligent hair dyeing scheme generation program is configured to implement the steps of the intelligent hair dyeing scheme generation method described above.
[0039] Furthermore, to achieve the above objectives, the present invention also proposes a computer-readable storage medium storing a computer program, wherein the storage medium stores an intelligent hair dyeing scheme generation program, and when the intelligent hair dyeing scheme generation program is executed by a processor, it implements the steps of the intelligent hair dyeing scheme generation method described above.
[0040] This invention obtains a hair sample to be tested; performs hair quality testing on the hair sample to obtain hair quality testing results; and generates a solution based on the hair quality testing results and the user's hair dyeing needs, resulting in a corresponding intelligent hair dyeing solution. This invention first tests the user's hair sample, and then generates a corresponding intelligent hair dyeing solution based on the hair quality testing results and the user's hair dyeing needs, reducing the skill requirements of the hairstylist during the hair dyeing process and improving the reliability and efficiency of the hair dyeing process. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of the structure of an intelligent hair dyeing solution generation device with a hardware operating environment involved in the embodiments of the present invention;
[0042] Figure 2 This is a flowchart illustrating the first embodiment of the intelligent hair dyeing solution generation method of the present invention;
[0043] Figure 3 This is a flowchart illustrating the second embodiment of the intelligent hair dyeing solution generation method of the present invention;
[0044] Figure 4 This is a flowchart illustrating the third embodiment of the intelligent hair dyeing solution generation method of the present invention;
[0045] Figure 5 This is a flowchart illustrating the fourth embodiment of the intelligent hair dyeing solution generation method of the present invention;
[0046] Figure 6 This is a structural block diagram of the first embodiment of the intelligent hair dyeing solution generation device of the present invention.
[0047] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0048] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0049] Reference Figure 1 , Figure 1 This is a schematic diagram of the intelligent hair dyeing solution generation device structure in the hardware operating environment involved in the embodiments of the present invention.
[0050] like Figure 1As shown, the intelligent hair dyeing solution generation device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0051] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the intelligent hair coloring solution generation device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0052] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and an intelligent hair dyeing solution generation program.
[0053] exist Figure 1 In the intelligent hair dyeing solution generation device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the intelligent hair dyeing solution generation device of the present invention can be set in the intelligent hair dyeing solution generation device, and the intelligent hair dyeing solution generation device calls the intelligent hair dyeing solution generation program stored in the memory 1005 through the processor 1001 and executes the intelligent hair dyeing solution generation method provided in the embodiment of the present invention.
[0054] This invention provides a method for generating intelligent hair dyeing solutions, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the intelligent hair dyeing solution generation method of the present invention.
[0055] In this embodiment, the intelligent hair dyeing solution generation method includes the following steps:
[0056] Step S10: Obtain the hair sample to be tested;
[0057] It should be noted that in practice, different hair dyeing customers will have different hair dyeing needs and different hair types. Therefore, in order to make the subsequent hair dyeing plan more suitable for the individual hair dyeing customer's situation, it is necessary to make adaptive adjustments according to the individual hair type and specific hair dyeing needs of different hair dyeing customers.
[0058] It should also be noted that, in the specific implementation, the hair sample to be tested is a portion of the hair selected from the customer's hair to be dyed in order to test the hair quality of the customer. The specific selection process can be that the hairstylist cuts the hair from the area of the customer's hair to be dyed based on preset sampling rules.
[0059] Step S20: Perform hair quality testing based on the hair sample to be tested, and obtain the hair quality testing results;
[0060] Understandably, in practice, hair quality testing of the hair sample to be tested needs to be based on the corresponding hair quality testing reagent. By reacting the hair sample to be tested with the corresponding hair quality testing reagent, the hair quality test result can be obtained from the state of the hair sample after the reaction. This result may include corresponding hair quality judgment parameters, such as hair dye absorption capacity parameters, hair dye fading capacity parameters, hair thickness parameters, hair damage parameters, and hair color parameters.
[0061] It should be noted that, in specific implementation, the hair quality testing process can be carried out by the hair quality testing instrument in this embodiment, which specifically includes a reagent preheating module (for preheating the hair quality testing reagent), a reaction rinsing module (for carrying out the hair quality testing reaction), a drying module (for drying the hair sample after the reaction), and an image data acquisition module (for acquiring the relevant result data of the hair quality testing reaction).
[0062] It should also be noted that, in specific implementation, the hair quality testing process can be as follows: First, the hair sample to be tested is placed in the hair quality analyzer; then, the hair quality testing reagent is preheated by the reagent preheating module. After preheating, the reagent is introduced into the reaction device to mix and react with the hair sample to be tested. After a period of time, the reaction is completed, the solenoid valve is energized to discharge the waste liquid from the device, and the water pump works to thoroughly rinse the hair sample after the reaction; after rinsing, the hair sample is dried by the drying module, and finally, the relevant reaction data of the hair sample is collected by the image data acquisition module.
[0063] Step S30: Generate a solution based on the hair quality test results and the user's hair dyeing needs to obtain a corresponding intelligent hair dyeing solution.
[0064] It should be noted that, in the actual implementation, the user's hair dyeing requirement information is actually a type of hair dyeing operation restriction selected and set by the user according to their own needs or preferences. It may include hair color information, hair dye property information, and hair dyeing area information, etc.
[0065] It should also be noted that, in its specific implementation, the intelligent hair dyeing solution includes a hair dyeing formula, a hair dyeing operation plan, and hair dyeing-related information. The hair dyeing formula includes information on the mixing or selection of hair dyeing agents, the type or composition of hair dyeing agents (such as dye color number, dye ratio, hydrogen peroxide concentration, and hydrogen peroxide ratio), and the method of using hair dyeing agents or the time of use (such as the dwell time after applying the dye). The hair dyeing operation plan includes information on the use of hair dyeing agents, instructions on the steps of using hair dyeing agents, and information on the corresponding locations where hair dyeing agents are applied (such as information on the areas of hair affected by the hair dye formula, the order of application steps, the dwell time between steps, information on checking and touch-up, and rinsing time). The hair dyeing-related information includes the user's hair quality test results and the intelligent hair dyeing analysis results.
[0066] For example, a smart hair dyeing solution for a user may include: a "grape red" hair dyeing formula, a "grape red" hair dyeing operation plan, and information related to a "grape red" hair dyeing style.
[0067] The information related to the "grape red" hair dye hairstyle is as follows:
[0068] The user's hair color is relatively uniform, so the hair can be divided into three sections: roots, mid-lengths, and ends, for a "grape red" hair dye. The root section can be set to 0-3cm, the mid-lengths to 3-17cm, and the ends to 17cm and beyond, depending on the hair length and the segmentation algorithm.
[0069] The user's hair type, determined by the hair root classification algorithm, belongs to type A019245. This type of hair is easily lightened and absorbs color easily. Since the dye is applied to the hair roots, the concentration of the oxidant needs to be reduced. Therefore, the formula for dyeing a grape-red color is: Hair dye A: Hair dye B: Hair dye C: Hair dye E = 4:1:1:6, leave for 50 minutes.
[0070] The classification algorithm results for this user's hair type indicate that it belongs to type C011634, meaning it is easy to lighten and absorb color. Therefore, the formula for dyeing a grape red color is: hair dye A: hair dye B: hair dye C: hair dye D = 4:1:1:6, leave for 40 minutes.
[0071] The user's hair type, determined by the hair quality and end classification algorithm, belongs to type G815559, meaning their hair is extremely prone to fading and absorbing too much color. Therefore, the formula for dyeing a grape-red hair color is: Hair dye A: Hair dye B: Hair dye C: Hair dye X: Hair dye D = 4:1:1:0.5:6.5, leave on for 20 minutes.
[0072] The first step in the hair dyeing process is to apply the appropriate hair dye agent to the roots (0-3cm) of the hair in the area A to be dyed. The amount of hair dye agent used is 100 grams. After applying the dye, proceed to the second step.
[0073] The second step of the hair dyeing process is to apply the corresponding hair dye agent B to the mid-length (3-17cm) of the hair in the user's hair dyeing area A. The amount of hair dye agent A used is 120 grams. After application, leave it for 15 minutes before proceeding to the third step.
[0074] The third step in the hair dyeing process is to apply the corresponding hair dye agent C to the ends of the hair (the hair area after 17cm) in the user's hair dyeing area A. The amount of hair dye agent A used is 90 grams.
[0075] Additionally, due to differences in the hair dyeing environment, stylists are usually required to check every 5 minutes after 20 minutes to prevent incomplete coloring.
[0076] This embodiment obtains a hair sample to be tested; performs hair quality testing on the hair sample to obtain hair quality test results; and generates a solution based on the hair quality test results and the user's hair dyeing needs, resulting in a corresponding intelligent hair dyeing solution. This embodiment first tests the user's hair sample, and then generates a corresponding intelligent hair dyeing solution based on the hair quality test results and the user's hair dyeing needs, reducing the skill requirements of the hairstylist during the hair dyeing process and improving the reliability and efficiency of the hair dyeing process.
[0077] Furthermore, obtaining the hair sample to be tested specifically includes: obtaining a user's hair sample based on a preset sampling rule; performing detection preprocessing on the user's hair sample to obtain the hair sample to be tested.
[0078] It should be noted that, in practice, the preset sampling rule is essentially a hair sampling method that meets the requirements of the subsequent hair quality testing process. That is, the hair sample to be tested obtained through the preset sampling rule meets the sample standards for the subsequent hair quality testing operation.
[0079] It should also be noted that, in specific implementation, the preset sampling rules can be set to restrict aspects such as the number of sample hairs, the length of sample hairs, the direction of sample hairs, and the sampling area of sample hairs. For example, the preset sampling rules can be set as follows: the number of sample hairs is no less than 10; the length of sample hairs is no less than 3 centimeters; the direction of sample hairs is consistent (either the ends or the roots are facing down); and sample hairs must be taken from the area of the customer's hair to be dyed (for example, the hairstylist can use a thinning technique to take sample hairs from the area of the customer's hair to be dyed).
[0080] Understandably, in practice, the specific process for creating the hair sample to be tested can be as follows: first, a portion of hair (i.e., the user's hair sample) is cut from the head of the hair-dyed customer according to preset sampling rules; then, the user's hair sample undergoes pre-processing for testing to obtain the hair sample to be tested. Specifically, the pre-processing involves adjusting the cut sample hair to ensure a consistent hair orientation, and then fixing it (the fixing location can be one end, the middle, or both ends of the hair; the fixing method can include using hot melt adhesive, stapler, metal sheet, hot melt sheet, double-sided tape, etc.), thus finally obtaining the hair sample to be tested.
[0081] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of the intelligent hair dyeing solution generation method of the present invention.
[0082] Based on the first embodiment described above, in this embodiment, step S20 specifically includes:
[0083] Step S21: Prepare for testing based on hair quality testing requirements to obtain hair quality testing reagents;
[0084] It should be noted that, in practice, the hair quality testing requirement is based on the hair dyeing needs and hair dyeing reagent selection needs of the hair dyeing customer. It is used to control the preparation process of the hair quality testing reagent or to provide a basis for the selection of the hair quality testing reagent, so that the final prepared hair quality testing reagent or the selected hair quality testing reagent can not only meet the customer's hair dyeing needs, but also match the hair dyeing reagent selection needs made by the customer under the condition of their own hair.
[0085] It should also be noted that, in practice, hair quality testing reagents can be prepared on-site or selected from finished hair quality testing reagents based on hair quality testing needs.
[0086] Step S22: Based on the hair quality testing reagent, perform a test reaction on the hair sample to be tested to obtain the reacted hair sample;
[0087] It should be noted that, in the specific implementation, the hair quality testing reagent is used to test the reaction of the hair sample to obtain the hair quality of the customer and the dye absorption of the hair dye. The dye absorption of the hair dye specifically refers to the degree to which the customer's hair absorbs the dye.
[0088] It should also be noted that, in practice, the detection reaction can occur in the reaction rinsing module of the hair quality analyzer. The detection results obtained from the reaction mainly detect the ease with which the hair color fades, the types and amounts of natural pigments in the hair, the types and amounts of artificial pigments remaining in the hair (the customer's hair has been dyed before), and the ease with which the hair will absorb new color powder in this dyeing process.
[0089] Understandably, in practice, hair quality testing reagents can be prepared from dye reagents, alkalis, oxidants, and other auxiliary reagents.
[0090] Step S23: Collect data from the hair sample after the reaction to obtain hair quality test results.
[0091] It should be noted that, in the specific implementation, the data acquisition process is essentially to monitor and collect the state parameters of the hair sample after the reaction. The final hair quality test results may include hair coloring data, hair reflectivity data, and hair morphology data.
[0092] This embodiment prepares corresponding hair quality testing reagents based on hair quality testing requirements, and then uses the hair quality testing reagents to test the hair sample of the user, finally obtaining the corresponding hair quality testing results, which provides a basis for the subsequent generation of intelligent hair dyeing solutions.
[0093] refer to Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the intelligent hair dyeing solution generation method of the present invention.
[0094] Based on the second embodiment described above, in this embodiment, step S22 specifically includes:
[0095] Step S221: Preheat the hair quality test reagent to obtain the preheated hair quality test reagent;
[0096] Understandably, in practice, hair quality testing reagents need to be preheated before reacting with hair samples to improve reaction efficiency or provide a suitable reaction environment.
[0097] It should also be noted that, in practice, the preheating process of the hair quality testing reagent can also occur during the reaction between the hair quality testing reagent and the hair sample to be tested. In other words, the preheating process provides a reaction environment or improves the reaction efficiency for the test reaction.
[0098] Step S222: React the hair sample to be tested with the preheated hair quality test reagent to obtain a hair sample to be dried;
[0099] It should be noted that, in the specific implementation, the reaction process involves first immersing the hair sample to be tested in the preheated hair quality testing reagent to fully carry out the test reaction, and then taking out the hair sample for cleaning and rinsing after the reaction is completed, so as to finally obtain the hair sample to be dried.
[0100] Step S223: Dry the hair sample to be dried to obtain the hair sample after reaction.
[0101] It should be noted that, in practice, the drying process of the hair sample is actually for the purpose of obtaining clearer reaction data later. The drying process can be achieved by a blower or a drying device.
[0102] In this embodiment, the hair quality testing reagent is first preheated, then the hair sample to be tested is reacted based on the preheated hair quality testing reagent, and finally the rinsed hair sample is dried to obtain the reacted hair sample, thus realizing the hair quality testing of the user's hair sample.
[0103] Further, the hair sample to be tested is subjected to a test reaction based on the hair quality testing reagent to obtain a reacted hair sample, specifically including: mixing the hair quality testing reagent with the hair sample to be tested to obtain a mixed hair sample; heating the mixed hair sample to obtain a hair sample to be dried; and drying the hair sample to be dried to obtain a reacted hair sample.
[0104] It should be noted that, in practice, the detection reaction of the hair sample to be tested can also be carried out by first thoroughly mixing the hair quality testing reagent with the hair sample to be tested, so that the hair sample to be tested and the hair quality testing reagent are in full contact, and then heating is used to provide reaction conditions or improve the reaction efficiency of the detection reaction, and finally complete the entire detection reaction.
[0105] Further, data is collected from the hair sample after the reaction to obtain the hair quality detection result. Specifically, this includes: collecting data from the hair sample after the reaction to obtain hair image data; performing hair quality segmentation processing based on user hair dyeing needs information and hair image data to obtain hair segmentation results; and integrating the hair segmentation results and hair image data to obtain the hair quality detection result.
[0106] It should be noted that in the specific implementation, hair quality segmentation processing is performed based on the user's hair dyeing needs and hair image data. Specifically, this is implemented based on a hair quality segmentation algorithm, which divides the user's hair into multiple segments based on the user's hair dyeing needs and hair image data. For example, the number of segments to be divided into can be determined based on the captured hair image, the target color to be dyed, and the type of hair dye used, so that corresponding dyeing solutions can be applied to different segments of the hair in the subsequent process.
[0107] Understandably, in its implementation, this embodiment can segment hair quality according to the machine learning rules of the hair quality segmentation algorithm model itself. Specifically, this can be achieved by manually labeling the corresponding dataset, allowing the algorithm to learn the segmentation method of the dataset and ultimately achieve automatic segmentation. For example, the hair roots, mid-lengths, and ends of the hair image corresponding to the target hair color can be manually labeled in the dataset, enabling the trained hair quality segmentation algorithm model to automatically segment the hair quality (identifying the hair roots, mid-lengths, and ends of hair with the target hair color).
[0108] refer to Figure 5 , Figure 5 This is a flowchart illustrating the fourth embodiment of the intelligent hair dyeing solution generation method of the present invention.
[0109] Based on the first embodiment described above, in this embodiment, step S30 specifically includes:
[0110] Step S31: Based on the hair quality detection results, perform hair quality classification processing to obtain a hair quality classification result set;
[0111] It should be noted that, in the specific implementation, hair quality classification is to distinguish and classify hairs with different hair quality (which can be different hairs or different areas of the same hair), thereby facilitating the generation of subsequent hair dyeing formulas.
[0112] It should also be noted that, in the specific implementation, hair texture classification is based on a hair texture classification algorithm. The algorithm can be set to differentiate hair texture categories based on preset classification criteria, and can calculate the degree of similarity between the hair to be classified and the already classified hair, thereby achieving the identification and differentiation of the hair to be classified. The preset classification criteria may specifically include hair thickness, hair color, the hair's natural color, and the hair's shape (to determine whether the user's hair has been permed or straightened), etc.
[0113] Step S32: Generate a hair dyeing formula based on the hair quality classification result set and the user's hair dyeing needs information to obtain the corresponding user hair dyeing formula solution;
[0114] It should be noted that in the actual implementation, different hair dyeing formulas are suitable for different hair areas of different hair types. A complete set of hair dyeing formulas is composed of all hair dyeing formulas for a hair dyeing customer. Therefore, it can match the final user hair dyeing formula to be applied to a section of hair based on the hair type classification result set and the user's hair dyeing needs information.
[0115] Step S33: Generate a solution based on the user's hair dyeing needs and the user's hair dyeing formula to obtain the corresponding intelligent hair dyeing solution.
[0116] Understandably, in practice, the intelligent hair dyeing solution includes hair dyeing formulas for all hair types and specific hair dyeing operation plans. The hair dyeing operation plan needs to be generated based on the user's hair dyeing needs and the user's hair dyeing formula.
[0117] This embodiment first classifies hair quality based on hair quality test results, then generates corresponding user hair dyeing formula solutions based on the hair quality classification result set and user hair dyeing needs information, and finally obtains corresponding intelligent hair dyeing solutions based on user hair dyeing needs information and user hair dyeing formula solutions, thus realizing the generation of personalized hair dyeing solutions for users.
[0118] Furthermore, embodiments of the present invention also propose a computer-readable storage medium storing a computer program, wherein the storage medium stores an intelligent hair dyeing scheme generation program, and when the intelligent hair dyeing scheme generation program is executed by a processor, it implements the steps of the intelligent hair dyeing scheme generation method described above.
[0119] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0120] Reference Figure 6 , Figure 6This is a structural block diagram of the first embodiment of the intelligent hair dyeing solution generation device of the present invention.
[0121] like Figure 6 As shown, the intelligent hair dyeing solution generation device proposed in this embodiment of the invention includes:
[0122] Sample acquisition module 10: Acquires hair samples to be tested;
[0123] Hair quality testing module 20: Performs hair quality testing based on the hair sample to be tested, and obtains the hair quality testing results;
[0124] Solution generation module 30: Generates solutions based on hair quality test results and user hair dyeing needs, resulting in corresponding intelligent hair dyeing solutions.
[0125] This embodiment obtains a hair sample to be tested; performs hair quality testing on the hair sample to obtain hair quality test results; and generates a solution based on the hair quality test results and the user's hair dyeing needs, resulting in a corresponding intelligent hair dyeing solution. This embodiment first tests the user's hair sample, and then generates a corresponding intelligent hair dyeing solution based on the hair quality test results and the user's hair dyeing needs, reducing the skill requirements of the hairstylist during the hair dyeing process and improving the reliability and efficiency of the hair dyeing process.
[0126] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0127] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0128] In addition, for technical details not described in detail in this embodiment, please refer to the intelligent hair dyeing solution generation method provided in any embodiment of the present invention, which will not be repeated here.
[0129] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0130] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0132] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for generating intelligent hair dyeing solutions, characterized in that, include: Obtain the hair sample to be tested; Based on the hair sample to be tested, hair quality testing was performed to obtain hair quality testing results; Based on the hair quality test results and the user's hair dyeing needs, a solution is generated to obtain a corresponding intelligent hair dyeing solution.
2. The intelligent hair dyeing solution generation method according to claim 1, characterized in that, Obtaining the hair sample to be tested specifically includes: Obtain user hair samples based on preset sampling rules; The user's hair sample is preprocessed to obtain the hair sample to be tested.
3. The intelligent hair dyeing solution generation method according to claim 1, characterized in that, Based on the hair sample to be tested, hair quality testing is performed to obtain hair quality testing results, specifically including: Based on the hair quality testing requirements, test preparation is carried out to obtain hair quality testing reagents; Based on the hair quality testing reagent, the hair sample to be tested is subjected to a test reaction to obtain the reacted hair sample; Data was collected from the hair sample after the reaction to obtain the hair quality test results.
4. The intelligent hair dyeing solution generation method according to claim 3, characterized in that, Based on the hair quality testing reagent, the hair sample to be tested is subjected to a test reaction to obtain a reacted hair sample, specifically including: The hair quality testing reagent is preheated to obtain a preheated hair quality testing reagent; The hair sample to be tested is reacted with the preheated hair quality testing reagent to obtain a hair sample to be dried. The hair sample to be dried is subjected to a drying process to obtain the hair sample after the reaction.
5. The intelligent hair dyeing solution generation method according to claim 3, characterized in that, Based on the hair quality testing reagent, the hair sample to be tested is subjected to a test reaction to obtain a reacted hair sample, specifically including: The hair quality testing reagent is mixed with the hair sample to be tested to obtain a mixed hair sample; The mixed hair sample was heated to obtain a hair sample to be dried. The hair sample to be dried is subjected to a drying process to obtain the hair sample after the reaction.
6. The intelligent hair dyeing solution generation method according to claim 3, characterized in that, Data was collected from the hair sample after the reaction to obtain the hair quality test results, specifically including: Data was collected from the hair sample after the reaction to obtain hair image data; Based on the user's hair dyeing needs and the hair image data, hair quality segmentation processing is performed to obtain hair segmentation results; The hair segmentation results and the hair image data are integrated to obtain the hair quality detection results.
7. The method for generating an intelligent hair dyeing solution according to any one of claims 1 to 6, characterized in that, Based on the hair quality test results and the user's hair dyeing needs, a solution is generated to obtain a corresponding intelligent hair dyeing solution, specifically including: Based on the hair quality detection results, hair quality classification processing is performed to obtain a hair quality classification result set; Based on the hair quality classification result set and the user's hair dyeing needs information, a hair dyeing formula is generated to obtain the corresponding user hair dyeing formula solution. Based on the user's hair dyeing needs and the user's hair dyeing formula, a solution is generated to obtain a corresponding intelligent hair dyeing solution.
8. A smart hair dyeing solution generation device, characterized in that, The intelligent hair dyeing solution generation device includes: Sample acquisition module: Acquires hair samples to be tested; Hair quality testing module: Performs hair quality testing based on the hair sample to be tested, and obtains the hair quality testing results; Solution generation module: Based on the hair quality test results and the user's hair dyeing needs, a solution is generated to obtain the corresponding intelligent hair dyeing solution.
9. A smart hair dyeing solution generation device, characterized in that, The intelligent hair dyeing solution generation device includes: a memory, a processor, and an intelligent hair dyeing solution generation program stored in the memory and executable on the processor, wherein the intelligent hair dyeing solution generation program is configured to implement the intelligent hair dyeing solution generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it can implement the steps in the intelligent hair dyeing scheme generation method according to any one of claims 1 to 7.