CN101770574A - Method for positioning eyes and identifying facial form - Google Patents

Method for positioning eyes and identifying facial form Download PDF

Info

Publication number
CN101770574A
CN101770574A CN201010100323A CN201010100323A CN101770574A CN 101770574 A CN101770574 A CN 101770574A CN 201010100323 A CN201010100323 A CN 201010100323A CN 201010100323 A CN201010100323 A CN 201010100323A CN 101770574 A CN101770574 A CN 101770574A
Authority
CN
China
Prior art keywords
face
picture
people
hair style
shape
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
Application number
CN201010100323A
Other languages
Chinese (zh)
Inventor
黄禹
詹妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201010100323A priority Critical patent/CN101770574A/en
Publication of CN101770574A publication Critical patent/CN101770574A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for positioning eyes and identifying a facial form, which comprises the following steps of A, inputting a facial picture; B, calculating the shape, size and position relationship of the facial area of the facial picture; C, selecting a specific hair style in a hair style bank; D, adjusting the shape and size of the picture of the hair style according to the shape, size and position relationship of the facial area calculated in the step B; and E, sheathing the picture of the hair style on the facial area of the facial picture according to the position relationship calculated in the step B. For the method for positioning the eyes and identifying the facial form, the degree of automation is greatly improved when the hair style selecting software selects the hair style, the trouble that the size of the picture of the hair style is manually adjusted according to the different facial pictures input by the user each time can be avoided, the selected hair style can be accurately sheathed into the facial area, the operation is simple, convenient and practical, and the hair style selecting efficiency of the hair style selecting software is greatly improved. The method for positioning the eyes and identifying the facial form can be widely applied in the hair style design industry.

Description

