CN110349202A - A kind of hair styling method based on shape of face analysis - Google Patents
A kind of hair styling method based on shape of face analysis Download PDFInfo
- Publication number
- CN110349202A CN110349202A CN201910605576.3A CN201910605576A CN110349202A CN 110349202 A CN110349202 A CN 110349202A CN 201910605576 A CN201910605576 A CN 201910605576A CN 110349202 A CN110349202 A CN 110349202A
- Authority
- CN
- China
- Prior art keywords
- face
- user
- shape
- line
- image
- 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.)
- Granted
Links
Classifications
-
- A—HUMAN NECESSITIES
- A45—HAND OR TRAVELLING ARTICLES
- A45D—HAIRDRESSING OR SHAVING EQUIPMENT; EQUIPMENT FOR COSMETICS OR COSMETIC TREATMENTS, e.g. FOR MANICURING OR PEDICURING
- A45D44/00—Other cosmetic or toiletry articles, e.g. for hairdressers' rooms
- A45D44/005—Other cosmetic or toiletry articles, e.g. for hairdressers' rooms for selecting or displaying personal cosmetic colours or hairstyle
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/68—Analysis of geometric attributes of symmetry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
- G06T2207/30201—Face
Abstract
The present invention relates to a kind of hair styling methods based on shape of face analysis, belong to hair style design technical field, this method is by analyzing face type, and show that everyone shape of face characteristic value screens the immediate several hair style figures of and face characteristic value identical as user's shape of face by the shape of face characteristic value with the picture in shape of face library, form pictures, it is selected for user, compare the prior art, more targetedly;The present invention is used as weight in the accounting of entire shape of face using upper front yard, Zhongting, lower front yard for the first time, quantifies shape of face by analyzing forehead feature, cheek feature and lower jaw feature, overcomes sense organ and judge bring deviation;The hair style figure screened through the invention is arranged in pairs or groups with user's face, and matching degree is higher, and arranging effect is preferable.
Description
Technical field
The invention belongs to hair style design technical fields, and in particular to a kind of hair styling method based on shape of face analysis.
Background technique
Hair style design be it is a kind of using hair lengths, angle, collocation of colour and be designed people hobby and habit institute into
A capable comprehensive art.Currently, the work of hair style design is mainly completed by stylist, the hobby and habit of different stylist
Used difference, the designed hair style come out is also different, if the hobby and habit of stylist are inconsistent with the habit of user,
The hair style so designed is obviously unable to satisfy the needs of user.
Currently, user carries out intuitive judgment and choosing often by atlas is checked when selection changes the hair style of oneself
It selects, but is all model's shape of face on atlas, these hair styles are all very beautiful on atlas, but only can only explain these hair styles and be suitble to atlas
On model, rather than oneself.This is also the effect cut after why user selected the hair style oneself liked by picture album
It is often unsatisfactory, it can't steer clear of the vicious circle of " haircut three days are ugly ".
In addition, some hairdressers can carry out hair style design, such case according to atlas combination user self-condition
Under the final effect that cuts can obtain the favorable comment of user under normal circumstances, but designer is in the design concept to introduce oneself
When, user be it is ignorant, can not imagine that final effect is how, unsuspectingly cannot give the hair of oneself to hair style completely
Teacher.
The problem of for above-mentioned hair style design, in order to allow user can be intuitive to the hair style that oneself will be trimmed
Solution, has had many hair style design softwares to be developed, these softwares all have respective hair style library, and these can be sent out
Type figure and facial image are arranged in pairs or groups, but since the difference of face shape is big, if blindly the two is arranged in pairs or groups, matching degree is not
Height causes arranging effect poor.
Summary of the invention
The object of the invention is that providing a kind of hair style design side based on shape of face analysis to solve the above-mentioned problems
Method.
The present invention through the following technical solutions to achieve the above objectives:
A kind of hair styling method based on shape of face analysis, comprising the following steps:
User's face image of forehead is exposed in the acquisition of the front step S1., and judges user's shape of face;
Step S2. carries out Facial Feature Analysis to user's face image, calculates face characteristic value;
Step S3. is screened from pre-set hair style library according to face characteristic value, and selection is identical as user's shape of face, and
The immediate several hair style figures of face characteristic value form pictures, select for user.
It is further preferred that the step S2's carries out Facial Feature Analysis to user's face image, face characteristic is calculated
The method of value, step include:
Step S2.1. extracts the face in user's face image, using people's middle line at middle part positive above upper lip as the Y-axis of image
Baseline is corrected the face in present image, keeps left and right face symmetrical, obtains face image, carries out profile to face image
Identification, and the face mask line that will identify that is shown in face image;
Step S2.2. extracts the characteristic point of face image, the midpoint a including left and right place between the eyebrows point line1, with a1For the X of basic point
The intersection point a of axial line and face mask line2、a3, the upper extreme point b of people's middle line1, with b1For the X axis line and face mask line of basic point
Intersection point b2、b3, a1With b1The midpoint c of line1, with c1For the X axis line of basic point and the intersection point c of face mask line2、c3And face
The intersection point d of contouring line and Y-axis baseline1、d2;Wherein, with b1、c1Face image is from top to bottom divided into for the X axis line of basic point
Upper front yard, Zhongting and lower front yard;
Front yard, Zhongting, lower front yard area S in step S2.3. calculating1、S2、S3And its accounting ω in entire shape of facex:
Step S2.4. calculates face characteristic parameter value, including forehead characteristic ginseng value Z1, cheek characteristic ginseng value Z2, lower jaw
Characteristic ginseng value Z3。
The above front yard step S2.5., Zhongting, lower front yard entire shape of face accounting ωxFor weight, in conjunction with face characteristic parameter value
Calculate face characteristic value W=ω1Z1+ω2Z2+ω3Z3。
It is further preferred that forehead characteristic parameter Z1, cheek characteristic parameter Z2, lower jaw characteristic parameter Z3, meet:
In formula, L indicates length.
It is further preferred that the data information in the pre-set hair style library of the step S3 includes: front acquisition dew
The shape of face and its face feature value of the user of forehead or model's face image and its hair style figure and the user or model out.
It is further preferred that the step S3 further includes that user's face image and the pictures image of selection are carried out face
With the integration of hair style, the hair style atlas for being directed to the user is formed, is selected for user.
The beneficial effects of the present invention are:
1) this method is by analyzing face type, and obtains everyone shape of face characteristic value, by in shape of face library
Picture shape of face characteristic value, screening with the immediate hair style figure of user's shape of face for user select, more targetedly;
2) present invention for the first time use upper front yard, Zhongting, lower front yard entire shape of face accounting be used as weight, pass through analysis forehead
Feature, cheek feature and lower jaw feature quantify shape of face, overcome sense organ and judge bring deviation;
3) when the hair style atlas and user face screened through the invention is arranged in pairs or groups, matching degree is high, and arranging effect is preferable;
4) by the way that the hair style of user is included in hair style library, hair style library data can be adaptively updated, compare only for
The hair style library of the standards shape of face such as model building, user can see more unmodified true pictures, compare and see model's bat
The atlas taken the photograph more has role to bring sense into.
Detailed description of the invention
Fig. 1 is design method flow chart of the invention;
Fig. 2 is features of human face images schematic diagram
Specific embodiment
The application is described in further detail with reference to the accompanying drawing, it is necessary to it is indicated herein to be, implement in detail below
Mode is served only for that the application is further detailed, and should not be understood as the limitation to the application protection scope, the field
Technical staff can make some nonessential modifications and adaptations to the application according to above-mentioned application content.
Embodiment 1
A kind of intelligent hair styling method based on shape of face analysis is present embodiments provided, as shown in Figure 1, including following step
It is rapid:
User's face image of forehead is exposed in the acquisition of the front step S1., and judges user's shape of face;
Step S2. carries out Facial Feature Analysis to user's face image, calculates face characteristic value, comprising:
Step S2.1. extracts the face in user's face image, using people's middle line at middle part positive above upper lip as the Y-axis of image
Baseline is corrected the face in present image, keeps left and right face symmetrical, obtains face image, carries out profile to face image
Identification, and the face mask line that will identify that is shown in face image;In the case where identifying not accurate enough, can carry out manually
Adjustment;
Step S2.2. extracts the characteristic point of face image, as shown in Fig. 2, including the midpoint a of left and right place between the eyebrows point line1, with
a1For the X axis line of basic point and the intersection point a of face mask line2、a3, the upper extreme point b of people's middle line1, with b1For basic point X axis line with
The intersection point b of face mask line2、b3, a1With b1The midpoint c of line1, with c1For the X axis line of basic point and the intersection point of face mask line
c2、c3And the intersection point d of face mask line and Y-axis baseline1、d2;Wherein, with b1、c1For basic point X axis line by face image
From top to bottom it is divided into front yard, Zhongting and lower front yard;
Front yard, Zhongting, lower front yard area S in step S2.3. calculating1、S2、S3And its accounting ω in entire shape of facex:
Step S2.4. calculates face characteristic parameter value, comprising:
(1) forehead characteristic ginseng value Z1, meet:
Forehead characteristic parameter reflects the length and forehead width that forehead accounts for entire face, Z1Value is bigger, illustrates forehead for point
Elongated, Z1It is worth smaller, illustrates forehead for wide short;
(2) cheek characteristic ginseng value Z2, meet:
Cheek characteristic parameter reflects the width of cheek, Z2Value is bigger, illustrates for wide type cheek, Z2It is worth smaller, illustrates for point
Type cheek;
(3) lower jaw characteristic ginseng value Z3, meet:
Lower jaw characteristic parameter reflects the sharp degree of lower jaw, Z3Value is bigger, illustrates that lower jaw is long tip, Z3Be worth it is smaller, under explanation
Jaw is short round;
In formula, L indicates length.
Step S2.5. calculates face characteristic value W:
W=ω1Z1+ω2Z2+ω3Z3
Step S3. is screened from pre-set hair style library according to face characteristic value, selection and user's shape of face phase
Together, and the immediate several hair style figures of face characteristic value, pictures are formed;The pre-set hair style library be comprising user or
The hair style figure and the user of the face image for just showing forehead of model and the user or model or the shape of face and its face of model
Portion's characteristic value;The integration that user's face image and the pictures image of selection are finally carried out to face and hair style is formed to be directed to and is somebody's turn to do
The hair style atlas of user is selected for user.
Step S4. stylist trims according to the hair style that user selects, sizing;If the hair style user having been formed is satisfied
Degree is high, then can with the consent of the user, by the face image and its correlation of the user obtained using step S1,2 acquisitions
Hair style figure after parameter (including shape of face and face feature value), and sizing is brought into the hair style library of step S3, for other
Family is with reference to selection.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.
Claims (5)
1. a kind of hair styling method based on shape of face analysis, which comprises the following steps:
User's face image of forehead is exposed in the acquisition of the front step S1., and judges user's shape of face;
Step S2. carries out Facial Feature Analysis to user's face image, calculates face characteristic value;
Step S3. is screened from pre-set hair style library according to face characteristic value, and selection is identical as user's shape of face, and face
The immediate several hair style figures of characteristic value form pictures, select for user.
2. a kind of hair styling method based on shape of face analysis according to claim 1, which is characterized in that the step S2
Facial Feature Analysis is carried out to user's face image, the method for calculating face characteristic value, step includes:
Step S2.1. extracts the face in user's face image, using people's middle line at middle part positive above upper lip as the Y-axis base of image
Line is corrected the face in present image, keeps left and right face symmetrical, obtains face image, carries out profile knowledge to face image
Not, and the face mask line that will identify that is shown in face image;
Step S2.2. extracts the characteristic point of face image, the midpoint a including left and right place between the eyebrows point line1, with a1For the X axis of basic point
The intersection point a of line and face mask line2、a3, the upper extreme point b of people's middle line1, with b1For the friendship of the X axis line and face mask line of basic point
Point b2、b3, a1With b1The midpoint c of line1, with c1For the X axis line of basic point and the intersection point c of face mask line2、c3And face's wheel
The intersection point d of profile and Y-axis baseline1、d2;Wherein, with b1、c1Face image is from top to bottom divided into for the X axis line of basic point
Front yard, Zhongting and lower front yard;
Front yard, Zhongting, lower front yard area S in step S2.3. calculating1、S2、S3And its accounting ω in entire shape of facex:
Step S2.4. calculates face characteristic parameter value, including forehead characteristic ginseng value Z1, cheek characteristic ginseng value Z2, lower jaw feature
Parameter value Z3。
The above front yard step S2.5., Zhongting, lower front yard entire shape of face accounting ωxFor weight, in conjunction with face characteristic parameter value calculation
Face characteristic value W=ω1Z1+ω2Z2+ω3Z3。
3. a kind of hair styling method based on shape of face analysis according to claim 2, which is characterized in that forehead feature ginseng
Number Z1, cheek characteristic parameter Z2, lower jaw characteristic parameter Z3, meet:
In formula, L indicates length.
4. a kind of hair styling method based on shape of face analysis according to claim 1, which is characterized in that the step S3
Pre-set hair style library in data information include: the face image for just showing forehead and the user of user or model or
The shape of face and its face feature value of the hair style figure of model and the user or model.
5. a kind of hair styling method based on shape of face analysis according to claim 1, which is characterized in that the step S3
Further include the integration that user's face image and the pictures image of selection are carried out to face and hair style, forms the hair for being directed to the user
Type atlas is selected for user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910605576.3A CN110349202B (en) | 2019-07-05 | 2019-07-05 | Hairstyle design method based on face analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910605576.3A CN110349202B (en) | 2019-07-05 | 2019-07-05 | Hairstyle design method based on face analysis |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110349202A true CN110349202A (en) | 2019-10-18 |
CN110349202B CN110349202B (en) | 2021-07-20 |
Family
ID=68177685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910605576.3A Active CN110349202B (en) | 2019-07-05 | 2019-07-05 | Hairstyle design method based on face analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110349202B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339612A (en) * | 2008-08-19 | 2009-01-07 | 陈建峰 | Face contour checking and classification method |
CN102622613A (en) * | 2011-12-16 | 2012-08-01 | 彭强 | Hair style design method based on eyes location and face recognition |
CN102708575A (en) * | 2012-05-17 | 2012-10-03 | 彭强 | Daily makeup design method and system based on face feature region recognition |
CN104794275A (en) * | 2015-04-16 | 2015-07-22 | 北京联合大学 | Face and hair style matching model for mobile terminal |
CN105045968A (en) * | 2015-06-30 | 2015-11-11 | 青岛理工大学 | Hairstyle design method and system |
CN105069180A (en) * | 2015-06-19 | 2015-11-18 | 上海卓易科技股份有限公司 | Hair style design method and system |
US20170372505A1 (en) * | 2016-06-23 | 2017-12-28 | LoomAi, Inc. | Systems and Methods for Generating Computer Ready Animation Models of a Human Head from Captured Data Images |
CN107545051A (en) * | 2017-08-23 | 2018-01-05 | 武汉理工大学 | Hair style design system and method based on image procossing |
CN108255998A (en) * | 2017-12-29 | 2018-07-06 | 武汉璞华大数据技术有限公司 | A kind of hair style recommends method, apparatus and equipment |
CN108664569A (en) * | 2018-04-24 | 2018-10-16 | 杭州数为科技有限公司 | A kind of hair style recommends method, system, terminal and medium |
CN109190574A (en) * | 2018-09-13 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of hair style recommended method, device, terminal and storage medium based on big data |
CN109410315A (en) * | 2018-08-31 | 2019-03-01 | 南昌理工学院 | Hair styling method, device, readable storage medium storing program for executing and intelligent terminal |
-
2019
- 2019-07-05 CN CN201910605576.3A patent/CN110349202B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101339612A (en) * | 2008-08-19 | 2009-01-07 | 陈建峰 | Face contour checking and classification method |
CN102622613A (en) * | 2011-12-16 | 2012-08-01 | 彭强 | Hair style design method based on eyes location and face recognition |
CN102708575A (en) * | 2012-05-17 | 2012-10-03 | 彭强 | Daily makeup design method and system based on face feature region recognition |
CN104794275A (en) * | 2015-04-16 | 2015-07-22 | 北京联合大学 | Face and hair style matching model for mobile terminal |
CN105069180A (en) * | 2015-06-19 | 2015-11-18 | 上海卓易科技股份有限公司 | Hair style design method and system |
CN105045968A (en) * | 2015-06-30 | 2015-11-11 | 青岛理工大学 | Hairstyle design method and system |
US20170372505A1 (en) * | 2016-06-23 | 2017-12-28 | LoomAi, Inc. | Systems and Methods for Generating Computer Ready Animation Models of a Human Head from Captured Data Images |
CN107545051A (en) * | 2017-08-23 | 2018-01-05 | 武汉理工大学 | Hair style design system and method based on image procossing |
CN108255998A (en) * | 2017-12-29 | 2018-07-06 | 武汉璞华大数据技术有限公司 | A kind of hair style recommends method, apparatus and equipment |
CN108664569A (en) * | 2018-04-24 | 2018-10-16 | 杭州数为科技有限公司 | A kind of hair style recommends method, system, terminal and medium |
CN109410315A (en) * | 2018-08-31 | 2019-03-01 | 南昌理工学院 | Hair styling method, device, readable storage medium storing program for executing and intelligent terminal |
CN109190574A (en) * | 2018-09-13 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of hair style recommended method, device, terminal and storage medium based on big data |
Non-Patent Citations (2)
Title |
---|
AN, HYEON-KYEONG ET AL.: "A Study on the Hair Style Production Based on the Face Contour & Fashion Feeling", 《JOURNAL OF FASHION BUSINESS》 * |
胡在林: "基于人脸识别技术的脸型发型搭配系统实现与分析", 《电脑知识与技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110349202B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107123083B (en) | Face edit methods | |
JP3408524B2 (en) | Makeup advice providing method and makeup advice providing program | |
CN102622613B (en) | Hair style design method based on eyes location and face recognition | |
CN102393951B (en) | Deformation method of human face model | |
US8265351B2 (en) | Method, system and computer program product for automatic and semi-automatic modification of digital images of faces | |
KR101363097B1 (en) | Lip categorizing method, makeup method, categorizing map, and makeup tool | |
US20160125229A1 (en) | Facial structural shaping | |
US20070052726A1 (en) | Method and system for likeness reconstruction | |
JP2001346627A (en) | Make-up advice system | |
US20090046891A1 (en) | Hair style simulation image creating method | |
CN103236066A (en) | Virtual trial make-up method based on human face feature analysis | |
CN105045968B (en) | A kind of hair styling method and system | |
CN109359317A (en) | A kind of lipstick is matched colors the model building method and lipstick color matching selection method of selection | |
WO2007063878A1 (en) | Face classifying method, face classifying device, classification map, face classifying program, recording medium where this program is recorded | |
CN106919738A (en) | A kind of hair style matching process | |
CN106846240B (en) | Method, device and equipment for adjusting fusion materials | |
CN104636759A (en) | Method for obtaining picture recommending filter information and picture filter information recommending system | |
CN105513013A (en) | Method for compounding hair styles in mobile phone pictures | |
US20190066348A1 (en) | Image processing system and method | |
CN102567716A (en) | Face synthetic system and implementation method | |
CN109165428A (en) | A kind of intelligent clothing customization platform | |
CN110490711A (en) | A kind of personalized visualization design platform | |
CN101770574A (en) | Method for positioning eyes and identifying facial form | |
CN110349202A (en) | A kind of hair styling method based on shape of face analysis | |
CN110232730A (en) | A kind of three-dimensional face model textures fusion method and computer-processing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |