This application is based upon and claims the benefit of priority from Japanese patent application No. 2020-203908, filed on Dec. 9, 2020, the disclosure of which is incorporated herein in its entirety by reference.
The present disclosure relates to a hairstyle making procedure proposal apparatus, a hairstyle making procedure proposal method, and a non-transitory computer readable medium.
In related art, when a hairstylist works on hair of a customer, the hairstylist works on the hair of the customer after the customer presents a hairstyle similar to the hairstyle he/she wants or the hairstylist asks the customer what his/her favorite hairstyle is.
Therefore, a hairstylist needs a great deal of knowledge in order to work on hair of a customer in such a way as to correspond with the customer's request.
Therefore, recently, in order to supplement the hairstylists' knowledge, there has been a demand for a technique by which types of hairstyles and hairstyle making procedures which correspond to requests from customers can be proposed.
For example, according to the technique disclosed in Japanese Unexamined Patent Application Publication No. 2017-016418, a hairstylist consults with a customer about the hairstyle he/she wants and then inputs the customer's requests regarding this hairstyle such as a request that the customer looks “youthful”, “active”, or “expansive” into a system. Meanwhile, the system takes a picture of the customer's face and analyzes the customer's face. The system selects operation data from operation data stored in storage means based on the requests of the customer and the result of the analysis of the customer's face.
As described above, according to the technique disclosed in Japanese Unexamined Patent Application Publication No. 2017-016418, it is possible to propose operation data corresponding the customer's request.
However, the operation data proposed by the technique disclosed in Japanese Unexamined Patent Application Publication No. 2017-016418 is stored in the storage means in advance. It is therefore difficult for the technique disclosed in Japanese Unexamined Patent Application Publication No. 2017-016418 to propose a procedure for making a hairstyle more precisely meeting a customer's request.
An object of the present disclosure is to provide a hairstyle making procedure proposal apparatus, a hairstyle making procedure proposal method, and a non-transitory computer readable medium capable of proposing a procedure for making a hairstyle more precisely meeting a request from a customer.
In an example aspect, a hairstyle making procedure proposal apparatus includes:
an input unit configured to receive an input of a requirement and a condition for a hairstyle;
a correspondence relationship storage unit configured to store a first correspondence relationship representing a correspondence relationship between an element characterizing the hairstyle and the hairstyle;
a hairstyle model storage unit configured to store a hairstyle model including a variable for each type of hairstyle;
a hairstyle making procedure storage unit configured to store a hairstyle making procedure including a variable for each type of hairstyle;
an optimum hairstyle search unit configured to select the type of hairstyle based on the element included in the requirement input to the input unit and the first correspondence relationship, determine a value of the variable included in the hairstyle model of the selected type of hairstyle based on the condition input to the input unit, and assign the determined value of the variable included in the hairstyle model to the variable included in the hairstyle making procedure of the selected type of hairstyle; and
an output unit configured to output the type of hairstyle selected by the optimum hairstyle search unit and output the hairstyle making procedure after the value is assigned to the variable by the optimum hairstyle search unit.
In another example aspect, a hairstyle making procedure proposal method performed by a hairstyle making procedure proposal apparatus includes:
storing a first correspondence relationship representing a correspondence relationship between an element characterizing the hairstyle and the hairstyle;
storing a hairstyle model including a variable for each type of hairstyle;
storing a hairstyle making procedure including a variable for each type of hairstyle;
receiving an input of a requirement and a condition for the hairstyle;
selecting the type of hairstyle based on the element included in the input requirement and the first correspondence relationship, determining a value of the variable included in the hairstyle model of the selected type of hairstyle based on the input condition, and assigning the determined value of the variable included in the hairstyle model to the variable included in the hairstyle making procedure of the selected type of hairstyle; and
outputting the selected type of hairstyle and output the hairstyle making procedure after the value is assigned to the variable.
In another example aspect, a non-transitory computer readable medium storing a program for causing a computer to execute:
a procedure of storing a first correspondence relationship representing a correspondence relationship between an element characterizing the hairstyle and the hairstyle;
a procedure of storing a hairstyle model including a variable for each type of hairstyle;
a procedure of storing a hairstyle making procedure including a variable for each type of hairstyle;
a procedure of receiving an input of a requirement and a condition for the hairstyle;
a procedure of selecting the type of hairstyle based on the element included in the input requirement and the first correspondence relationship, determining a value of the variable included in the hairstyle model of the selected type of hairstyle based on the input condition, and assigning the determined value of the variable included in the hairstyle model to the variable included in the hairstyle making procedure of the selected type of hairstyle; and
a procedure of outputting the selected type of hairstyle and output the hairstyle making procedure after the value is assigned to the variable.
The above and other aspects, features and advantages of the present disclosure will become more apparent from the following description of certain example embodiments when taken in conjunction with the accompanying drawings, in which:
Example embodiments of the present disclosure will be described below with reference to the drawings. The following descriptions and drawings are omitted and simplified as appropriate for the purpose of clarifying the description. In the following drawings, the same elements are denoted by the same reference signs, and repeated descriptions thereof are omitted if necessary.
First, a configuration example of a hairstyle making procedure proposal apparatus 100 according to a first example embodiment will be described with reference to
The input unit 101 receives an input of requirements and conditions for hairstyles. The requirements for hairstyles include, for example, sample data of hairstyles, sensibility to describe the hairstyle, an emotion to describe the hairstyle, a hairstyle of a customer, a hair color of the customer, and so on. The conditions for hairstyles include, for example, a price and the hair color of the customer.
The hairstyle characteristic correspondence relationship storage unit 102 stores hairstyle characteristic correspondence relationships. The hairstyle characteristic correspondence relationship includes a first correspondence relationship representing a correspondence relationship between an element characterizing a hairstyle and a type of hairstyle. In the first example embodiment, the hairstyle characteristic correspondence relationship also includes a second correspondence relationship representing a correspondence relationship between the elements characterizing the hairstyle. However, the hairstyle characteristic correspondence relationship may or may not include the second correspondence relationship. Here, an example of the hairstyle characteristic correspondence relationship including the first correspondence relationship and the second correspondence relationship stored in the hairstyle characteristic correspondence relationship storage unit 102 will be described with reference to
The hairstyle model storage unit 103 stores, for each type of hairstyle, a hairstyle model of the hairstyle including components of the hairstyle model and undetermined variables. Referring now to
The hairstyle making procedure storage unit 104 stores, for each type of hairstyle, a hairstyle making procedure of the hairstyle including a constitution procedure of the hairstyle making procedure and undetermined variables. Here, an example of the hairstyle making procedure stored in the hairstyle making procedure storage unit 104 will be described with reference to
As shown in
The optimum hairstyle search unit 105 first selects the type of hairstyle based on elements included in the requirements input to the input unit 101 and the first correspondence relationship stored in the hairstyle characteristic correspondence relationship storage unit 102. If the second correspondence relationship is stored in the hairstyle characteristic correspondence relationship storage unit 102, the optimum hairstyle search unit 105 may select the type of hairstyle based on the elements included in the requirements input to the input unit 101 and the first and second correspondence relationships. Next, the optimum hairstyle search unit 105 reads the hairstyle model of the hairstyle of the selected type from the hairstyle model storage unit 103, and determines a value of each undetermined variable included in the read hairstyle model based on the condition input to the input unit 101. Next, the optimum hairstyle search unit 105 reads the hairstyle making procedure of the hairstyle of the selected type from the hairstyle making procedure storage unit 104, and assigns the value of each variable included in the hairstyle model determined above to each undetermined variable included in the read hairstyle making procedure.
The output unit 106 outputs the type of hairstyle selected by the optimum hairstyle search unit 105, and also outputs the hairstyle making procedure of the hairstyle, in which the values are assigned to the variables by the optimum hairstyle search unit 105.
The optimum hairstyle search unit 105 is not limited to selecting only one type of hairstyle, and instead may select a predetermined number of types of hairstyle as described later. In this case, the optimum hairstyle search unit 105 may assign the values to the variables included in the hairstyle making procedure for each selected type of hairstyle. The output unit 106 may output the predetermined number of types of hairstyles selected by the optimum hairstyle search unit 105, and may also output the hairstyle making procedure after the optimum hairstyle search unit 105 has assigned the values to the variables in the hairstyle making procedure of each selected type of hairstyle.
Next, examples of an input source terminal and an output destination terminal for the hairstyle making procedure proposal apparatus 100 according to the first example embodiment will be described with reference to
In the example of
For example, the terminal 200A is used by a customer who visits a hair salon. The use scene in this case is, for example, as follows. The customer inputs his/her requirements and conditions for the hairstyle and obtains the output of the type of hairstyle and the hairstyle making procedure. The customer presents the output result to the hairstylist or another staff, and the hairstylist works on the hair of the customer based on the output result.
Alternatively, the terminal 200A may be used by the hairstylist or another staff working in the hair salon. The use scene in this case is, for example, as follows. The hairstylist or another staff listens to the customer's requirements and conditions for the hairstyle, inputs the customer's requirements and conditions, and obtains the output of the type of hairstyle and the hairstyle making procedure. The hairstylist works on the hair of the customer based on the output result. There may also be requests from the hair salons regarding the price or the like. Thus, the hairstylist or another staff may input additional hair salon requirements and conditions for hairstyles.
In the example of
For example, the terminal 200B is used by a customer who comes to a hair salon, and the terminal 200C is used by a hairstylist or another staff working at the shop. The use scene in this case is, for example, as follows. The customer inputs the customer's requirements and conditions for the hairstyle. The hairstylist or another staff obtains the output of the type of hairstyle and the hairstyle making procedure, and the hairstylist works on the hair of the customer based on the output result.
In the example of
For example, the terminal 200D is used by a customer who comes to a hair salon, and the terminal 200E is used by a hairstylist or another staff working in the hair salon. The use scene in this case is, for example, as follows. The customer inputs the customer's requirements and conditions for the hairstyle. The hairstylist or another staff also inputs the hair salon's requirements and conditions for the hairstyle.
In the example of
Note that the terminals 200A to 200E shown in
Next, an example of a flow of a schematic operation of the hairstyle making procedure proposal apparatus 100 according to the first example embodiment will be described with reference to
As shown in
Next, the optimum hairstyle search unit 105 selects a type of candidate hairstyle based on the elements included in the requirements input to the input unit 101 in Step S10 and the first and second correspondence relationships stored in the hairstyle characteristic correspondence relationship storage unit 102 (Step S20).
Next, the optimum hairstyle search unit 105 reads the hairstyle model of the candidate hairstyle selected in Step S20 from the hairstyle model storage unit 103, and determines the value of each undetermined variable included in the read hairstyle model based on the condition input to the input unit 101 (Step S30).
Next, the optimum hairstyle search unit 105 reads the hairstyle making procedure of the candidate hairstyle selected in Step S20 from the hairstyle making procedure storage unit 104, and assigns the values of the variables determined in Step S30 and included in the hairstyle model to the undetermined variables included in the read hairstyle making procedure (Step S40).
After that, the output unit 106 outputs the type of hairstyle selected by the optimum hairstyle search unit 105 in Step S20, and also outputs the hairstyle making procedure of the hairstyle, in which the optimum hairstyle search unit 105 assigns values to the respective variables in Step S40 (Step S50).
Next, an example of the flow of the schematic operation in Step S20 shown in
As shown in
Next, the optimum hairstyle search unit 105 determines whether or not the condition “There still remains a set C that can be materialized and a sufficient number of candidate hairstyles has not been obtained” is satisfied (Step S22). Here, the “sufficient number” is predetermined.
If the conditions described above are satisfied in Step S22 (YES in Step S22), the optimum hairstyle search unit 105 selects one of the sets C that can be materialized, and materializes the set C based on the first correspondence relationship and the second correspondence relationship stored in the hairstyle characteristic correspondence relationship storage unit 102 to obtain a set C′ (Step S23). In Step S23, the optimum hairstyle search unit 105 creates the set C′ by materializing the set C based on the first correspondence relationship and the second correspondence relationship.
Next, the optimum hairstyle search unit 105 adds the set C′ to the search tree as a child node of the set C selected in Step S23 (Step S24). The set C added to the search tree is one of the candidate hairstyles. After Step S24, the optimum hairstyle search unit 105 returns to Step S22 and repeats the processing from Step S22.
If the condition “There still remains a set C that can be materialized and a sufficient number of hairstyles has not been obtained” is not satisfied in Step S22 (NO in Step S22), the optimum hairstyle search unit 105 outputs the types of hairstyle candidates obtained so far (Step S25), and the processing ends.
Next, an example of the flow of the schematic operation in Step S30 shown in
As shown in
Next, the optimum hairstyle search unit 105 determines whether a variable whose value is not yet determined is present in the variables included in the hairstyle model read in Step S31 (Step S32).
In Step S32, if there is a variable whose value is not yet determined (YES in Step S32), the optimum hairstyle search unit 105 determines the undetermined value of each variable included in the hairstyle model based on the condition input to the input unit 101 (Step S33). After Step S33, the optimum hairstyle search unit 105 returns to Step S32 and repeats the processing from Step S32.
If there is no variable whose value is not yet determined in Step S32 (NO in Step S32), the optimum hairstyle search unit 105 outputs the determined value of each variable of the hairstyle model (Step S34), and the processing ends.
Next, specific examples of operations of Steps S10 to S50 shown in
First, a specific example of the operation of Step S10 shown in
As shown in
The customer inputs text data in an optional area among the areas 211 to 214 included in the input screen 210. In the example of
In the example of
Next, a specific example of the operation of Step S20 shown in
As shown in
In the example shown in
For this reason, the optimum hairstyle search unit 105 materializes the color “brown” and the sensibility “cool” input to the input unit 101 as the requirements into “crew cut”, and selects the materialized “crew cut” as the type of candidate hairstyle.
Next, a specific example of the operation of Step S30 shown in
As shown in
In the example of
Thus, the optimum hairstyle search unit 105 determines the values of the variables X1, X2, X3, X4, Y, and Z so as to satisfy the price “5000 yen or less” input to the input unit 101 as a condition, that is, so that the crew cut given to the customer having brown hair color becomes 5000 yen or less. Specifically, in the example of
Next, a specific example of the operation of Step S40 shown in
As shown in
In the example of
Thus, the optimum hairstyle search unit 105 assigns the values of the variables X1, X2, X3, X4, Y, and Z determined in Step S30 for the hairstyle model of the “crew cut” to the variables X1, X2, X3, X4, Y, and Z included in the hairstyle making procedure of the “gin tonic”. Specifically, in the example of
Next, a specific example of the operation of Step S50 shown in
As shown in
In the example of
As described above, according to the first example embodiment, the hairstyle characteristic correspondence relationship storage unit 102 stores the first correspondence relationship representing the correspondence relationship between the elements characterizing a hairstyle and the type of hairstyle. The hairstyle model storage unit 103 stores the hairstyle model including the variables for each type of hairstyle, and the hairstyle making procedure storage unit 104 stores the hairstyle making procedure including the variables for each type of hairstyle. The optimum hairstyle search unit 105 selects the type of hairstyle based on the elements included in the requirements input to the input unit 101 and the first correspondence relationship. The optimum hairstyle search unit 105 determines the value of the variable included in the hairstyle model of the selected hairstyle based on the condition input to the input unit 101. The optimum hairstyle search unit 105 assigns the determined values of the variables included in the hairstyle model to the variables included in the selected hairstyle making procedure. The output unit 106 outputs the selected type of hairstyle and also the hairstyle making procedure of the selected hairstyle in which the determined values are assigned to the variables.
As described above, according to the first example embodiment, instead of outputting the hairstyle making procedure stored in the hairstyle making procedure storage unit 104 as it is, the variables included in the hairstyle making procedure are optimized based on the condition input to the input unit 101, and the hairstyle making procedure in which the variables are optimized is output. In this way, the hairstyle making procedure more precisely meeting the customer's request can be proposed.
Further, according to the first example embodiment, the hairstyle characteristic correspondence relationship storage unit 102 may further store the second correspondence relationship representing the correspondence relationship between the elements characterizing the hairstyle. The optimum hairstyle search unit 105 may select the type of hairstyle based on the elements included in the requirements input to the input unit 101 and the first and second correspondence relationships. This makes it easier to materialize the input requirements, thereby facilitating selection of the type of hairstyle.
A configuration example of a hairstyle making procedure proposal apparatus 100A according to a second example embodiment will be described with reference to
The face image acquisition unit 111 acquires a face image. Hereinafter, it is assumed that the face image acquisition unit 111 acquires a face image of a customer. The face image acquisition unit 111 may acquire the face image of the customer by capturing the face of the customer, or may acquire, from a terminal (not shown), the face image of the customer already captured. The face image of the customer may be a still image or a moving image.
The image synthesis unit 112 synthesizes a hairstyle corresponding to a hairstyle making procedure in which values are assigned to variables by the optimum hairstyle search unit 105 with the face image of the customer acquired by the face image acquisition unit 111 to create a synthesized image. At this time, if the face image of the customer is a still image, the synthesized image is a still image, whereas if the face image of the customer is a moving image, the synthesized image is a moving image. The synthesized image as the moving image may be, for example, a VR (Virtual Reality) moving image.
The output unit 106 outputs the synthesized image created by the image synthesis unit 112 in addition to or instead of the type of hairstyle and the hairstyle making procedure. The output destination of the synthesized image is generally a terminal used by the customer, a hairstylist or the like. However, when the synthesized image is a VR moving image, the output destination of the synthesized image may be a VR goggle.
In the following description, it is assumed that either a first output mode or a second output mode is set to the output unit 106. It is also assumed that when the first output mode is set, the output unit 106 outputs the type of hairstyle and the hairstyle making procedure, while when the second output mode is set, the output unit 106 outputs the synthesized image.
Next, an example of the flow of the schematic operation of the hairstyle making procedure proposal apparatus 100A according to the second example embodiment will be described. The operation when the first output mode is set to the output unit 106 is the same as the flow of
As shown in
Next, the face image acquisition unit 111 acquires the face image of the customer (Step S500).
Next, the image synthesis unit 112 synthesizes the hairstyle corresponding to the hairstyle making procedure in which the values are assigned to the variables by the optimum hairstyle search unit 105 in Step S400 with the face image of the customer acquired by the face image acquisition unit 111 in Step S500 to create the synthesized image (Step S600).
After that, the output unit 106 outputs the synthesized image created by the image synthesis unit 112 in Step S600 (Step S700).
Note that Step S500 may be performed before Step S600 and is not limited to being performed after Steps S100 to S400. For example, Step S500 may be performed before Step S100, or may be performed in parallel with Steps S100 to S400 during Steps S100 to S400.
As described above, according to the second example embodiment, the face image acquisition unit 111 acquires a face image of a customer. An image synthesis unit 112 synthesizes a hairstyle corresponding to a hairstyle making procedure with the face image of the customer to create a synthesized image. The output unit 106 outputs the synthesized image. This allows customers to see what they look like in the proposed hairstyle before the operation. Thus, if the proposed hairstyle is not suitable for the customer's preference, the customer can find the hairstyle suitable for the customer's preference by changing requirements and conditions. Other effects are the same as those of the first example embodiment.
A hardware configuration example of a hairstyle making procedure proposal apparatus 100B according to a third example embodiment will be described with reference to
The processor 121 may be, for example, a microprocessor, an MPU (Micro Processing Unit), or a CPU (Central Processing Unit). The processor 121 may include a plurality of processors.
The memory 122 is composed of a combination of a volatile memory and a non-volatile memory. The memory 122 may include storage separated from the processor 121. In this case, the processor 121 may access the memory 122 via an I (Input)/O (Output) interface (not shown).
Each of the hairstyle making procedure proposal apparatuses 100 and 100A according to the first and second example embodiments, respectively, may have a hardware configuration shown in
The above-mentioned program can be stored and provided to a computer (including a computer 50) using any type of non-transitory computer readable media. Non-transitory computer readable media include any type of tangible storage media. Examples of non-transitory computer readable media include magnetic storage media (such as floppy disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media (e.g. magneto-optical disks), CD-ROM (Compact Disc-ROM), CD-R (CD-Recordable), CD-R/W (CD-ReWritable), and semiconductor memories (such as mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory), etc.). The program may be provided to a computer using any type of transitory computer readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer readable media can provide the program to a computer via a wired communication line (e.g. electric wires, and optical fibers) or a wireless communication line.
Although the present disclosure has been described above with reference to the example embodiments, the present disclosure is not limited to the example embodiments described above. The configuration and details of the present disclosure may be modified in various ways that would be understood by those skilled in the art within the scope of the present disclosure.
For example, in the example embodiments described above, a scene used by a customer, a hairstylist, or another staff in a hair salon has been described as an example of a use scene of the present disclosure. However, the present disclosure is not limited to this. The disclosure may be However used, for example, by a customer before visiting a hair salon.
Number | Date | Country | Kind |
---|---|---|---|
2020-203908 | Dec 2020 | JP | national |