A kind of human eye location and shape of face recognition methods
Technical field
The present invention relates to a kind of location and recognition methods, particularly a kind of human eye location and shape of face recognition methods.
Background technology
It is the front picture that imports people's face earlier that traditional hair style is selected software, for example in computing machine, import someone little one-inch photo, select a certain hair style from the inside, hair style storehouse then, the size of manual adjustment hair style picture is inserted in human face region to the hair style picture of adjusting at last again.Because each hair style picture of the inside, hair style storehouse all is a fixed size, the human face region size there are differences in the human face photo of computing machine and be input to, even the different people's face picture of same individual's input, the size of its face area part is also different, after causing so at every turn in the hair style storehouse, accessing selected hair style, all must adjust shape and the difference in size of the size of hair style picture by staff, and then adjusted selected hair style is inserted in the human face region with people's face picture face area of suitable input.This traditional hair style selects software to select the efficient of hair style quite low, its must be too much the size of passing through artificial manual adjustment hair style picture, the hair style picture is elongated or shortening, just can be inserted in people's face picture then, this operation is extremely loaded down with trivial details time-consuming, automaticity is low, and complicated operation thereby use are very inconvenient.
Summary of the invention
In order to solve above-mentioned technical matters, the purpose of this invention is to provide a kind of automaticity height, the easy human eye of operation location and shape of face recognition methods.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of human eye location and shape of face recognition methods may further comprise the steps:
A, the input of people's face picture;
B, the shape that calculates people's face picture face area, size and position relation;
Specific hair style in C, the selection hair style storehouse;
D, face area shape, size and the position related key calculated according to step B the haircut shape and the size of type picture;
E, the hair style picture is enclosed within on the face area of people's face picture according to the position of calculating among step B relation.
Further, described step B may further comprise the steps:
B11, click people face left eye are located;
B12, click people face right eye are located;
Locate the chin position of B13, click people face;
B14, determine the center line of people's face picture face area according to step B11 and B12 right and left eyes location;
B15, integrating step B13, the shape and the size of calculating people face picture.
Further, described step B may further comprise the steps:
The pixel grey scale of B21, calculating facial image;
B22, facial image is carried out gray scale cutting, the human face region in the picture is cut out;
B23, the gray scale of human face region is further carried out gray scale cutting, the further cutting and separating of left eye in the picture and right eye position is come out;
B24, determine the center line of human face region according to the left eye of separating among the step B23 and right eye;
B25, according to step B22, calculate the shape and the size of people's face picture face area.
Further, described steps A is from computing machine local video equipment input people's face picture or from internet video equipment input people face picture.
The invention has the beneficial effects as follows: this human eye location makes hair style select software automaticity when selecting hair style to improve widely with the shape of face recognition methods, having removed the user from every turn all must be according to the difference of input people face picture and manual adjustment hair style picture size loaded down with trivial details, selected hair style can be inserted in human face region exactly, simple to operation and practical, improve hair style greatly and selected software to select the efficient of hair style.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is the process flow diagram of the inventive method;
Fig. 2 is a kind of realization flow figure of the inventive method step B;
Fig. 3 is the another kind of realization flow figure of the inventive method step B.
Embodiment
With reference to Fig. 1, a kind of human eye location and shape of face recognition methods may further comprise the steps:
A, the input of people's face picture;
B, the shape that calculates people's face picture face area, size and position relation;
Specific hair style in C, the selection hair style storehouse;
D, face area shape, size and the position related key calculated according to step B the haircut shape and the size of type picture;
E, the hair style picture is enclosed within on the face area of people's face picture according to the position of calculating among step B relation.
With further reference to Fig. 2, described step B may further comprise the steps:
B11, click people face left eye are located;
B12, click people face right eye are located;
Locate the chin position of B13, click people face;
B14, determine the center line of people's face picture face area according to step B11 and B12 right and left eyes location;
B15, integrating step B13, the shape and the size of calculating people face picture.
With further reference to Fig. 3, described step B may further comprise the steps:
The pixel grey scale of B21, calculating facial image;
B22, facial image is carried out gray scale cutting, the human face region in the picture is cut out;
B23, the gray scale of human face region is further carried out gray scale cutting, the further cutting and separating of left eye in the picture and right eye position is come out;
B24, determine the center line of human face region according to the left eye of separating among the step B23 and right eye;
B25, according to step B22, calculate the shape and the size of people's face picture face area.
Further, described steps A is from computing machine local video equipment input people's face picture or from internet video equipment input people face picture.
Utilize the operating process of software of this method design as follows:
1: picture is uploaded: extract people's face picture by this locality or the network equipment;
2: picture is handled: the picture to this locality or network equipment extraction is adjusted into the predetermined form of program automatically, comprises picture size and gloomy degree;
3: human eye location: click image left eye and right eye, determine the accurate position of human eye in picture;
4: data operation: utilize functional operation to determine the distance of other positions of shape of face, comprise length and width, thereby the data at eyes and other positions are accurately extracted from eyes;
5: image lock: the image that computing is finished locks comprehensively;
6: be inserted in hair style: manually click and select different hair styles, this hair style is enclosed within people face position automatically.
More than be that preferable enforcement of the present invention is specified, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite of spirit of the present invention, modification that these are equal to or replacement all are included in the application's claim institute restricted portion.

Claims (4)

1. a human eye is located and the shape of face recognition methods, it is characterized in that: may further comprise the steps:
A, the input of people's face picture;
B, the shape that calculates people's face picture face area, size and position relation;
Specific hair style in C, the selection hair style storehouse;
D, face area shape, size and the position related key calculated according to step B the haircut shape and the size of type picture;
E, the hair style picture is enclosed within on the face area of people's face picture according to the position of calculating among step B relation.
2. a kind of human eye according to claim 1 location and shape of face recognition methods, it is characterized in that: described step B may further comprise the steps:
B11, click people face left eye are located;
B1 clicks people's face right eye and locatees;
Locate the chin position of B13, click people face;
B14, determine the center line of people's face picture face area according to step B11 and B12 right and left eyes location;
B15, integrating step B13, the shape and the size of calculating people face picture.
3. a kind of human eye according to claim 1 location and shape of face recognition methods, it is characterized in that: described step B may further comprise the steps:
The pixel grey scale of B21, calculating facial image;
B22, facial image is carried out gray scale cutting, the human face region in the picture is cut out;
B2 further carries out the gray scale cutting to the gray scale of human face region, and the further cutting and separating of left eye in the picture and right eye position is come out;
B24, determine the center line of human face region according to the left eye of separating among the step B23 and right eye;
B25, according to step B22, calculate the shape and the size of people's face picture face area.
4. a kind of human eye according to claim 1 location and shape of face recognition methods is characterized in that: described steps A is for importing people's face picture from computing machine local video equipment input people's face picture or from internet video equipment.
CN201010100323A 2010-01-22 2010-01-22 Method for positioning eyes and identifying facial form Pending CN101770574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010100323A CN101770574A (en) 2010-01-22 2010-01-22 Method for positioning eyes and identifying facial form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010100323A CN101770574A (en) 2010-01-22 2010-01-22 Method for positioning eyes and identifying facial form

