CN105159956A - Hair style generating method and system - Google Patents
Hair style generating method and system Download PDFInfo
- Publication number
- CN105159956A CN105159956A CN201510508141.9A CN201510508141A CN105159956A CN 105159956 A CN105159956 A CN 105159956A CN 201510508141 A CN201510508141 A CN 201510508141A CN 105159956 A CN105159956 A CN 105159956A
- Authority
- CN
- China
- Prior art keywords
- information
- user
- hair style
- barber shop
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012790 confirmation Methods 0.000 claims abstract description 31
- 230000001815 facial effect Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 7
- 239000000284 extract Substances 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 238000013461 design Methods 0.000 abstract description 16
- 210000003128 head Anatomy 0.000 description 68
- 241000320126 Pseudomugilidae Species 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 4
- 210000000744 eyelid Anatomy 0.000 description 4
- 210000001061 forehead Anatomy 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 2
- 235000002673 Dioscorea communis Nutrition 0.000 description 1
- 241000544230 Dioscorea communis Species 0.000 description 1
- 208000035753 Periorbital contusion Diseases 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 230000003752 improving hair Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/5838—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
Landscapes
- Engineering & Computer Science (AREA)
- Library & Information Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a hair style generating method and system. A first terminal acquires a user head portrait and sends user information and the user head portrait to a server; the server acquires hair style images matched with the user head portrait, forms a hair style list, acquires information of a plurality of barbershops according to the user information, forms a barbershop information list and sends the barbershop information list and the hair style list to the first terminal; and the first terminal sends hair style confirmation information to the server and the server sends the user information and the hair style image, which is selected by a user, in the hair style confirmation information to the corresponding second terminal. The server generates the hair style images matched with the user head portrait, and thus, not only is the misgiving of an uncontrollable satisfaction degree of the user for the hair style relieved and various personalized hair style requirements of the user are met to a greater extent, but also the barbershop does not need to carry out hair style design on site on the user, so that time of hair style design is saved and hairdressing efficiency is improved.
Description
Technical Field
The invention relates to the technical field of internet communication, in particular to a hair style generation method and a hair style generation system.
Background
At present, when a user needs to cut hair, the user goes to a barber shop and expresses his intention to a hair stylist. The hair style designer designs the hair style according to the face shape, the head shape and the express will of the user, designs the satisfactory hair style of the user and then hairdresses the hair for the user, so as to arrange the designed hair style for the user.
Since a hair stylist needs to design a hair style for a user on site according to the user's face, head, and will before haircut, it takes a lot of time to design a hair style, and the efficiency of designing a hair style is low, thereby resulting in low haircut efficiency.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and a system for generating a hair style, which implement automatic generation of a hair style image matched with a user avatar, remove the uncontrollable consideration of the user on satisfaction of the hair style, meet various personalized hair style requirements of the user to a greater extent, improve the efficiency of designing the hair style, and further improve the hair dressing efficiency and effect.
In a first aspect, an embodiment of the present invention provides a method for generating a hair style, where the method includes:
the method comprises the steps that a first terminal obtains a user head portrait and sends user information and the user head portrait to a server;
the server acquires a hair style image matched with the head portrait of the user, forms a hair style list, acquires information of a plurality of barbershops according to the user information, forms a barbershop information list, and sends the barbershop information list and the hair style list to the first terminal;
the first terminal sends hair style confirmation information to the server, wherein the hair style confirmation information comprises a hair style image selected by a user and barbershop information;
and the server sends the user information and the hair style image selected by the user to a second terminal corresponding to the barber shop information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the obtaining, by the server, a hair style image matched with the avatar of the user includes:
the server carries out image processing on the user head portrait and extracts facial features of the user from the user head portrait;
the server acquires a hairstyle matching strategy;
and the server acquires a hair style image matched with the head portrait of the user from the hair style image stored in the server according to the facial features of the user and the hair style matching strategy.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the user information includes location information of a user, the barber shop information includes location information of barbers, and the server obtains a plurality of barber shop information according to the user information and composes a barber shop information list, including:
the server acquires stored information of each barber shop, and acquires position information of each barber shop from the information of each barber shop;
the server respectively calculates the distance between each barber shop and the user according to the position information of each barber shop and the position information of the user;
the server selects barber shop information of which the distance is smaller than a preset distance from the barber shop information;
and the server sorts the selected barber shop information according to a preset distance sequence and forms a barber shop information list.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the user information includes location information of a user, the barber shop information includes location information of barbers, and the server obtains a plurality of barber shop information according to the user information and forms a barber shop information list, including:
the server locates a barber shop within a preset distance from the user according to the position information of the user;
the server acquires barber shop information corresponding to the barber shop from a second terminal corresponding to the positioned barber shop;
and the server sorts the acquired barber shop information according to a preset distance sequence and forms a barber shop information list.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where after the server sends the user information and the hair style image selected by the user to the second terminal corresponding to the barber shop information, the method further includes:
the server acquires the business time period and the current queuing number of people of the barbershop corresponding to the second terminal from the second terminal every other preset time period, and the business time period and the current queuing number of people form reminding information which is sent to the first terminal.
In a second aspect, an embodiment of the present invention provides a hair style generation system, including: a first terminal and a server;
the first terminal is used for acquiring a user head portrait and sending user information and the user head portrait to the server; receiving a barber shop information list and a hair style list sent by the server, and sending hair style confirmation information to the server, wherein the hair style confirmation information comprises a hair style image and barber shop information;
the server is used for acquiring a hair style image matched with the head portrait of the user and forming a hair style list; acquiring information of a plurality of barbershops according to the user information, forming a barbershop information list, and sending the barbershop information list and the hair style list to the first terminal; and sending the user information and the hair style image selected by the user to a second terminal corresponding to the barber shop information included in the hair style confirmation information.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the server is configured to perform image processing on the user avatar, and extract facial features of a user from the user avatar; acquiring a hairstyle matching strategy; and acquiring a hair style image matched with the head portrait of the user from the hair style image stored in the server according to the facial features of the user and the hair style matching strategy.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the user information includes location information of the user, the barber shop information includes location information of a barber shop,
the server is used for acquiring and storing information of each barber shop and acquiring position information of each barber shop from the information of each barber shop; respectively calculating the distance between each barber shop and the user according to the position information of each barber shop and the position information of the user; selecting barber shop information of which the distance is less than a preset distance from the barber shop information; and sequencing the selected barber shop information according to a preset distance sequence and forming a barber shop information list.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the user information includes location information of the user, the barber shop information includes location information of the barber shop,
the server is used for positioning a barber shop within a preset distance from the user according to the position information of the user; acquiring barber shop information corresponding to the barber shop from a second terminal corresponding to the positioned barber shop; and sequencing the obtained barber shop information according to a preset distance sequence and forming a barber shop information list.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the server is further configured to obtain, from the second terminal, a business time period and a current number of people in line of the barber shop corresponding to the second terminal every preset time period, combine the business time period and the current number of people in line into a reminding message, and send the reminding message to the first terminal.
In the hair style generation method and the hair style generation system, the server acquires the hair style image matched with the head portrait of the user, forms a hair style list, acquires a plurality of barber shop information according to the user information, forms a barber shop information list, and sends the barber shop information list and the hair style list to the first terminal; the first terminal sends hair style confirmation information to the server, wherein the hair style confirmation information comprises a hair style image selected by the user and barber shop information. Because the server automatically generates the hair style image matched with the head portrait of the user, the uncontrollable worry of the user on the satisfaction degree of the hair style is eliminated, and various individualized hair style requirements of the user are met to the greater extent; meanwhile, the barbershop does not need to design the hairstyle for the user on site, so that the time for designing the hairstyle is saved, and the haircut efficiency is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1A illustrates a signaling interaction diagram of a hair style generation method according to embodiment 1 of the present invention;
FIG. 1B is a flowchart illustrating a method for obtaining an image of a hair style matching with a head portrait of a user according to embodiment 1 of the present invention;
FIG. 2A is a schematic diagram of a hair styling system provided in embodiment 2 of the present invention;
figure 2B illustrates a schematic diagram of another hair styling system provided in embodiment 2 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Considering that before a user trims hair in the prior art, a hair style designer needs to provide a hairstyle for the user to be referred to on site according to the face shape, the head shape and the intention of the user, and then the user selects a satisfactory hairstyle from the referred hairstyles, but the designed hairstyle cannot be intuitively felt by the user, so that the reference value of the hairstyle selected by the user is very low, haircutting according to the hairstyle selected by the user may cause the user to be dissatisfied with the finally-treated hairstyle, and a great deal of time is needed for designing the hairstyle, so that the hairstyle designing efficiency is very low, and further the haircutting efficiency and effect are very low. Based on the above, the embodiment of the invention provides a hair style generation method and system, which are used for improving hair cutting efficiency and effect. The following is described by way of example.
Example 1
Referring to fig. 1A, an embodiment of the present invention provides a method of creating a hair style. In the embodiment of the present invention, a large number of hair style images are stored in the server in advance, and when the user corresponding to the first terminal needs to cut hair, the server may generate a hair style image matching with the avatar of the user for the user by using the method provided in the embodiment of the present invention, and notify the user to go to the hair cut shop corresponding to the second terminal selected by the user to cut hair. The method comprises the following steps:
step 101: the method comprises the steps that a first terminal obtains a user head portrait and sends user information and the user head portrait to a server;
the user information comprises the position information, the name, the contact mode and the personalized demand information of the user. The personalized demand information may represent a user's personalized demand for the barber shop's quality of service, barber facility, barber skill, and the like. The location information of the user may be an address or coordinates of the user, etc.
The operation of the first terminal acquiring the avatar of the user may be specifically implemented in the following two ways:
in the first mode, the first terminal obtains the user's avatar directly from the local storage.
The first terminal corresponding to the user stores the user head portrait of the user in advance, and the first terminal directly obtains one user head portrait randomly from the user head portrait stored in the local memory. Or the first terminal acquires a user avatar with the storage time closest to the current time according to the storage time of each user avatar stored locally. Or the first terminal displays a plurality of stored user head portraits, the user selects one user head portrait from the displayed user head portraits, and the first terminal acquires the user head portrait from the local memory when detecting that the user selects one user head portrait.
In the second mode, the first terminal takes a picture of the user on site through the image collector arranged on the first terminal to obtain the head portrait of the user. The image collector can be a camera or a scanner. For example, if the image collector is a camera, the user is photographed by the camera on the first terminal to obtain a user head portrait of the user.
After the user avatar is obtained through the first or second mode, the first terminal also obtains user information of the user and sends the user information and the user avatar to the server.
The user can store the own position information, name, contact information and personalized demand information in the first terminal in advance. The operation of the first terminal acquiring the user information of the user may be that the first terminal acquires the location information, name, contact information and personalized requirement information, which are stored by the user in advance, from a local location, and forms the user information of the user with the location information, name, contact information and personalized requirement information.
In addition, the location information, the name, the contact address and the personalized demand information may not be stored in the first terminal in advance. The first terminal displays a user information registration page to the user so that the user inputs own position information, name, contact information and personalized demand information in the user information registration page, and the first terminal acquires the information input by the user from the user information registration page and forms user information.
Step 102: the server acquires a hair style image matched with the head portrait of the user and forms a hair style list;
the server obtains the hair style image matched with the head portrait of the user through the following steps, as shown in fig. 1B:
step 1021: the server carries out image processing on the user head portrait and extracts the facial features of the user from the user head portrait;
the facial features may include one or more of facial, head, eye, or nose features. The face shape can comprise a round face, a square face and the like, and the head shape can comprise a wide forehead, a narrow forehead and the like; the eye features may include eye color, which may be blue or black eyes, or the like, or eyelid shape, which may be double or single eyelids, or the like. The nasal features may include a high nasal bridge or a low nasal bridge, etc.
The above-mentioned technology for processing the user head portrait is mature, and is not described herein again.
Step 1022: the server acquires a hairstyle matching strategy;
the hairstyle matching strategy is a matching rule for matching different hairstyles according to different facial features. The hairstyle matching strategy can be a matching rule which is adaptive to the facial form, the head form, the eye feature or the nose feature of the head portrait of the user. For the facial features, the hair style matching strategy can be that a round face is matched with short hair or a square face is matched with long hair and the like; for the nose feature, the hair style matching strategy can be that the high nasal bridge is matched with long hair or the low nasal bridge is matched with short hair, and the like; for eye features, the hairstyle matching strategy may be blue-eye with brown hair or black-eye with black hair, etc. In addition, when the facial features are a combination of multiple features such as facial shapes, head shapes, eye features or nose features, the hairstyle matching strategy can be a combination of the multiple matching strategies, such as matching with long curly brown hair when the facial features include square faces, high nose bridges and blue eyes, and the like.
The server obtains the hair style matching strategy through the following modes:
the technical personnel set a hairstyle matching strategy in advance according to the experience of the haircut industry and aesthetic rules, and the set hairstyle matching strategy is stored in the server in advance. When the server needs to acquire a hairstyle matching strategy, the server directly retrieves a pre-stored hairstyle matching strategy from the local; or,
the user can set a hairstyle matching strategy by himself, the user inputs the hairstyle matching strategy set by himself into the first terminal, the first terminal obtains the hairstyle matching strategy input by the user, and in step 101, the user information and the user head portrait are sent to the server, and meanwhile, the hairstyle matching strategy set by himself is sent to the server. And the server receives the hairstyle matching strategy sent by the first terminal.
Step 1023: the server acquires a hair style image matched with the head portrait of the user from the hair style image stored in the server according to the facial features of the user and the hair style matching strategy;
when the server receives the user head portrait sent by the first terminal, the server carries out image processing on the user head portrait and extracts the facial features of the user from the user head portrait. The server acquires a hairstyle matching strategy corresponding to the facial features according to the extracted facial features, wherein the hairstyle matching strategy comprises hairstyle feature information, the hairstyle feature information can be the length, the color and the shape of a hairstyle, the length of the hairstyle can comprise long hair, short hair or medium hair and the like, the color of the hairstyle can comprise black, brown or wine red and the like, and the shape of the hairstyle can comprise straight hair or curly hair and the like. The server acquires a hair style image which accords with the hair style characteristic information from a large number of stored hair style images according to the hair style characteristic information.
In order to facilitate understanding of the above-mentioned manner of obtaining the hair style image matching with the head portrait of the user, the following description is given by way of example. For example, assuming that the facial features obtained from the user's head portrait include features of a square face, a high nose bridge, and blue eyes, the server is assumed to store hair style matching policies "square face, high nose bridge, and blue eyes are matched with brown long curly hair" and "round face, low nose bridge, and black eyes are matched with black short straight hair". The server acquires a hairstyle matching strategy corresponding to the facial features as 'the square face, the high nose bridge and the blue eyes are matched with brown long curly hair' according to the extracted facial features of the square face, the high nose bridge and the blue eyes, and the hairstyle matching strategy comprises hairstyle feature information as 'brown, long hair and curly hair'. And the server acquires a hair style image which accords with the hair style characteristic information from a large amount of stored hair style images according to the 'brown, long hair and curly hair', wherein the acquired hair style image is the brown long curly hair.
Step 1024: the server forms a hair style list by the acquired hair style images matched with the head portrait of the user;
the server may sort the hair style images in the hair style list according to a preset order. The preset sequence can be a preset length sequence, a preset color sequence or a preset shape sequence. The preset length order may be ordered from long to short or from short to long according to the length of the hairstyle in the hairstyle image. The preset color sequence may be a preset color sequence, and the preset color sequence is ordered according to the color of the hair style in the hair style image, for example, the preset color sequence may be a sequence of black, brown and wine red. The preset shape sequence may be a preset shape sequence, and the preset shape sequence is sorted according to the shape of the hair style in the hair style image, for example, the preset shape sequence may be a sequence of straight hair and curly hair.
After the server generates the hair style list through the above step 102, it also generates a barber shop information list through a step 103, where the barber shop information list includes at least one barber shop information, so that the subsequent user can select one barber shop according to the barber shop information list.
Step 103: the server acquires information of a plurality of barbershops according to the user information and forms a barbershop information list;
the information on the barber shop includes information on the position of the barber shop, information on the barber facility of the barber shop, information on the quality of service of the barber shop, and the like. The location information of the barber shop may be an address or coordinates of the barber shop.
The server acquires the barber shop information and can be realized by the following modes:
in the method 1, information on barber shops of a plurality of barber shops is stored in a server in advance. The server acquires the stored information of each barber shop and acquires the position information of each barber shop from the information of each barber shop; the server respectively calculates the distance between each barber shop and the user according to the position information of each barber shop and the position information of the user; the server selects barber shop information with a distance smaller than a preset distance from each barber shop information; the server sorts the selected barber shop information according to a preset distance sequence and forms a barber shop information list;
the preset distance may be pre-stored in the server, or may be a distance set by the user and sent to the server through the first terminal. The preset distance sequence may be arranged according to the distance from small to large, or according to the distance from large to small, or according to other setting modes.
Mode 2: the server locates the barber shop within a preset distance from the user through a positioning application such as a Global Positioning System (GPS) according to the position information of the user; the server acquires barber shop information corresponding to the barber shop from a second terminal corresponding to the positioned barber shop; and the server sorts the acquired barber shop information according to a preset distance sequence and forms a barber shop information list.
Step 104: the server sends the barber shop information list and the hair style list to the first terminal;
step 105: the method comprises the steps that a first terminal receives a barber shop information list and a hairstyle list sent by a server, and then sends hairstyle confirmation information to the server, wherein the hairstyle confirmation information comprises a hairstyle image selected by a user and barber shop information;
the first terminal receives the barber shop information list and the hair style list transmitted by the server, and displays the barber shop information list and the hair style list to the user. The user selects a preferred hair style image from the displayed hair style list and clicks the selected hair style image, and at the same time, the user selects barber shop information from the displayed barber shop information list and clicks the selected barber shop information. When the first terminal detects that the user clicks a certain hair style image and barber shop information, the detected hair style image and barber shop information are determined as the hair style image and barber shop information selected by the user, then the hair style image and barber shop information form hair style confirmation information, and the hair style confirmation information is sent to the server.
When the user needs to go to the barbershop for haircut, the barbershop can directly go to the barbershop corresponding to the barbershop information selected by the user, and the barbershop can haircut the hair for the user according to the haircut image selected by the user.
The hair style confirmation information may further include a plurality of hair style images and a plurality of barber shop information selected by the user, and when the user needs to go to a barber shop to barber a hair, the barber shop may select a most suitable barber shop from barber shops corresponding to the selected barber shop information, and the barber shop may select one hair style image most suitable for the user as the user's hair according to the plurality of hair style images selected by the user.
Step 106: the server sends the user information and the hair style image selected by the user to a second terminal corresponding to the barber shop information included in the hair style confirmation information;
step 107: the server acquires the business time period and the current queuing number of people of the barbershop corresponding to the second terminal from the second terminal every other preset time period, and the business time period and the current queuing number of people form reminding information;
wherein, the reminding information can also comprise recent discount information of the barber shop;
the preset time period may be half an hour, 1 hour, or the like. The server may periodically obtain the reminder information every a preset time period.
Step 108: the server sends the reminding information to the first terminal.
And after the first terminal corresponding to the user receives the reminding information, the user can select proper time to go to the barbershop for barbershop according to the reminding information. For example, the user can reasonably arrange his time according to the business time of the barber shop, and can barber the barber before he is free; or the user selects to go to the barber shop for haircut before the barber shop is in a small queue number according to the current queuing number of the barber shop. Therefore, the waiting time can be prevented from being too long when queuing is carried out; or, the user can select an appropriate time to go to the barbershop for barbershop according to the recent preference information of the barbershop.
After the user finishes haircut management, a feedback message can be sent to the server through the first terminal, wherein the feedback message can comprise evaluation on barber shop services, evaluation on barber effect and the like.
The hair style generated by the method provided by the embodiment of the invention is generated based on the head portrait of the user, the hair style is directly combined with the head portrait of the user, and the user can intuitively feel whether the hair style is suitable for the facial features of the user through the generated hair style image, so that the hair style image selected by the user from the hair style list is the favorite hair style of the user. In the whole haircut process of a user going to a barber shop for haircutting, a barber directly cuts the hair for the user according to the haircut image selected by the user, so that the time for haircut design is saved, the time for whole haircut is shortened, and the haircut finally worked out for the user is closer to the requirement of the user on the haircut.
In the method provided by the embodiment of the invention, a server acquires a hair style image matched with a head portrait of a user, forms a hair style list, acquires a plurality of barber shop information according to the user information, forms a barber shop information list, and sends the barber shop information list and the hair style list to a first terminal; the first terminal sends hair style confirmation information to the server, wherein the hair style confirmation information comprises a hair style image selected by the user and barber shop information. Because the server automatically generates the hair style image matched with the head portrait of the user, the uncontrollable worry of the user on the satisfaction degree of the hair style is eliminated, and various individualized hair style requirements of the user are met to the greater extent; meanwhile, the barbershop does not need to design the hairstyle for the user on site, so that the time for designing the hairstyle is saved, and the haircut efficiency is improved.
Example 2
Referring to fig. 2A, an embodiment of the present invention provides a hair style generation system, which is used for implementing the hair style generation method. The system comprises a first terminal 1 and a server 2;
the first terminal 1 is used for acquiring a user head portrait and sending user information and the user head portrait to the server 2; receiving the barber shop information list and the hair style list sent by the server 2, and sending hair style confirmation information to the server 2, wherein the hair style confirmation information comprises a hair style image and barber shop information;
the server 2 is used for acquiring a hair style image matched with the head portrait of the user and forming a hair style list; acquiring information of a plurality of barbershops according to user information, forming a barbershop information list, and sending the barbershop information list and the hairstyle list to the first terminal 1; and sending the user information and the hair style image selected by the user to a second terminal corresponding to the barber shop information included in the hair style confirmation information.
The first terminal 1 may be a mobile terminal such as a mobile phone and a tablet computer, or may be a fixed terminal such as a desktop computer.
When a user needs to cut hair, the first terminal 1 can directly obtain a user head portrait from a local memory, or the first terminal 1 takes a picture of the user on site through an image collector arranged on the first terminal 1 to obtain the user head portrait, and then the first terminal 1 sends the user head portrait and user information to the server 2;
after receiving the user head portrait and the user information, the server 2 acquires a hair style image matched with the user head portrait from the hair style image stored in the server 2, and forms a hair style list; the server 2 acquires a plurality of barber shop information from the user information and forms a barber shop information list; finally, the barber shop information list and the hair style list are sent to the first terminal 1;
when receiving the barber shop information list and the hair style list sent by the server 2, the first terminal 1 sends hair style confirmation information to the server 2, wherein the hair style confirmation information comprises a hair style image and barber shop information selected by a user;
when receiving the hair style confirmation information transmitted from the first terminal 1, the server 2 transmits the user information and the hair style image selected by the user to the second terminal corresponding to the barber shop information.
In the embodiment of the invention, because the server 2 automatically generates the hair style image matched with the head portrait of the user, the user finishes hair style design before going to the barber shop for haircut, the barber shop does not need to design the hair style for the user on site, a great amount of time is saved in hair style design, the hair style design efficiency is improved, and the hair cut efficiency is further improved.
The server 2 is further configured to process the user avatar, and extract facial features of the user from the user avatar; acquiring a hairstyle matching strategy; acquiring a hair style image matched with the head portrait of the user from the hair style image stored in the server 2 according to the facial features of the user and the hair style matching strategy;
the facial features may include one or more of facial, head, eye, or nose features. The face shape can comprise a round face, a square face and the like, and the head shape can comprise a wide forehead, a narrow forehead and the like; the eye features may include eye color, which may be blue or black eyes, or the like, or eyelid shape, which may be double or single eyelids, or the like. The nasal features may include a high nasal bridge or a low nasal bridge, etc.
The server 2 may obtain the hair style matching policy by the following steps:
the technician sets a hairstyle matching policy in advance according to the experience of the haircut industry and the aesthetic rule, and stores the set hairstyle matching policy in the server 2 in advance. When the server 2 needs to acquire a hairstyle matching strategy, the server 2 directly retrieves a pre-stored hairstyle matching strategy from the local; or,
the user can set the hairstyle matching strategy by himself, the user inputs the hairstyle matching strategy set by himself into the first terminal 1, the first terminal 1 obtains the hairstyle matching strategy input by the user, and sends the user information and the user head portrait to the server 2, and simultaneously sends the hairstyle matching strategy set by himself to the server 2. The server 2 receives the hairstyle matching policy sent by the first terminal 1.
The server 2 is further used for acquiring and storing information of each barber shop, and acquiring position information of each barber shop from the information of each barber shop; respectively calculating the distance between each barber shop and the user according to the position information of each barber shop and the position information of the user; selecting barber shop information with a distance less than a preset distance from each barber shop information; sorting the selected barber shop information according to a preset distance sequence and forming a barber shop information list;
the information on the barber shop includes information on the position of the barber shop, information on the barber facility of the barber shop, information on the quality of service of the barber shop, and the like. The location information of the barber shop may be an address or coordinates of the barber shop.
The preset distance may be several hundred meters or several kilometers, and the preset distance may be pre-stored in the server 2, or may be a distance set by the user and sent to the server 2 through the first terminal 1; the preset distance sequence may be arranged according to the distance from small to large, or according to the distance from large to small, or according to other setting modes.
The server 2 is also used for positioning a barber shop within a preset distance from the user according to the position information of the user; acquiring information of the barber shop corresponding to the barber shop from a second terminal corresponding to the positioned barber shop; and sequencing the acquired barber shop information according to a preset distance sequence and forming a barber shop information list.
The server 2 can perform positioning by using a positioning application such as a GPS, by operating the barber shop located within a predetermined distance from the user.
The server 2 is further configured to obtain the business time period and the current number of queuing people of the barber shop corresponding to the second terminal from the second terminal every preset time period, compose a reminding message from the business time period and the current number of queuing people, and send the reminding message to the first terminal 1.
Wherein, the reminding information can also comprise the recent preferential information of the barber shop.
And after the first terminal corresponding to the user receives the reminding information, the user can select proper time to go to the barbershop for barbershop according to the reminding information. For example, the user can reasonably arrange his time according to the business time of the barber shop, and can barber the barber before he is free; or the user selects to go to the barber shop for haircut before the barber shop is in a small queue number according to the current queuing number of the barber shop. Therefore, the waiting time can be prevented from being too long when queuing is carried out; or, the user can select an appropriate time to go to the barbershop for barbershop according to the recent preference information of the barbershop.
After the user finishes haircut, a feedback message can be sent to the server 2 through the first terminal 1, wherein the feedback message can comprise the evaluation of barber shop services, the evaluation of barber effect and the like.
As shown in fig. 2B, when the user needs to design a hairstyle, the user obtains the user avatar through the first terminal 1, and then sends the user avatar and the user information to the server 2. After receiving the user head portrait and the user information, the server 2 acquires a hair style image matched with the user head portrait from the server 2 and forms a hair style list; the server 2 acquires a plurality of barber shop information from the user information, forms a barber shop information list, and finally transmits the barber shop information list and the hair style list to the first terminal 1.
When receiving the barber shop information list and the hair style list transmitted from the server, the first terminal 1 transmits hair style confirmation information including a hair style image and barber shop information selected by the user to the server 2. When receiving the hair style confirmation information transmitted from the first terminal 1, the server 2 transmits the user information and the hair style image selected by the user to the second terminal corresponding to the barber shop information included in the hair style confirmation information.
The server 2 acquires the business time period and the current queuing number of people of the barbershop corresponding to the second terminal from the second terminal every preset time period, and the business time period and the current queuing number of people form reminding information which is sent to the first terminal 1.
The hair style generated by the system provided by the embodiment of the invention is generated based on the head portrait of the user, the hair style is directly combined with the head portrait of the user, and the user can intuitively feel whether the hair style is suitable for the facial features of the user through the generated hair style image, so that the hair style image selected by the user from the hair style list is the favorite hair style of the user. In the whole haircut process of a user going to a barber shop for haircutting, a barber directly cuts the hair for the user according to the haircut image selected by the user, so that the time for haircut design is saved, the time for whole haircut is shortened, and the haircut finally worked out for the user is closer to the requirement of the user on the haircut.
In the embodiment of the invention, as the server automatically generates the hair style image matched with the head portrait of the user, the uncontrollable worry of the user on the satisfaction degree of the hair style is eliminated, and various personalized hair style requirements of the user are met to a greater extent; meanwhile, the barbershop does not need to design the hairstyle for the user on site, so that the time for designing the hairstyle is saved, and the haircut efficiency is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. The system embodiments described above are merely illustrative.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method of hair styling, the method comprising:
the method comprises the steps that a first terminal obtains a user head portrait and sends user information and the user head portrait to a server;
the server acquires a hair style image matched with the head portrait of the user, forms a hair style list, acquires information of a plurality of barbershops according to the user information, forms a barbershop information list, and sends the barbershop information list and the hair style list to the first terminal;
the first terminal sends hair style confirmation information to the server, wherein the hair style confirmation information comprises a hair style image selected by a user and barbershop information;
and the server sends the user information and the hair style image selected by the user to a second terminal corresponding to the barber shop information.
2. The method of claim 1, wherein the server obtains an image of a hair style that matches the user avatar, comprising:
the server carries out image processing on the user head portrait and extracts facial features of the user from the user head portrait;
the server acquires a hairstyle matching strategy;
and the server acquires a hair style image matched with the head portrait of the user from the hair style image stored in the server according to the facial features of the user and the hair style matching strategy.
3. The method as claimed in claim 1, wherein the user information includes location information of the user, the barber shop information includes location information of barber shops, and the server acquires a plurality of barber shop information according to the user information and composes a barber shop information list, including:
the server acquires stored information of each barber shop, and acquires position information of each barber shop from the information of each barber shop;
the server respectively calculates the distance between each barber shop and the user according to the position information of each barber shop and the position information of the user;
the server selects barber shop information of which the distance is smaller than a preset distance from the barber shop information;
and the server sorts the selected barber shop information according to a preset distance sequence and forms a barber shop information list.
4. The method as claimed in claim 1, wherein the user information includes location information of the user, the barber shop information includes location information of barber shops, and the server acquires a plurality of barber shop information according to the user information and composes a barber shop information list, including:
the server locates a barber shop within a preset distance from the user according to the position information of the user;
the server acquires barber shop information corresponding to the barber shop from a second terminal corresponding to the positioned barber shop;
and the server sorts the acquired barber shop information according to a preset distance sequence and forms a barber shop information list.
5. The method according to claim 1, wherein after the server transmits the user information and the image of the hair style selected by the user to the second terminal corresponding to the barber shop information, the method further comprises:
the server acquires the business time period and the current queuing number of people of the barbershop corresponding to the second terminal from the second terminal every other preset time period, and the business time period and the current queuing number of people form reminding information which is sent to the first terminal.
6. A hair styling system, the system comprising: a first terminal and a server;
the first terminal is used for acquiring a user head portrait and sending user information and the user head portrait to the server; receiving a barber shop information list and a hair style list sent by the server, and sending hair style confirmation information to the server, wherein the hair style confirmation information comprises a hair style image and barber shop information;
the server is used for acquiring a hair style image matched with the head portrait of the user and forming a hair style list; acquiring information of a plurality of barbershops according to the user information, forming a barbershop information list, and sending the barbershop information list and the hair style list to the first terminal; and sending the user information and the hair style image selected by the user to a second terminal corresponding to the barber shop information included in the hair style confirmation information.
7. The system of claim 6,
the server is used for carrying out image processing on the head portrait of the user and extracting facial features of the user from the head portrait of the user; acquiring a hairstyle matching strategy; and acquiring a hair style image matched with the head portrait of the user from the hair style image stored in the server according to the facial features of the user and the hair style matching strategy.
8. The system of claim 6, wherein the user information includes location information of the user, the barber shop information includes location information of barber shops,
the server is used for acquiring and storing information of each barber shop and acquiring position information of each barber shop from the information of each barber shop; respectively calculating the distance between each barber shop and the user according to the position information of each barber shop and the position information of the user; selecting barber shop information of which the distance is less than a preset distance from the barber shop information; and sequencing the selected barber shop information according to a preset distance sequence and forming a barber shop information list.
9. The system of claim 6, wherein the user information includes location information of the user, the barber shop information includes location information of barber shops,
the server is used for positioning a barber shop within a preset distance from the user according to the position information of the user; acquiring barber shop information corresponding to the barber shop from a second terminal corresponding to the positioned barber shop; and sequencing the obtained barber shop information according to a preset distance sequence and forming a barber shop information list.
10. The system of claim 6,
the server is further used for acquiring the business time period and the current queuing number of people of the barbershop corresponding to the second terminal from the second terminal every other preset time period, forming reminding information by the business time period and the current queuing number of people, and sending the reminding information to the first terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510508141.9A CN105159956A (en) | 2015-08-18 | 2015-08-18 | Hair style generating method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510508141.9A CN105159956A (en) | 2015-08-18 | 2015-08-18 | Hair style generating method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105159956A true CN105159956A (en) | 2015-12-16 |
Family
ID=54800812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510508141.9A Pending CN105159956A (en) | 2015-08-18 | 2015-08-18 | Hair style generating method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159956A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956150A (en) * | 2016-05-12 | 2016-09-21 | 张家港索奥通信科技有限公司 | Method and apparatus for generating hair style and makeup matching suggestions of a user |
CN105956869A (en) * | 2016-04-18 | 2016-09-21 | 南昌大学 | Hairdressing APP based on remote intelligent identification |
CN106230631A (en) * | 2016-07-14 | 2016-12-14 | 李华林 | Information interacting method and device |
CN106341531A (en) * | 2016-08-29 | 2017-01-18 | 惠州市英帝拉科技有限公司 | Hairdressing information processing method |
CN106341464A (en) * | 2016-08-29 | 2017-01-18 | 惠州市英帝拉科技有限公司 | Intelligent hairdressing system |
CN106412235A (en) * | 2016-08-29 | 2017-02-15 | 惠州市英帝拉科技有限公司 | Hairdressing information processing device |
CN107274253A (en) * | 2017-05-15 | 2017-10-20 | 上海斐讯数据通信技术有限公司 | True man's hair style design and the method and system bidded |
CN107508893A (en) * | 2017-08-29 | 2017-12-22 | 青岛爱唯歌工艺品有限公司 | A kind of hairdressing service system |
CN108288227A (en) * | 2017-12-20 | 2018-07-17 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of processing user information and product information |
TWI812981B (en) * | 2021-07-23 | 2023-08-21 | 謝尹倫 | A hairdressing matching system with evaluation function and feedback method |
TWI840773B (en) * | 2022-03-28 | 2024-05-01 | 住田怜子 | Support assistance system and support assistance method for hair cutting |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102589563A (en) * | 2012-01-30 | 2012-07-18 | 雷虹 | Method and device for processing information |
CN103065360A (en) * | 2013-01-16 | 2013-04-24 | 重庆绿色智能技术研究院 | Generation method and generation system of hair style effect pictures |
CN103384360A (en) * | 2012-05-04 | 2013-11-06 | 深圳市一兆科技发展有限公司 | Information interaction method, terminal and system |
CN103440591A (en) * | 2013-08-05 | 2013-12-11 | 夏恩慕 | Synthetic transaction management platform for internet of things |
CN203734772U (en) * | 2014-03-07 | 2014-07-23 | 上海计算机软件技术开发中心 | Embedded-type-based hairdressing movie and television system |
CN104217336A (en) * | 2014-08-25 | 2014-12-17 | 四川敬天爱人科技有限公司 | An intelligence life circle e-commerce system based on cloud service |
CN104463650A (en) * | 2013-09-12 | 2015-03-25 | 墨林设计顾问股份有限公司 | Reservation transaction method based on real-time feedback of specific region |
-
2015
- 2015-08-18 CN CN201510508141.9A patent/CN105159956A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102589563A (en) * | 2012-01-30 | 2012-07-18 | 雷虹 | Method and device for processing information |
CN103384360A (en) * | 2012-05-04 | 2013-11-06 | 深圳市一兆科技发展有限公司 | Information interaction method, terminal and system |
CN103065360A (en) * | 2013-01-16 | 2013-04-24 | 重庆绿色智能技术研究院 | Generation method and generation system of hair style effect pictures |
CN103440591A (en) * | 2013-08-05 | 2013-12-11 | 夏恩慕 | Synthetic transaction management platform for internet of things |
CN104463650A (en) * | 2013-09-12 | 2015-03-25 | 墨林设计顾问股份有限公司 | Reservation transaction method based on real-time feedback of specific region |
CN203734772U (en) * | 2014-03-07 | 2014-07-23 | 上海计算机软件技术开发中心 | Embedded-type-based hairdressing movie and television system |
CN104217336A (en) * | 2014-08-25 | 2014-12-17 | 四川敬天爱人科技有限公司 | An intelligence life circle e-commerce system based on cloud service |
Non-Patent Citations (6)
Title |
---|
严丽云 等: "浅析运营商O2O市场平台战略", 《广东通信技术》 * |
时尚猫: ":重新梳理理发店、理发师和消费者关系的美发O2O", 《HTTP://WWW.CHINAZ.COM/START/2014/0702/357917.SHTML》 * |
李思雨 等: "本地服务行业的O2O电子商务模式研究", 《现代经济信息》 * |
王红刚: "面向美容美发领域的构件技术的研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
虎嗅网: "O2O改造传统服务业的N种姿势,以美发为例", 《HTTP://WWW.HUXIU.COM/ARTICLE/39869/1. HTML》 * |
虎嗅网: "O2O改造传统服务业的N种姿势,以美发为例", 《HTTPS://WWW.HUXIU.COM/ARTICLE/39869/1.HTML》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956869A (en) * | 2016-04-18 | 2016-09-21 | 南昌大学 | Hairdressing APP based on remote intelligent identification |
CN105956150B (en) * | 2016-05-12 | 2019-03-15 | 深圳森若科技有限公司 | A kind of method and device generating user's hair style and dressing collocation suggestion |
CN105956150A (en) * | 2016-05-12 | 2016-09-21 | 张家港索奥通信科技有限公司 | Method and apparatus for generating hair style and makeup matching suggestions of a user |
CN106230631A (en) * | 2016-07-14 | 2016-12-14 | 李华林 | Information interacting method and device |
CN106341531A (en) * | 2016-08-29 | 2017-01-18 | 惠州市英帝拉科技有限公司 | Hairdressing information processing method |
CN106412235A (en) * | 2016-08-29 | 2017-02-15 | 惠州市英帝拉科技有限公司 | Hairdressing information processing device |
CN106341464A (en) * | 2016-08-29 | 2017-01-18 | 惠州市英帝拉科技有限公司 | Intelligent hairdressing system |
CN106412235B (en) * | 2016-08-29 | 2019-08-23 | 王雁飞 | The processing unit for information of getting a haircut |
CN106341531B (en) * | 2016-08-29 | 2020-02-18 | 王阳阳 | Method for processing hairdressing information |
CN107274253A (en) * | 2017-05-15 | 2017-10-20 | 上海斐讯数据通信技术有限公司 | True man's hair style design and the method and system bidded |
CN107508893A (en) * | 2017-08-29 | 2017-12-22 | 青岛爱唯歌工艺品有限公司 | A kind of hairdressing service system |
CN108288227A (en) * | 2017-12-20 | 2018-07-17 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus of processing user information and product information |
WO2019119880A1 (en) * | 2017-12-20 | 2019-06-27 | 阿里巴巴集团控股有限公司 | Method and apparatus for processing user information and product information |
TWI812981B (en) * | 2021-07-23 | 2023-08-21 | 謝尹倫 | A hairdressing matching system with evaluation function and feedback method |
TWI840773B (en) * | 2022-03-28 | 2024-05-01 | 住田怜子 | Support assistance system and support assistance method for hair cutting |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159956A (en) | Hair style generating method and system | |
CN105354334B (en) | Information publishing method based on intelligent mirror and intelligent mirror | |
JP6132232B2 (en) | Makeup support device, makeup support system, and makeup support method | |
CN109447895B (en) | Picture generation method and device, storage medium and electronic device | |
US11373441B2 (en) | Apparatus and method for coordinating the matching and initial communications between individuals in a dating application | |
KR102325829B1 (en) | Recommendation method for face-wearing products and device therefor | |
CN105069180A (en) | Hair style design method and system | |
JP2015111372A (en) | Hairstyle determination support system and hairstyle determination support device | |
CN108960892A (en) | Information processing method and device, electronic equipment and storage medium | |
CN107274253A (en) | True man's hair style design and the method and system bidded | |
WO2022257766A1 (en) | Image processing method and apparatus, device, and medium | |
CN106095221A (en) | Shave based reminding method and system | |
JP4340860B2 (en) | Face matching system | |
KR20160013537A (en) | System for automatically generating and classifying emotionally expressed contents and the method thereof | |
WO2022215267A1 (en) | Hair salon assistance server, user terminal program, hair salon terminal program, and reservation management method | |
KR100497741B1 (en) | System and Method for Beauty Client Management | |
JP6601747B2 (en) | Makeup support system and makeup support method | |
US10296845B2 (en) | Attribute estimation system | |
CN109582815B (en) | Intelligent hair style design method and system | |
JP6296305B2 (en) | Makeup support device, makeup support method, and makeup support program | |
CN110930294A (en) | Intelligent hair style recommendation and presentation method | |
CN113168522A (en) | Server, method and computer-readable storage medium for selecting eyewear equipment | |
JP7269309B1 (en) | Information processing device, image presentation method, and program | |
JP7198963B1 (en) | METHOD, INFORMATION PROCESSING APPARATUS, AND PROGRAM FOR SUPPORTING HAIR STYLE VISUALIZATION | |
JP6757297B2 (en) | Image display method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180905 Address after: 400023 Chongqing Jiangbei District Cooperative Village No. 1 10-3 Applicant after: Huang Mengting Address before: 400000 Chongqing Jiangbei District Cooperative Village No. 1 10-3 Applicant before: Huang Xiaohua |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151216 |