CN108021872A - A kind of camera recognition methods for realizing real-time matching template and its system - Google Patents
A kind of camera recognition methods for realizing real-time matching template and its system Download PDFInfo
- Publication number
- CN108021872A CN108021872A CN201711172524.9A CN201711172524A CN108021872A CN 108021872 A CN108021872 A CN 108021872A CN 201711172524 A CN201711172524 A CN 201711172524A CN 108021872 A CN108021872 A CN 108021872A
- Authority
- CN
- China
- Prior art keywords
- face
- data
- template
- camera
- taking pictures
- 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 22
- 238000009826 distribution Methods 0.000 claims abstract description 8
- 239000000284 extract Substances 0.000 claims abstract 2
- 238000000605 extraction Methods 0.000 claims description 6
- 238000010422 painting Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V10/757—Matching configurations of points or features
-
- 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
- G06V40/171—Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Human Computer Interaction (AREA)
- Image Processing (AREA)
- Evolutionary Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
- Bioinformatics & Computational Biology (AREA)
Abstract
The present invention provides a kind of camera recognition methods for realizing real-time matching template, the method is applied to camera applications software, the described method includes:Default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;When camera judges that the face area of identification face, by analyzing the distribution of color of face area, extracts face mask data, face's colour of skin data, eyes data, nose areas data, lip position data in real time there are during face;Face mask data, face's colour of skin data, eyes data, nose areas data, lip position data are respectively matched to take pictures in template, to realize the change of real-time tracking camera face, and change renewal is taken pictures in template to matched, so as to meet the individual demand of user.Present invention also offers a kind of camera recognition system of real-time matching template.
Description
Technical field
The invention belongs to camera face detection field, and in particular to a kind of camera identification for realizing real-time matching template
Method and its system.
Background technology
Existing camera applications software can catch the face of user to be beautified, such as skin mill skin, eyes increase
Deng beautifying functions, but without camera template and the matched setting of face feature, it is impossible to realize real-time tracking camera face
Change to adjust the function of camera template, it is impossible to meet the individual demand of user.
The content of the invention
To solve the above-mentioned problems, it is an object of the invention to provide a kind of easy to operate, users ' individualized requirement is met,
It can realize camera recognition methods and its system of real-time matching template.
In order to realize foregoing invention purpose, the technical solution adopted in the present invention is as follows:One kind realizes real-time matching template
Camera recognition methods, the method is applied to camera applications software, the described method includes:
Default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;
When camera judges, there are during face, the face area of face to be identified in real time, by the color for analyzing face area
Distribution, extraction face mask data, face's colour of skin data, eyes data, nose areas data, lip position data;
By face mask data, face's colour of skin data, eyes data, nose areas data, lip position data point
Do not match and take pictures in template, to realize the change of real-time tracking camera face, and change renewal is taken pictures to matched
In template.
Further, the described method includes:The template of taking pictures is model or classic famous painting portrait, and template of taking pictures is according to face
Contouring data, face's colour of skin data, eyes data, nose areas data, lip position data, to taking pictures in template
Portrait profile, face's colour of skin, eyes, nose, lip are adjusted correspondingly.
In order to realize another object of the present invention, the present invention also provides following technical solution:A kind of real-time matching template
Camera recognition system, the system comprises:
Photo module, default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;
Identification module, it is connected with camera, when camera judges that there are during face identification module identifies face in real time
Face area, by analyzing the distribution of color of face area, extraction face mask data, face's colour of skin data, eyes number
According to, nose areas data, lip position data;
Matching module, for by face mask data, face's colour of skin data, eyes data, nose areas data, mouth
Lip position data are respectively matched to take pictures in template, to realize the change of real-time tracking camera face, and change renewal are arrived
It is matched to take pictures in template.
Further, the template of taking pictures is model or classic famous painting portrait, and template of taking pictures is according to face mask data, face
Portion's colour of skin data, eyes data, nose areas data, lip position data, to the portrait profile in template, the face of taking pictures
The colour of skin, eyes, nose, lip are adjusted correspondingly.
Compared with prior art, the beneficial effects of the present invention are:The present invention passes through default template of taking pictures, the mould of taking pictures
The region for placing identification face is provided with plate;When camera judges, there are during face, to identify the face area of face in real time, lead to
Cross the distribution of color of analysis face area, extraction face mask data, face's colour of skin data, eyes data, nose areas
Data, lip position data;By face mask data, face's colour of skin data, eyes data, nose areas data, lip
Position data are respectively matched to take pictures in template, to realize the change of real-time tracking camera face, and by change renewal to
So as to meet the individual demand of user in matched template of taking pictures.
Brief description of the drawings
This illustrates provided picture and is used for aiding in a further understanding of the present invention, forms one of the application
Point, inappropriate limitation of the present invention is not formed, in the accompanying drawings:
Fig. 1 is the schematic diagram of the camera recognition system of real-time matching template of the present invention.
Fig. 2 is the camera recognition methods flow chart that the present invention realizes real-time matching template.
Embodiment
Come that the present invention will be described in detail below in conjunction with attached drawing and specific implementation method, the present invention it is schematic implement and
Illustrate for explaining the present invention, but it is not as a limitation of the invention.
Embodiment one
As shown in Figure 1, a kind of camera recognition system of real-time matching template, the system comprises:
Photo module, default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;
Identification module, it is connected with camera, when camera judges that there are during face identification module identifies face in real time
Face area, by analyzing the distribution of color of face area, extraction face mask data, face's colour of skin data, eyes number
According to, nose areas data, lip position data;
Matching module, for by face mask data, face's colour of skin data, eyes data, nose areas data, mouth
Lip position data are respectively matched to take pictures in template, to realize the change of real-time tracking camera face, and change renewal are arrived
It is matched to take pictures in template.
As shown in Fig. 2, a kind of camera recognition methods for realizing real-time matching template, it is soft that the method is applied to camera applications
Part, the described method includes:
S101:Default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;
S102:When camera judges, there are during face, the face area of face to be identified in real time, by analyzing face area
Distribution of color, extraction face mask data, face's colour of skin data, eyes data, nose areas data, lip number positional
According to;
S103:By face mask data, face's colour of skin data, eyes data, nose areas data, lip number positional
According to being respectively matched to take pictures in template, to realize the change of real-time tracking camera face, and change is updated to matched
Take pictures in template.
Embodiment two
The present embodiment is in addition to following characteristics, with embodiment one:
The template of taking pictures is model or classic famous painting portrait, and template of taking pictures is according to face mask data, face's colour of skin
Data, eyes data, nose areas data, lip position data, to the portrait profile in template of taking pictures, face's colour of skin,
Eyes, nose, lip are adjusted correspondingly.
If the function described in the present embodiment realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computing device read/write memory medium.Based on such understanding, the embodiment of the present invention is to existing
The part for having part that technology contributes or the technical solution can be embodied in the form of software product, software production
Product are stored in a storage medium, including some instructions are used so that a computing device (can be personal computer, service
Device, mobile computing device or network equipment etc.) perform all or part of step of each embodiment the method for the present invention.And
Foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.This explanation
Each embodiment is described by the way of progressive in book, what each embodiment stressed be it is different from other embodiments it
Place, between each embodiment same or similar part mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.
Claims (4)
1. a kind of camera recognition methods for realizing real-time matching template, it is characterised in that it is soft that the method is applied to camera applications
Part, the described method includes:
Default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;
When camera is judged there are during face, the face area of face is identified in real time, by analyzing the distribution of color of face area,
Extract face mask data, face's colour of skin data, eyes data, nose areas data, lip position data;
By face mask data, face's colour of skin data, eyes data, nose areas data, lip position data difference
It is fitted on and takes pictures in template, to realize the change of real-time tracking camera face, and change is updated to matched template of taking pictures
On.
2. camera recognition methods according to claim 1, it is characterised in that the described method includes:
The template of taking pictures for model or classic famous painting portrait, template of taking pictures according to face mask data, face's colour of skin data,
Eyes data, nose areas data, lip position data, to the portrait profile in template of taking pictures, face's colour of skin, eyes,
Nose, lip are adjusted correspondingly.
A kind of 3. camera recognition system of real-time matching template, it is characterised in that the system comprises:
Photo module, default template of taking pictures, is provided with the region for placing identification face in the template of taking pictures;
Identification module, it is connected with camera, when camera judges that there are during face identification module identifies the face of face in real time
Region, by analyzing the distribution of color of face area, extraction face mask data, face's colour of skin data, eyes data, nose
Sub-portion data, lip position data;
Matching module, for by face mask data, face's colour of skin data, eyes data, nose areas data, lip portion
Position data are respectively matched to take pictures in template, to realize the change of real-time tracking camera face, and will change renewal to
That matches somebody with somebody takes pictures in template.
4. camera recognition system according to claim 3, it is characterised in that the template of taking pictures is model or classic name
Portrait is drawn, template of taking pictures is according to face mask data, face's colour of skin data, eyes data, nose areas data, lip portion
Position data, to taking pictures, the portrait profile in template, face's colour of skin, eyes, nose, lip are adjusted correspondingly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711172524.9A CN108021872A (en) | 2017-11-22 | 2017-11-22 | A kind of camera recognition methods for realizing real-time matching template and its system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711172524.9A CN108021872A (en) | 2017-11-22 | 2017-11-22 | A kind of camera recognition methods for realizing real-time matching template and its system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108021872A true CN108021872A (en) | 2018-05-11 |
Family
ID=62080817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711172524.9A Pending CN108021872A (en) | 2017-11-22 | 2017-11-22 | A kind of camera recognition methods for realizing real-time matching template and its system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108021872A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393598A (en) * | 2007-09-21 | 2009-03-25 | 希姆通信息技术(上海)有限公司 | Starting and unblock method decided by human face identification by utilizing mobile phone cam |
CN101770613A (en) * | 2010-01-19 | 2010-07-07 | 北京智慧眼科技发展有限公司 | Social insurance identity authentication method based on face recognition and living body detection |
US20120281874A1 (en) * | 2011-05-05 | 2012-11-08 | Lure Yuan-Ming F | Method, material, and apparatus to improve acquisition of human frontal face images using image template |
US20130235045A1 (en) * | 2012-03-06 | 2013-09-12 | Mixamo, Inc. | Systems and methods for creating and distributing modifiable animated video messages |
JP2014021896A (en) * | 2012-07-23 | 2014-02-03 | Nippon Hoso Kyokai <Nhk> | Face image recognition device and face image recognition program |
CN103632132A (en) * | 2012-12-11 | 2014-03-12 | 广西工学院 | Face detection and recognition method based on skin color segmentation and template matching |
CN104715447A (en) * | 2015-03-02 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | Image synthesis method and device |
CN105139438A (en) * | 2014-09-19 | 2015-12-09 | 电子科技大学 | Video face cartoon animation generation method |
CN105184249A (en) * | 2015-08-28 | 2015-12-23 | 百度在线网络技术(北京)有限公司 | Method and device for processing face image |
CN106210561A (en) * | 2016-08-10 | 2016-12-07 | 珠海格力电器股份有限公司 | The photographic method of a kind of mobile phone, device and terminal |
-
2017
- 2017-11-22 CN CN201711172524.9A patent/CN108021872A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393598A (en) * | 2007-09-21 | 2009-03-25 | 希姆通信息技术(上海)有限公司 | Starting and unblock method decided by human face identification by utilizing mobile phone cam |
CN101770613A (en) * | 2010-01-19 | 2010-07-07 | 北京智慧眼科技发展有限公司 | Social insurance identity authentication method based on face recognition and living body detection |
US20120281874A1 (en) * | 2011-05-05 | 2012-11-08 | Lure Yuan-Ming F | Method, material, and apparatus to improve acquisition of human frontal face images using image template |
US20130235045A1 (en) * | 2012-03-06 | 2013-09-12 | Mixamo, Inc. | Systems and methods for creating and distributing modifiable animated video messages |
JP2014021896A (en) * | 2012-07-23 | 2014-02-03 | Nippon Hoso Kyokai <Nhk> | Face image recognition device and face image recognition program |
CN103632132A (en) * | 2012-12-11 | 2014-03-12 | 广西工学院 | Face detection and recognition method based on skin color segmentation and template matching |
CN105139438A (en) * | 2014-09-19 | 2015-12-09 | 电子科技大学 | Video face cartoon animation generation method |
CN104715447A (en) * | 2015-03-02 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | Image synthesis method and device |
CN105184249A (en) * | 2015-08-28 | 2015-12-23 | 百度在线网络技术(北京)有限公司 | Method and device for processing face image |
CN106210561A (en) * | 2016-08-10 | 2016-12-07 | 珠海格力电器股份有限公司 | The photographic method of a kind of mobile phone, device and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021082635A1 (en) | Region of interest detection method and apparatus, readable storage medium and terminal device | |
CN101477696B (en) | Human character cartoon image generating method and apparatus | |
US20180204052A1 (en) | A method and apparatus for human face image processing | |
KR101141643B1 (en) | Apparatus and Method for caricature function in mobile terminal using basis of detection feature-point | |
CN108701216A (en) | A kind of face shape of face recognition methods, device and intelligent terminal | |
WO2021213067A1 (en) | Object display method and apparatus, device and storage medium | |
WO2019075666A1 (en) | Image processing method and apparatus, terminal, and storage medium | |
CN110110118A (en) | Dressing recommended method, device, storage medium and mobile terminal | |
CN105354248A (en) | Gray based distributed image bottom-layer feature identification method and system | |
CN108898082B (en) | Picture processing method, picture processing device and terminal equipment | |
CN103745206B (en) | A kind of face identification method and system | |
CN102567716A (en) | Face synthetic system and implementation method | |
CN108009470B (en) | Image extraction method and device | |
More et al. | Hand gesture recognition system using image processing | |
CN104008364A (en) | Face recognition method | |
WO2021127916A1 (en) | Facial emotion recognition method, smart device and computer-readabel storage medium | |
CN108197995A (en) | A kind of accurate advertisement put-on method based on recognition of face | |
CN103745209A (en) | Human face identification method and system | |
CN108121978A (en) | A kind of face image processing process, system and equipment and storage medium | |
CN105931204B (en) | Picture restoring method and system | |
CN108256440A (en) | A kind of eyebrow image segmentation method and system | |
KR102594093B1 (en) | Dermatologic treatment recommendation system using deep learning model and method thereof | |
CN108833881B (en) | Method and device for constructing image depth information | |
CN112149599B (en) | Expression tracking method and device, storage medium and electronic equipment | |
CN114187166A (en) | Image processing method, intelligent terminal and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180511 |
|
RJ01 | Rejection of invention patent application after publication |