Publications (1)

Publication Number Publication Date
CN101770574A true CN101770574A (en) 2010-07-07

Family

ID=42503426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010100323A Pending CN101770574A (en) 2010-01-22 2010-01-22 Method for positioning eyes and identifying facial form

Country Status (1)

Country Link
CN (1) CN101770574A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339377A (en) * 2010-07-21 2012-02-01 比亚迪股份有限公司 Quick human-eye positioning method and device
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
CN105045968A (en) * 2015-06-30 2015-11-11 青岛理工大学 Hairstyle design method and system
CN105678686A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Picture processing method and device
CN106974423A (en) * 2017-01-09 2017-07-25 张勇 Get a haircut and give a rubdown with a damp towel multi-functional mechanical equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339377A (en) * 2010-07-21 2012-02-01 比亚迪股份有限公司 Quick human-eye positioning method and device
CN102339377B (en) * 2010-07-21 2013-12-04 比亚迪股份有限公司 Quick human-eye positioning method and device
CN102622613A (en) * 2011-12-16 2012-08-01 彭强 Hair style design method based on eyes location and face recognition
CN102622613B (en) * 2011-12-16 2013-11-06 彭强 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
CN105045968A (en) * 2015-06-30 2015-11-11 青岛理工大学 Hairstyle design method and system
CN105678686A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Picture processing method and device
CN105678686B (en) * 2015-12-30 2019-06-14 北京金山安全软件有限公司 Picture processing method and device
CN106974423A (en) * 2017-01-09 2017-07-25 张勇 Get a haircut and give a rubdown with a damp towel multi-functional mechanical equipment

Similar Documents

Publication Publication Date Title
US10074214B2 (en) Systems and methods for generating 3D scenes with time element for display
CN101770574A (en) Method for positioning eyes and identifying facial form
US9552656B2 (en) Image-based color palette generation
US9177391B1 (en) Image-based color palette generation
US9401032B1 (en) Image-based color palette generation
US9311889B1 (en) Image-based color palette generation
CN102567716B (en) Face synthetic system and implementation method
US20180365877A1 (en) Systems for adaptive control driven ar/vr visual aids
CN108512670B (en) Group creation method and terminal thereof
CN106231434A (en) A kind of living broadcast interactive specially good effect realization method and system based on Face datection
CN105045968B (en) A kind of hair styling method and system
CN110750567A (en) Wearing and matching data generation method and system based on intelligent wardrobe
CN103559717A (en) Shooting preview composition assisting method and device for shooting equipment
CN109064532B (en) Automatic mouth shape generating method and device for cartoon character
US11574392B2 (en) Automatically merging people and objects from multiple digital images to generate a composite digital image
US10169893B2 (en) Optimizing photo album layouts
CN109165428B (en) Intelligent clothing customization platform
CN110263745A (en) A kind of method and device of pupil of human positioning
US20190066348A1 (en) Image processing system and method
CN104378659A (en) Personalization recommendation method based on smart television
CN108009715A (en) It is a kind of automatically analyze index fluctuation root because method
CN109784180A (en) Drawing practice, device, computer equipment and storage medium based on augmented reality
US9141191B2 (en) Capturing photos without a camera
US20140198177A1 (en) Realtime photo retouching of live video
CN110136087A (en) The frame self-adapting regulation method and relevant device of display terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20100707