[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106940880A - A kind of U.S. face processing method, device and terminal device - Google Patents

A kind of U.S. face processing method, device and terminal device Download PDF

Info

Publication number
CN106940880A
CN106940880A CN201610004706.4A CN201610004706A CN106940880A CN 106940880 A CN106940880 A CN 106940880A CN 201610004706 A CN201610004706 A CN 201610004706A CN 106940880 A CN106940880 A CN 106940880A
Authority
CN
China
Prior art keywords
face
characteristic value
face characteristic
webserver
parameter
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
CN201610004706.4A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610004706.4A priority Critical patent/CN106940880A/en
Priority to PCT/CN2016/108268 priority patent/WO2017118250A1/en
Publication of CN106940880A publication Critical patent/CN106940880A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/169Holistic features and representations, i.e. based on the facial image taken as a whole
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of U.S. face processing method, device and terminal device.U.S. face processing method in the present invention includes:The the first face characteristic value obtained by terminal device searches the second face characteristic value and U.S. face parameter of matching in the webserver;U.S. face is carried out according to the second face characteristic value found according to U.S. face parameter to the corresponding part or all of face of the first face characteristic value to handle, the face for carrying out U.S. face processing is the corresponding face of the second face characteristic value.The present invention solves U.S. face shooting style of the prior art, due to performing the limitation of memory space in the intelligent terminal taken pictures, it is difficult to the demand that U.S. face processing is carried out to greater number of face be met simultaneously, so as to cause the problem of U.S. face process performance of intelligent terminal is poor.

Description

A kind of U.S. face processing method, device and terminal device
Technical field
The present invention relates to image procossing and communication technical field, espespecially a kind of U.S. face processing method, device and Terminal device.
Background technology
With the development of computer technology, the application of intelligent terminal has obtained extensive raising, for example Music can be listened by intelligent terminal, game is played, chats on line and take pictures.Especially, the U.S. face of intelligence A kind of additional function that technology is taken pictures as current intelligent terminal, the development and use of the technology are by user Favor.
Carrying out the general principle that U.S. face takes pictures using intelligent terminal at present is:Guarantor in advance is needed in intelligent terminal Face characteristic value is deposited, and pre-sets the corresponding U.S. face processing parameter of face characteristic value;Specifically, exist When the U.S. face of progress is taken pictures, it is necessary first to obtain the face characteristic value of each face in current shooting interface, with The face characteristic value currently obtained is matched with default face characteristic value afterwards, if some face can be with Default face characteristic value matching, then it is assumed that the face has been identified, and can now pass through intelligent end Hold the corresponding U.S. face processing of face progress, U.S. face processing in interface is shot to the face characteristic value matched Specific to be performed according to U.S. face processing parameter preset in intelligent terminal, the U.S. face processing parameter is for example including skin The landscaping treatments such as color adjustment, mill skin, big eye and thin face.It is apparent that in above-mentioned U.S. face shooting style, sentencing Whether the disconnected foundation that U.S. face processing is carried out to shooting which of interface face is to be stored with intelligent terminal pair The face characteristic value answered, due to the limited storage space of intelligent terminal, is generally only capable of storing fixed qty Face characteristic value, therefore, it is difficult to the demand that greater number of face carries out U.S. face processing is met simultaneously, example Tens people even up to a hundred people is such as generally had in group photo.
In summary, U.S. face shooting style of the prior art, is deposited due to performing in the intelligent terminal taken pictures The limitation in space is stored up, it is difficult to the demand that U.S. face processing is carried out to greater number of face is met simultaneously, so that Cause the problem of U.S. face process performance of intelligent terminal is poor.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of U.S. face processing method, device and terminal Equipment, to solve U.S. face shooting style of the prior art, is stored due to performing in the intelligent terminal taken pictures The limitation in space, it is difficult to the demand that U.S. face processing is carried out to greater number of face be met simultaneously, so as to lead Cause the problem of U.S. face process performance of intelligent terminal is poor.
In a first aspect, the present invention provides a kind of U.S. face processing method, including:
The the first face characteristic value obtained by terminal device searches the second people of matching in the webserver Face characteristic value and U.S. face parameter;
According to the second face characteristic value found to the corresponding part of the first face characteristic value or Whole faces carry out U.S. face according to the U.S. face parameter and handled, and it is described to carry out the face of the U.S. face processing The corresponding face of second face characteristic value.
In the first possible implementation of first aspect, it is described obtained by terminal device first Face characteristic value searches the second face characteristic value and U.S. face parameter of matching in the webserver, including:
The first face characteristic value is sent to the webserver, the first face characteristic value is used Entered in the instruction webserver by the face characteristic value storehouse stored with the first face characteristic value Row matching;
The matching result that the webserver is sent is received, the matching result includes second face Characteristic value and the U.S. face parameter, the corresponding face of the second face characteristic value are special for first face The corresponding part or all of face of value indicative.
In second of possible implementation of first aspect, it is described obtained by terminal device first Face characteristic value is searched in the webserver before the second face characteristic value and U.S. face parameter of matching, also Including:
Face characteristic value in the terminal device and U.S. face parameter are sent to the webserver;
Store or delete the face characteristic value and U.S. face parameter in the terminal device.
According to any one in the first and second of possible implementation of first aspect, first aspect, In the third possible implementation, the first face characteristic value obtained by terminal device is in net Before the second face characteristic value and U.S. face parameter that matching is searched in network server, also include:
The second face characteristic value of matching is searched in the terminal device by the first face characteristic value With U.S. face parameter;
Second face for searching matching in the webserver by terminal device the first face characteristic value Characteristic value and U.S. face parameter, including:
It is special when not finding the second face for being matched with the first face characteristic value in the terminal device During value indicative, the second face matched with the first face characteristic value is searched in the webserver special Value indicative and U.S. face parameter.
According to any one in the first and second of possible implementation of first aspect, first aspect, In the 4th kind of possible implementation, also include:
The operation performed by user on the terminal device, sends operation to the webserver and refers to Order, the operational order is used to indicate the webserver to the people in the face characteristic value storehouse that is stored Face characteristic value and U.S. face parameter increased, read, being updated and deletion action in one or more.
Second aspect, the present invention provides a kind of U.S. face processing method, including:
The webserver searches the second face characteristic value of matching by the first face characteristic value of terminal device With U.S. face parameter;
The the second face characteristic value found and the U.S. face parameter are sent to by the webserver The terminal device, the second face characteristic value and the U.S. face parameter are used to indicate the terminal device According to the second face characteristic value to the corresponding part or all of face of the first face characteristic value according to The U.S. face parameter carries out U.S. face processing, and the face for carrying out the U.S. face processing is second face characteristic It is worth corresponding face.
In the first possible implementation of second aspect, the webserver passes through terminal device The first face characteristic value search the second face characteristic value and U.S. face parameter of matching, including:
The webserver receives the first face characteristic value that the terminal device is sent;
The webserver is carried out by the face characteristic value storehouse stored with the first face characteristic value Matching, the result matched includes the second face characteristic value and the U.S. face parameter, second people The corresponding face of face characteristic value is the corresponding part or all of face of the first face characteristic value.
In second of possible implementation of second aspect, the webserver passes through terminal device The first face characteristic value search the second face characteristic value and U.S. face parameter of matching before, also include:
The webserver receives the face characteristic value and U.S. face parameter that the terminal device is sent.
According to any one in the first and second of possible implementation of second aspect, second aspect, In the third possible implementation, also include:
The webserver receives the operational order that the terminal device is sent;
The webserver is according to the operational order to the face characteristic value storehouse in the webserver In face characteristic value and U.S. face parameter increased, read, being updated and deletion action in one or many , and return to operating result to the terminal device.
According to any one in the first and second of possible implementation of second aspect, second aspect, In the 4th kind of possible implementation, also include:
The webserver sent to terminal device the face characteristic value that is stored in the webserver and U.S. face parameter, the face characteristic value and the U.S. face parameter are used to indicate that the terminal device is carrying out U.S. Face before processing, the face handled by the face characteristic value stored in the terminal device with pending U.S. face Corresponding face characteristic value is matched.
The third aspect, the present invention provides a kind of U.S. face processing unit, including:
Searching modul, the first face characteristic value for being obtained by terminal device is looked into the webserver Look for the second face characteristic value and U.S. face parameter of matching;
U.S. face module, the second face characteristic value for being found according to the searching modul is the first to institute The corresponding part or all of face of face characteristic value carries out U.S. face according to the U.S. face parameter and handled, and carries out described The face of U.S. face processing is the corresponding face of the second face characteristic value.
In the first possible implementation of the third aspect, the searching modul includes:Transmitting element, For the first face characteristic value to be sent into the webserver, the first face characteristic value is used Entered in the instruction webserver by the face characteristic value storehouse stored with the first face characteristic value Row matching;
Receiving unit, for receiving the matching result that the webserver is sent, the matching result bag Include the second face characteristic value and the U.S. face parameter, the corresponding face of the second face characteristic value is The corresponding part or all of face of the first face characteristic value.
In second of possible implementation of the third aspect, the U.S. face processing unit also includes:Hair Send module, for the searching modul by the first face characteristic value in the webserver Before the second face characteristic value and U.S. face parameter of searching matching, by the face characteristic in the terminal device Value and U.S. face parameter are sent to the webserver;
Processing module, for storing or deleting the face characteristic value in the terminal device and U.S. face parameter.
According to any one in the first and second of possible implementation of the third aspect, the third aspect, In the third possible implementation, the searching modul is additionally operable to special by first face Value indicative is searched in the webserver before the second face characteristic value and U.S. face parameter of matching, is passed through The first face characteristic value searches the second face characteristic value and U.S. face ginseng of matching in the terminal device Number;
Then the searching modul is used to search in the webserver by the first face characteristic value Second face characteristic value of matching and U.S. face parameter, refer to:When the searching modul is in the terminal device In when not finding the second face characteristic value matched with the first face characteristic value, in network clothes The the second face characteristic value and U.S. face parameter matched with the first face characteristic value is searched in business device.
According to any one in the first and second of possible implementation of the third aspect, the third aspect, In the 4th kind of possible implementation, the sending module is additionally operable to set in the terminal by user The operation of standby upper execution, operational order is sent to the webserver, and the operational order is used to indicate The webserver increases to the face characteristic value in the face characteristic value storehouse that is stored and U.S. face parameter Plus, read, update and deletion action in one or more.
Fourth aspect, the present invention provides a kind of U.S. face processing unit, including:
Searching modul, the second face for searching matching for the first face characteristic value by terminal device is special Value indicative and U.S. face parameter;
Sending module, for the second face characteristic value and the U.S. face ginseng for finding the searching modul Number is sent to the terminal device, and the second face characteristic value and the U.S. face parameter are described for indicating Terminal device is corresponding to the first face characteristic value partly or entirely according to the second face characteristic value Face carries out U.S. face according to the U.S. face parameter and handled, and the face for carrying out the U.S. face processing is described second The corresponding face of face characteristic value.
In the first possible implementation of fourth aspect, the searching modul includes:Receiving unit, For receiving the first face characteristic value that the terminal device is sent;
Matching unit, first received for the face characteristic value storehouse by having stored and the receiving unit Face characteristic value is matched, and the result matched includes the second face characteristic value and the U.S. face ginseng Number, the corresponding face of the second face characteristic value is for the corresponding part of the first face characteristic value or entirely Portion's face.
In second of possible implementation of fourth aspect, the U.S. face processing unit also includes:Connect Module is received, for searching the of matching by the first face characteristic value of terminal device in the searching modul Before two face characteristic values and U.S. face parameter, face characteristic value and U.S. face that the terminal device is sent are received Parameter.
According to any one in the first and second of possible implementation of fourth aspect, fourth aspect, In the third possible implementation, the receiver module is additionally operable to receive the terminal device transmission Operational order;
The U.S. face processing unit also includes:Processing module, for the behaviour received according to the receiver module Instruct and the face characteristic value in the face characteristic value storehouse in the webserver and U.S. face parameter are carried out One or more in increase, reading, renewal and deletion action;
The sending module, is additionally operable to return to operating result to the terminal device.
According to any one in the first and second of possible implementation of fourth aspect, fourth aspect, In the 4th kind of possible implementation, the sending module is additionally operable to send the net to terminal device The face characteristic value and U.S. face parameter, the face characteristic value and the U.S. face parameter stored in network server For indicating that the terminal device is carrying out U.S. face before processing, pass through the face stored in the terminal device Characteristic value face characteristic value corresponding with the face of pending U.S. face processing is matched.
5th aspect, the present invention provides a kind of terminal device, including:Camera, display and processor, Wherein, the U.S. face processing unit as any one of the above-mentioned third aspect is provided with the processor;
The camera, face characteristic is converted into for taking pictures or imaging, and by the face in shooting image Value;
The display, for showing captured in real-time image during taking pictures or imaging, and taking pictures or Shooting result is shown after the completion of shooting.
U.S. face processing method, device and terminal device that the present invention is provided, obtained by terminal device One face characteristic value searches the second face characteristic value and U.S. face parameter of matching, and root in the webserver It is investigated that the second face characteristic value found to the corresponding part or all of face of the first face characteristic value according to U.S. Face parameter carries out U.S. face processing, and the face for carrying out U.S. face processing is the corresponding face of the second face characteristic value, The present invention realizes and terminal device is obtained by being stored in the face characteristic value and U.S. face parameter of network server end The the first face characteristic value taken carries out the mode of U.S. face processing, solves the U.S. face side of taking pictures of the prior art Formula, due to performing the limitation of memory space in the intelligent terminal taken pictures, it is difficult to meet to a greater number simultaneously Face carry out the demand of U.S. face processing, so as to cause that the U.S. face process performance of intelligent terminal is poor to ask Topic.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes one of specification Point, it is used to explain technical scheme together with embodiments herein, does not constitute to the present invention The limitation of technical scheme.
Fig. 1 is a kind of flow chart of U.S. face processing method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another U.S. face processing method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another U.S. face processing method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another U.S. face processing method provided in an embodiment of the present invention;
Fig. 5 is also a kind of flow chart of U.S. face processing method provided in an embodiment of the present invention;
Fig. 6 is a kind of Signalling exchange flow chart of U.S. face processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of U.S. face processing unit provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another U.S. face processing unit provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another U.S. face processing unit provided in an embodiment of the present invention;
Figure 10 is the structural representation of another U.S. face processing unit provided in an embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing Embodiments of the invention are described in detail.It should be noted that in the case where not conflicting, this Shen Please in embodiment and the feature in embodiment can mutually be combined.
The step of the flow of accompanying drawing is illustrated can such as one group computer executable instructions computer Performed in system.And, although logical order is shown in flow charts, but in some cases, Can be with the step shown or described by being performed different from order herein.
Technical scheme is described in detail below by specific embodiment, the present invention is following Terminal device in each embodiment is the intelligent terminal with camera, such as smart mobile phone, panel computer Or personal digital assistant (Personal Digital Assistant, referred to as:PDA) etc., each reality of the invention Apply the display for being generally also provided with the terminal device in example and can showing captured in real-time image or showing photo Screen.The present invention provides following specific embodiment and can be combined with each other, for same or analogous general Thought or process may be repeated no more in some embodiments.
Fig. 1 is a kind of flow chart of U.S. face processing method provided in an embodiment of the present invention.The present embodiment is provided Face of the U.S. face processing method suitable for terminal device shooting image carry out the situation of U.S. face processing In, this method can be performed by U.S. face processing unit, and the U.S. face processing unit is combined by hardware and software Mode realize that the device can be integrated in the processor of terminal device, call and use for processor. As shown in figure 1, the method that the present embodiment is provided can include:
S110, the first face characteristic value obtained by terminal device searches matching in the webserver Second face characteristic value and U.S. face parameter.
In the present embodiment, the object of U.S. face processing is usually the face in shooting image, specifically, when Face in preceding shooting image can be as the first face characteristic value, similarly to the prior art, at U.S. face The foundation of reason is similarly the face characteristic value storehouse stored and U.S. face parameter, specifically, face characteristic value storehouse To judge whether the basis that U.S. face processing is carried out to the corresponding face of the first face characteristic value, U.S. face parameter is Perform the foundation of U.S. face processing.Unlike the prior art, it is used to compare people in various embodiments of the present invention Face characteristic value storehouse and U.S. face parameter are not obtained from the machine, and are stored in specific network-side, example Such as the apple cloud (iCloud) of Baidu's cloud disk, or i Phone, in implementing, U.S. face is performed The terminal device of processing needs the registered user on the webserver, such as registration is " beautiful on the webserver Face user 1 ", " be stored with face characteristic value storehouse and U.S. face parameter in U.S. face user 1 ", so, eventually for this Avoid the need for storing substantial amounts of face characteristic value in end equipment, and the memory capacity of the webserver is general It is larger, more face characteristic value can be stored.Therefore, terminal device is when U.S. face is taken pictures, Ke Yi The the second face characteristic value matched with the first face characteristic value is searched in the webserver under registered user With U.S. face parameter, so that the face characteristic value storehouse in the webserver and U.S. face parameter be handled as U.S. face Foundation.
The present embodiment in implementing, in the webserver generally be previously stored with face characteristic value storehouse and It can include before U.S. face parameter, i.e. S110:S100, by the face characteristic value in terminal device and U.S. Face parameter is sent to the webserver;S101, storage or the face characteristic value in deletion terminal device and U.S. Face parameter.In the present embodiment, can be first using the common camera function of terminal device to needing to set people The user of face characteristic value is taken pictures, or the face of acquisition specific user is special from the photo of terminal device Value indicative, and U.S. face parameter first can be set in terminal device;Then, terminal device has its own The data for taking pictures related to U.S. face and parameter having are sent on the webserver in corresponding registered user, So, i.e., by the face characteristic value of terminal device and U.S. face parameter synchronization into the webserver, now, Can the storage of selectivity or the face characteristic value in deletion terminal device and U.S. face parameter.In the present embodiment Face characteristic value the form of expression can be terminal taking human face photo, or terminal by handle from The characteristic parameter extracted in human face photo, such as passage, Quick Response Code etc..
It should be noted that the embodiment of the present invention does not limit the corresponding relation of face characteristic value and U.S. face parameter, Face characteristic value for example can be one-to-one relation with U.S. face parameter, i.e., have not to different faces Same U.S. face effect, such U.S. face mode is more targeted, can be set according to the characteristics of everyone Different U.S. face parameters;Pair face characteristic value and U.S. face parameter for example can also be many-to-one relation, i.e., Multiple faces set same U.S. face parameter, and such U.S. face mode is relatively simple, the U.S. face processing of reduction Complexity, it is easy to perform.In addition, the face characteristic value storehouse being pre-stored in the webserver of the present embodiment Can also be preset by other means with U.S. face parameter, for example user directly will upload to network by network In the registered user of server.
S120, according to the second face characteristic value found to the corresponding part of the first face characteristic value or complete Portion's face carries out U.S. face according to U.S. face parameter and handled, and the face for carrying out U.S. face processing is the second face characteristic value Corresponding face.
In the present embodiment, by the face characteristic value library lookup in the webserver to it is the first The corresponding part or all of face of face characteristic value, such as part face finds correspondence in the webserver Face characteristic value, and other faces do not find corresponding face characteristic value in the webserver, That is, the corresponding face of the second face characteristic value is the subset of the corresponding face of the first face characteristic value, Can also be identical.When carrying out U.S. face processing, the second face characteristic value correspondence only to having found Face carry out U.S. face processing, other faces need not then perform U.S. face processing;For example, certain user is Be stored with the face characteristic value of oneself when other people take a group photo, in terminal device, therefore multiple faces of photo In, the face of the only user has corresponding face paricular value, i.e., the object of U.S. face processing only has the user.
The U.S. face processing method that the present embodiment is provided, because the first face characteristic value that U.S. face is dealt with objects exists It is compared in the webserver, can avoid causing due to terminal device limited storage space is various Problem.Such as terminal device be only capable of store limited quantity face characteristic value, it is difficult to pair simultaneously to plurality The face of amount carries out U.S. face processing;The object for being for example currently needed for U.S. face again is not stored in terminal device In, it is necessary to by take pictures or photo obtain face characteristic value, and could be carried out after arrange parameter U.S. face at Reason, if subsequent time changes the object of U.S. face processing, it is necessary to repeat aforesaid way;For example changing eventually again After end equipment, face characteristic value and U.S. face parameter are required for ability after being reset on new terminal device Carry out U.S. face to take pictures, can so increase extra work amount.
The U.S. face processing method that the present embodiment is provided, the first face characteristic value obtained by terminal device Search the second face characteristic value and U.S. face parameter of matching in the webserver, and according to the found Two face characteristic values carry out beautiful to the corresponding part or all of face of the first face characteristic value according to U.S. face parameter Face processing, the face for carrying out U.S. face processing is the corresponding face of the second face characteristic value, and the present embodiment passes through The face characteristic value and U.S. face parameter for being stored in network server end are realized to the first of terminal device acquisition Face characteristic value carries out the mode of U.S. face processing, U.S. face shooting style of the prior art is solved, due to holding The limitation of memory space in the intelligent terminal that row is taken pictures, is carried out it is difficult to meet simultaneously to greater number of face The demand of U.S. face processing, so as to cause the problem of U.S. face process performance of intelligent terminal is poor.
Further, the webserver generally has larger memory space, can store substantial amounts of face Characteristic value, therefore, the U.S. face processing method that the present embodiment is provided can also be avoided because terminal device is stored The various problems that space is limited and causes, for example, in the object variation of U.S. face processing, the webserver There is matching correspondence face in the face characteristic value of middle storage, then need not reset, directly search simultaneously Use;For another example after changes terminal equipment, the data stored in the webserver are had no effect on, It need not then carry out repeating setting in terminal device, largely reduce the work of U.S. face processing Amount, improves the practicality that U.S. face is taken pictures.
Fig. 2 is the flow chart of another U.S. face processing method provided in an embodiment of the present invention.The present invention is provided A kind of concrete mode that face characteristic value and U.S. face parameter are searched from the webserver, in above-mentioned Fig. 1 institutes Show on the basis of embodiment, S110 can include:S111, network clothes are sent to by the first face characteristic value Be engaged in device, the first face characteristic value be used to indicating the webserver by the face characteristic value storehouse that has stored with First face characteristic value is matched;S112, receives the matching result that the webserver is sent, the matching As a result the second face characteristic value and U.S. face parameter are included, the corresponding face of the second face characteristic value is first The corresponding part or all of face of face characteristic value.
In the present embodiment, terminal device can carry out data friendship with registered user on the webserver It is mutually, as escribed above that " U.S. face user 1 ", the data related to the terminal device are stored in " U.S. face In user 1 ", i.e., the webserver can provide above-mentioned U.S. face service for multiple terminal devices, by not Same registered user distinguishes different terminal devices.
Alternatively, Fig. 3 is the flow chart of another U.S. face processing method provided in an embodiment of the present invention.On State embodiment it is stated that by terminal device to the synchronous number related with U.S. face processing of the webserver According to rear, can save the data in terminal device, therefore, terminal device when performing U.S. face processing, The face characteristic value stored in terminal device can also be inquired about in advance;Fig. 3 is with implementation shown in above-mentioned Fig. 1 Shown, before S110, also included exemplified by the basis of example:S102, it is special by the first face Value indicative searches the second face characteristic value and U.S. face parameter of matching in terminal device;Correspondingly, S110 can To replace with:When not finding the second face characteristic for being matched with the first face characteristic value in terminal device During value, the second face characteristic value and U.S. face matched with the first face characteristic value is searched in the webserver Parameter.
The U.S. face processing method that the present embodiment is provided, it is contemplated that can be stored with certain data in terminal device Face characteristic value, and search from the machine that corresponding face characteristic value is reduced and the webserver is carried out Interactive step, lookup it is ageing higher, can be searched first in the machine, if not having in the machine Find, further can be searched in the webserver.
Further, the data in the registered user of the webserver can be changed at any time, i.e., originally The method that embodiment is provided also includes:S130, the operation performed on the terminal device by user, to net Network server sends operational order, and the operational order is used to indicate that the webserver is special to the face stored Face characteristic value in value indicative storehouse and U.S. face parameter increased, read, being updated and deletion action in one Item is multinomial.
It should be noted that the present embodiment is not limited in S130 execution sequence, the change webserver Face characteristic value and U.S. face parameter can be before taking pictures or after taking pictures can be user at any time Perform, embodiment illustrated in fig. 3 is shown so that S130 is performed after S120 as an example;In addition, right The change of data in the webserver, can not only be performed by terminal device, can also be straight by user Connecting network will upload in the registered user of the webserver.
Fig. 4 is the flow chart of another U.S. face processing method provided in an embodiment of the present invention.The present embodiment is carried Face of the U.S. face processing method supplied suitable for terminal device shooting image carries out the situation of U.S. face processing In, this method can be performed by U.S. face processing unit, and the U.S. face processing unit is combined by hardware and software Mode realize that the device can be arranged in the webserver.As shown in figure 4, the present embodiment is carried The method of confession can include:
S210, the webserver searches the second face of matching by the first face characteristic value of terminal device Characteristic value and U.S. face parameter.
In the present embodiment, the object of U.S. face processing is similarly the face in shooting image, specifically, when Face in preceding shooting image can be used as the first face characteristic value, unlike the prior art, this hair It is used to compare face characteristic value storehouse in bright each embodiment and U.S. face parameter is not obtained from the machine, but Be stored in specific network-side, such as Baidu's cloud disk, or i Phone apple cloud (iCloud), Have in implementing, in the webserver on the user that terminal device is registered, such as webserver Register with " U.S. face user 1 ", should " be stored with face characteristic value storehouse and U.S. face parameter in U.S. face user 1 ", So, avoid the need for storing substantial amounts of face characteristic value, and the storage of the webserver in terminal device Capacity is generally large, can store more face characteristic value.Therefore, for needing the U.S. face of progress to take pictures Terminal device, the webserver can provide the associated server that its carries out U.S. face processing, i.e. network and take Business device searches the second face characteristic value matched with the first face characteristic value under the registered user of terminal device With U.S. face parameter, the present embodiment specifically using the face characteristic value storehouse in the webserver and U.S. face parameter as The foundation of U.S. face processing.
The present embodiment in implementing, in the webserver generally be previously stored with face characteristic value storehouse and It can include before U.S. face parameter, i.e. S210:S200, what webserver receiving terminal apparatus was sent Face characteristic value and U.S. face parameter.In the present embodiment, can be first using the common work(of taking pictures of terminal device The user for needing setting face characteristic value can be taken pictures, or obtain special from the photo of terminal device Determine the face characteristic value of user, and U.S. face parameter first can be set in terminal device;Then, terminal The data for taking pictures related to U.S. face and parameter that equipment has its own are sent to correspondence on the webserver Registered user in, so, i.e., by the face characteristic value of terminal device and U.S. face parameter synchronization to network clothes It is engaged in device.It should be noted that terminal device in the present embodiment can selectivity storage or delete eventually Face characteristic value and U.S. face parameter in end equipment.The form of expression of face characteristic value in the present embodiment can To be the human face photo of terminal taking, or the feature that terminal is extracted by handling from human face photo Parameter, such as passage, Quick Response Code etc..
It should be noted that the embodiment of the present invention does not limit the corresponding relation of face characteristic value and U.S. face parameter, Face characteristic value and U.S. face parameter for example can be one-to-one relation, face characteristic value and U.S. face parameter It for example can also be many-to-one relation.In addition, the face being pre-stored in the webserver of the present embodiment Characteristic value storehouse and U.S. face parameter can also be preset by other means, and for example user directly will be upper by network In the registered user for passing to the webserver.
The the second face characteristic value found and U.S. face parameter are sent to terminal and set by S220, the webserver Standby, the second face characteristic value and U.S. face parameter are used for instruction terminal equipment according to the second face characteristic value pair The corresponding part or all of face of first face characteristic value carries out U.S. face according to U.S. face parameter and handled, and carries out beautiful The face of face processing is the corresponding face of the second face characteristic value.
In the present embodiment, by the face characteristic value library lookup in the webserver to it is the first The corresponding part or all of face of face characteristic value, such as part face finds correspondence in the webserver Face characteristic value, and other faces do not find corresponding face characteristic value in the webserver, That is, the corresponding face of the second face characteristic value is the subset of the corresponding face of the first face characteristic value, Can also be identical.When carrying out U.S. face processing, the second face characteristic value correspondence only to having found Face carry out U.S. face processing, other faces need not then perform U.S. face processing.
The U.S. face processing method that the present embodiment is provided, needs to carry out U.S. face due to comparing by the webserver The object of processing, i.e. the first face characteristic value, can avoid making due to terminal device limited storage space Into various problems.The various problems caused because terminal storage space is limited are in the above-described example Illustrate, therefore will not be repeated here.
The U.S. face processing method that the present embodiment is provided, the first face that the webserver passes through terminal device Characteristic value searches the second face characteristic value and U.S. face parameter of matching, and special according to the second face found Value indicative carries out U.S. face according to U.S. face parameter to the corresponding part or all of face of the first face characteristic value and handled, The face for carrying out U.S. face processing is the corresponding face of the second face characteristic value, and the present embodiment is by being stored in net The face characteristic value of network server end and U.S. face parameter realize the first face characteristic value obtained to terminal device The mode of U.S. face processing is carried out, U.S. face shooting style of the prior art is solved, due to performing what is taken pictures The limitation of memory space in intelligent terminal, greater number of face is carried out U.S. face processing it is difficult to be met simultaneously Demand, so as to cause the problem of U.S. face process performance of intelligent terminal is poor.
Further, the webserver generally has larger memory space, can store substantial amounts of face Characteristic value, therefore, the U.S. face processing method that the present embodiment is provided can also be avoided because terminal device is stored Illustrate, therefore will not be repeated here in the various problems that space is limited and causes, examples detailed above.
Fig. 5 is also a kind of flow chart of U.S. face processing method provided in an embodiment of the present invention.The present invention is provided A kind of concrete mode that face characteristic value and U.S. face parameter are searched from the webserver, in above-mentioned Fig. 4 institutes Show on the basis of embodiment, S210 can include:S211, what webserver receiving terminal apparatus was sent First face characteristic value;S212, the webserver passes through the face characteristic value storehouse stored and the first face Characteristic value is matched, and the result matched includes the second face characteristic value and U.S. face parameter, second people The corresponding face of face characteristic value is the corresponding part or all of face of the first face characteristic value.
In the present embodiment, registered user can carry out data friendship with terminal device on the webserver It is mutually, as escribed above that " U.S. face user 1 ", the data related to the terminal device are stored in " U.S. face In user 1 ", i.e., the webserver can provide above-mentioned U.S. face service for multiple terminal devices, by not Same registered user distinguishes different terminal devices.
Alternatively, the data in the registered user of the webserver can be changed at any time, i.e. this implementation The method that example is provided also includes:S230, the operational order that webserver receiving terminal apparatus is sent; S240, the webserver is special to the face in the face characteristic value storehouse in the webserver according to operational order Value indicative and U.S. face parameter increased, read, being updated and deletion action in one or more, and to end End equipment returns to operating result.
It should be noted that the present embodiment does not limit S230~S240 execution sequence, network service is changed It can be user any that face characteristic value in device and U.S. face parameter, which can be before taking pictures or after taking pictures, What the time performed, embodiment illustrated in fig. 5 is shown so that S230~S240 is performed after S220 as an example; , can be with addition, the change to data in the webserver, can not only be performed by terminal device It will directly be uploaded to by user by network in the registered user of the webserver.
Further, the above-mentioned webserver having been described above in the present embodiment can be set to multiple terminals Standby to be serviced, i.e., after changes terminal equipment, the webserver can equally provide server, this reality Applying the method for example offer also includes:The webserver sends the people stored in the webserver to terminal device Face characteristic value and U.S.'s face parameter, the face characteristic value and U.S. face parameter are used for instruction terminal equipment and are carrying out U.S. Face before processing, it is corresponding with the face that pending U.S. face is handled by the face characteristic value stored in terminal device Face characteristic value matched.
As shown in fig. 6, being a kind of Signalling exchange flow of U.S. face processing method provided in an embodiment of the present invention Figure.Embodiment illustrated in fig. 6 includes:
First face characteristic value of acquisition is sent to the webserver by S310, terminal device, specifically can be with It is sent on the webserver in specific registered user.
S311, the webserver passes through the face characteristic value storehouse stored and the progress of the first face characteristic value Match somebody with somebody.
S312, the webserver sends matching result to terminal device, and the matching result includes the second face Characteristic value and U.S. face parameter, the corresponding face of the second face characteristic value is that the first face characteristic value is corresponding Part or all of face.
S313, carries out U.S. face to the corresponding face of the second face characteristic value according to matching result and handles.
The method that the present embodiment is provided, is performed at U.S. face in terminal device by the data in the webserver Before reason, in addition it is also necessary to perform register flow path, such as before S310, including:
S301, terminal device sends registration request to the webserver.
S302, the webserver returns to log-on message to terminal device, and the log-on message includes login account With the information such as password.
After terminal device obtains login account, the face characteristic value in terminal device and U.S. face can be joined Number is synchronized in the webserver, i.e., also include before S310:
Face characteristic value and U.S. face parameter are sent to by S303, specially synchronous U.S.'s face data, terminal device The webserver.
Alternatively, the method that the present embodiment is provided includes:S304, terminal device stores or deletes its own Face characteristic value and U.S. face parameter.
The present embodiment again may be by the mode that terminal device interacts with the webserver and change network service The method that data in device, i.e. the present embodiment are provided also includes:S314, by user on the terminal device The operation of execution, operational order is sent to the webserver.
S315, the webserver is according to operational order to the face characteristic in the face characteristic value storehouse that is stored Value and U.S. face parameter are performed one or more in increase, reading, renewal and deletion action.
S316, the webserver returns to operating result to terminal device.
It should be noted that in the present embodiment webserver preset data mode, and to network The mode that data are changed in server, directly can also will upload to network by network by user and take It is engaged in the registered user of device.
Further, the method that the present embodiment is provided also includes:S317, the webserver is to terminal device Send the face characteristic value and U.S. face parameter stored in the webserver.
S318, terminal device returns to confirmation message to the webserver.For example in user's changes terminal equipment Afterwards, it is not necessary to reset the data content related to U.S. face function, obtained by way of Network Synchronization .
It should be noted that above-mentioned S314~S316 and S317~S318 is independent execution step, no Limit S314~S316 and S317~S318, the execution sequence with S310~S313;S314~S316 can be with After terminal device registered user perform, S317~S318 generally after terminal device registered user, and Have in the webserver before the data related to U.S. face and perform.
Fig. 7 is a kind of structural representation of U.S. face processing unit provided in an embodiment of the present invention.The present embodiment Face of the U.S. face processing unit of offer suitable for terminal device shooting image carries out the feelings of U.S. face processing In condition, the U.S. face processing unit realizes that the device can be with integrated by way of hardware and software is combined In the processor of terminal device, call and use for processor.As shown in fig. 7, the U.S. face of the present embodiment Processing unit is specifically included:Searching modul 11 and U.S. face module 12.
Wherein, searching modul 11, the first face characteristic value for being obtained by terminal device takes in network The the second face characteristic value and U.S. face parameter of matching are searched in business device.
In the present embodiment, the object of U.S. face processing is similarly the face in shooting image, specifically, currently Face in shooting image can be used as the first face characteristic value, unlike the prior art, the present invention It is used to compare face characteristic value storehouse in each embodiment and U.S. face parameter is not obtained from the machine, but deposits Storage can be Baidu's cloud disk in specific network-side, equally, or i Phone apple cloud (iCloud), For example, performing the terminal device of U.S. face processing needs the registered user on the webserver, for example, it is similarly " U.S. face user 1 ".Therefore, terminal device can have been noted when U.S. face is taken pictures in the webserver Corresponding face characteristic value and U.S. face parameter are searched under the user of volume, so that by the face in the webserver The foundation that characteristic value and U.S. face parameter are handled as U.S. face.
It should be noted that the embodiment of the present invention does not limit the corresponding relation of face characteristic value and U.S. face parameter, Face characteristic value and U.S. face parameter for example can be one-to-one relation, face characteristic value and U.S. face parameter It for example can also be many-to-one relation.
U.S. face module 12, for the second face characteristic value for being found according to searching modul 11 to the first The corresponding part or all of face of face characteristic value carries out U.S. face according to U.S. face parameter and handled, and carries out U.S. face processing Face be the corresponding face of the second face characteristic value.
In the present embodiment, by the face characteristic value library lookup in the webserver to it is the first The corresponding part or all of face of face characteristic value, such as part face finds correspondence in the webserver Face characteristic value, and other faces do not find corresponding face characteristic value in the webserver, That is, the corresponding face of the second face characteristic value is the subset of the corresponding face of the first face characteristic value, Can also be identical.When carrying out U.S. face processing, the second face characteristic value correspondence only to having found Part face carry out U.S. face processing, other faces need not then perform U.S. face processing.
The present embodiment is generally previously stored with face characteristic value and U.S. in implementing in the webserver The U.S. face processing unit that face parameter, i.e. the present embodiment are provided can also include:Sending module 13, for Searching modul 11 searches the second face characteristic of matching by the first face characteristic value in the webserver Before value and U.S. face parameter, the face characteristic value in terminal device and U.S. face parameter are sent to network service Device;Processing module 14, for storing or deleting the face characteristic value in terminal device and U.S. face parameter.Need It is noted that the face characteristic value and U.S. face parameter that are pre-stored in the webserver of the present embodiment may be used also With preset by other means, the registration that for example user directly will upload to the webserver by network is used In family.
U.S. face processing unit provided in an embodiment of the present invention is used to perform embodiment illustrated in fig. 1 offer of the present invention U.S. face processing method, possess corresponding functional module, its implementing principle and technical effect is similar, herein Repeat no more.
Fig. 8 is the structural representation of another U.S. face processing unit provided in an embodiment of the present invention.Above-mentioned Shown in Fig. 4 on the architecture basics of U.S. face processing unit, the searching modul 11 in the present embodiment can include: Transmitting element 15, for the first face characteristic value to be sent into the webserver, the first face characteristic value For indicating that the webserver passes through the face characteristic value storehouse stored and the progress of the first face characteristic value Match somebody with somebody;Receiving unit 16, the matching result for receiving webserver transmission, matching result includes the Two face characteristic values and U.S. face parameter, the corresponding face of the second face characteristic value is the first face characteristic value Corresponding part or all of face.
U.S. face processing unit provided in an embodiment of the present invention is used to perform embodiment illustrated in fig. 2 offer of the present invention U.S. face processing method, possess corresponding functional module, its implementing principle and technical effect is similar, herein Repeat no more.
Alternatively, above-described embodiment is it is stated that synchronous and beautiful to the webserver by terminal device After the related data of face processing, it can save the data in terminal device, therefore, terminal device is being held During the face processing of row U.S., the face characteristic value stored in terminal device can also be inquired about in advance;That is the present embodiment In searching modul 11, be additionally operable to by the first face characteristic value searched in the webserver matching Before second face characteristic value and U.S. face parameter, searched by the first face characteristic value in terminal device The the second face characteristic value and U.S. face parameter matched somebody with somebody;Then searching modul 11 is used to exist by the first face characteristic value The the second face characteristic value and U.S. face parameter of matching are searched in the webserver, is referred to:When searching modul 11 When not finding the second face characteristic value matched with the first face characteristic value in terminal device, in network The the second face characteristic value and U.S. face parameter matched with the first face characteristic value is searched in server.
Further, the data in the registered user of the webserver can be changed at any time, change The U.S. face processing unit that the mode of data can for example be provided by the present embodiment in the webserver is performed, Specifically, sending module 13, is additionally operable to the operation performed on the terminal device by user, is taken to network Device of being engaged in sends operational order, and the operational order is used to indicate the webserver to the face characteristic value that is stored Face characteristic value in storehouse and U.S. face parameter increased, read, being updated and deletion action in one or It is multinomial.
U.S. face processing unit provided in an embodiment of the present invention is used to perform embodiment illustrated in fig. 3 offer of the present invention U.S. face processing method, possess corresponding functional module, its implementing principle and technical effect is similar, herein Repeat no more.
It should be noted that the present embodiment does not limit the execution sequence of data in the change webserver, become Face characteristic value in the more webserver and U.S. face parameter can be Ke Yishi before taking pictures or after taking pictures What user performed at any time;In addition, the change to data in the webserver, can not only pass through Terminal device is performed, and the registration that directly can also will upload to the webserver by network by user is used In family.
Fig. 9 is the structural representation of another U.S. face processing unit provided in an embodiment of the present invention.This implementation Face of the U.S. face processing unit that example is provided suitable for terminal device shooting image carries out U.S. face processing In situation, the U.S. face processing unit realizes that the device can be set by way of hardware and software is combined It is placed in the webserver.As shown in figure 9, the U.S. face processing unit of the present embodiment is specifically included:Search Module 21 and sending module 22.
Wherein, searching modul 21, for searching the of matching by the first face characteristic value of terminal device Two face characteristic values and U.S. face parameter.
In the present embodiment, the object of U.S. face processing is similarly the face in shooting image, specifically, currently Face in shooting image can be used as the first face characteristic value, unlike the prior art, the present invention It is used to compare face characteristic value storehouse in each embodiment and U.S. face parameter is not obtained from the machine, but deposits Storage can be Baidu's cloud disk in specific network-side, equally, or i Phone apple cloud (iCloud), Have in implementing, in the webserver on the user that terminal device is registered, such as webserver Register with " U.S. face user 1 ".Therefore, for needing to carry out the terminal device that U.S. face is taken pictures, network clothes Business device can provide the associated server that it carries out U.S. face processing, i.e. note of the webserver in terminal device The the second face characteristic value and U.S. face parameter matched with the first face characteristic value, this implementation are searched under volume user The specific foundation for handling the face characteristic value storehouse in the webserver and U.S. face parameter as U.S. face of example.
It should be noted that the embodiment of the present invention does not limit the corresponding relation of face characteristic value and U.S. face parameter, Face characteristic value and U.S. face parameter for example can be one-to-one relation, face characteristic value and U.S. face parameter It for example can also be many-to-one relation.
Sending module 22, for the second face characteristic value and U.S. face parameter for finding searching modul 21 Terminal device is sent to, the second face characteristic value and U.S. face parameter are used for instruction terminal equipment according to second Face characteristic value carries out U.S. face to the corresponding part or all of face of the first face characteristic value according to U.S. face parameter Processing, the face for carrying out U.S. face processing is the corresponding face of the second face characteristic value.
In the present embodiment, by the face characteristic value library lookup in the webserver to it is the first The corresponding part or all of face of face characteristic value, such as part face finds correspondence in the webserver Face characteristic value, and other faces do not find corresponding face characteristic value in the webserver, That is, the corresponding face of the second face characteristic value is the subset of the corresponding face of the first face characteristic value, Can also be identical.When carrying out U.S. face processing, the second face characteristic value correspondence only to having found Part face carry out U.S. face processing, other faces need not then perform U.S. face processing.
The present embodiment is generally previously stored with face characteristic value and U.S. in implementing in the webserver The U.S. face processing unit that face parameter, i.e. the present embodiment are provided can also include:Receiver module 23, for Searching modul 21 by the first face characteristic value of terminal device search matching the second face characteristic value and Before U.S. face parameter, face characteristic value and U.S. face parameter that receiving terminal apparatus is sent.It should be noted that The face characteristic value and U.S. face parameter being pre-stored in the webserver of the present embodiment can also pass through its other party Formula is preset, and for example user will be directly uploaded in the registered user of the webserver by network.
U.S. face processing unit provided in an embodiment of the present invention is used to perform embodiment illustrated in fig. 4 offer of the present invention U.S. face processing method, possess corresponding functional module, its implementing principle and technical effect is similar, herein Repeat no more.
Figure 10 is the structural representation of another U.S. face processing unit provided in an embodiment of the present invention.Above-mentioned Shown in Fig. 9 on the architecture basics of U.S. face processing unit, the searching modul 21 in the present embodiment can include: Receiving unit 24, the first face characteristic value sent for receiving terminal apparatus;Matching unit 25, is used for Matched by the face characteristic value storehouse stored with the first face characteristic value that receiving unit 24 is received, The result matched includes the second face characteristic value and U.S. face parameter, the corresponding people of the second face characteristic value Face is the corresponding part or all of face of the first face characteristic value.
Alternatively, the data in the registered user of the webserver can be changed at any time, change network The U.S. face processing unit that the mode of data can for example be provided by the present embodiment in server is performed, specifically For receiver module 23 is additionally operable to the operational order of receiving terminal apparatus transmission;Correspondingly, the present embodiment U.S. face processing unit also include:Processing module 26, the operation for being received according to receiver module 23 refers to Order is increased the face characteristic value in the face characteristic value storehouse in the webserver and U.S. face parameter, read Take, update and deletion action in one or more;Sending module 22, is additionally operable to return to terminal device Return operating result.
Further, the above-mentioned webserver having been described above in the present embodiment can be to multiple terminal devices Serviced, i.e., after changes terminal equipment, the webserver can equally provide server, this implementation In the device that example is provided, sending module 22 is additionally operable to send what is stored in the webserver to terminal device Face characteristic value and U.S. face parameter, the face characteristic value and U.S. face parameter are used for instruction terminal equipment and carried out U.S. face before processing, the face pair handled by the face characteristic value stored in terminal device with pending U.S. face The face characteristic value answered is matched.
U.S. face processing unit provided in an embodiment of the present invention is used to perform embodiment illustrated in fig. 5 offer of the present invention U.S. face processing method, possess corresponding functional module, its implementing principle and technical effect is similar, herein Repeat no more.
It should be noted that the present embodiment does not limit the execution sequence of data in the change webserver, become Face characteristic value in the more webserver and U.S. face parameter can be Ke Yishi before taking pictures or after taking pictures What user performed at any time;In addition, the change to data in the webserver, can not only pass through Terminal device is performed, and the registration that directly can also will upload to the webserver by network by user is used In family.
The embodiment of the present invention also provides a kind of terminal device, and the terminal device includes:Camera, display And processor, wherein, it is provided with the processor in any embodiment as shown in above-mentioned Fig. 7 and Fig. 8 U.S. face processing unit;Camera, is people for taking pictures or imaging, and by the face conversion in shooting image Face characteristic value;Display, for showing captured in real-time image during taking pictures or imaging, and is taking pictures Or show shooting result after the completion of shooting.Terminal device in the present embodiment can be smart mobile phone, install U.S. face can be carried out after U.S. face APP to take pictures, and can also be panel computer and micro- one camera, equally there is U.S. The function that face is taken pictures.
The terminal device that the present embodiment is provided is carried for performing any embodiment shown in Fig. 1 to Fig. 6 of the present invention The U.S. face processing method supplied, possesses corresponding entity apparatus, its implementing principle and technical effect is similar, this Place is repeated no more.
Although disclosed herein embodiment as above, described content is only to readily appreciate the present invention And the embodiment used, it is not limited to the present invention.Technology people in any art of the present invention Member, do not depart from disclosed herein spirit and scope on the premise of, can be in the form of implementation and thin Any modification and change, but the scope of patent protection of the present invention are carried out on section, still must be with appended right The scope that claim is defined is defined.

Claims (21)

1. a kind of U.S. face processing method, it is characterised in that including:
The the first face characteristic value obtained by terminal device searches the second people of matching in the webserver Face characteristic value and U.S. face parameter;
According to the second face characteristic value found to the corresponding part of the first face characteristic value or Whole faces carry out U.S. face according to the U.S. face parameter and handled, and it is described to carry out the face of the U.S. face processing The corresponding face of second face characteristic value.
2. U.S. face processing method according to claim 1, it is characterised in that described to be set by terminal Standby the first face characteristic value obtained searches the second face characteristic value and U.S. face of matching in the webserver Parameter, including:
The first face characteristic value is sent to the webserver, the first face characteristic value is used Entered in the instruction webserver by the face characteristic value storehouse stored with the first face characteristic value Row matching;
The matching result that the webserver is sent is received, the matching result includes second face Characteristic value and the U.S. face parameter, the corresponding face of the second face characteristic value are special for first face The corresponding part or all of face of value indicative.
3. U.S. face processing method according to claim 1, it is characterised in that described to be set by terminal Standby the first face characteristic value obtained searches the second face characteristic value and U.S. face of matching in the webserver Before parameter, also include:
Face characteristic value in the terminal device and U.S. face parameter are sent to the webserver;
Store or delete the face characteristic value and U.S. face parameter in the terminal device.
4. according to U.S. face processing method according to any one of claims 1 to 3, it is characterised in that described The second face that the first face characteristic value obtained by terminal device searches matching in the webserver is special Before value indicative and U.S. face parameter, also include:
The second face characteristic value of matching is searched in the terminal device by the first face characteristic value With U.S. face parameter;
Second face for searching matching in the webserver by terminal device the first face characteristic value Characteristic value and U.S. face parameter, including:
It is special when not finding the second face for being matched with the first face characteristic value in the terminal device During value indicative, the second face matched with the first face characteristic value is searched in the webserver special Value indicative and U.S. face parameter.
5. according to U.S. face processing method according to any one of claims 1 to 3, it is characterised in that also wrap Include:
The operation performed by user on the terminal device, sends operation to the webserver and refers to Order, the operational order is used to indicate the webserver to the people in the face characteristic value storehouse that is stored Face characteristic value and U.S. face parameter increased, read, being updated and deletion action in one or more.
6. a kind of U.S. face processing method, it is characterised in that including:
The webserver searches the second face characteristic value of matching by the first face characteristic value of terminal device With U.S. face parameter;
The the second face characteristic value found and the U.S. face parameter are sent to by the webserver The terminal device, the second face characteristic value and the U.S. face parameter are used to indicate the terminal device According to the second face characteristic value to the corresponding part or all of face of the first face characteristic value according to The U.S. face parameter carries out U.S. face processing, and the face for carrying out the U.S. face processing is second face characteristic It is worth corresponding face.
7. U.S. face processing method according to claim 6, it is characterised in that the webserver The the second face characteristic value and U.S. face parameter of matching, bag are searched by the first face characteristic value of terminal device Include:
The webserver receives the first face characteristic value that the terminal device is sent;
The webserver is carried out by the face characteristic value storehouse stored with the first face characteristic value Matching, the result matched includes the second face characteristic value and the U.S. face parameter, second people The corresponding face of face characteristic value is the corresponding part or all of face of the first face characteristic value.
8. U.S. face processing method according to claim 6, it is characterised in that the webserver By the first face characteristic value of terminal device search matching the second face characteristic value and U.S. face parameter it Before, also include:
The webserver receives the face characteristic value and U.S. face parameter that the terminal device is sent.
9. the U.S. face processing method according to any one of claim 6~8, it is characterised in that also wrap Include:
The webserver receives the operational order that the terminal device is sent;
The webserver is according to the operational order to the face characteristic value storehouse in the webserver In face characteristic value and U.S. face parameter increased, read, being updated and deletion action in one or many , and return to operating result to the terminal device.
10. the U.S. face processing method according to any one of claim 6~8, it is characterised in that also Including:
The webserver sent to terminal device the face characteristic value that is stored in the webserver and U.S. face parameter, the face characteristic value and the U.S. face parameter are used to indicate that the terminal device is carrying out U.S. Face before processing, the face handled by the face characteristic value stored in the terminal device with pending U.S. face Corresponding face characteristic value is matched.
11. a kind of U.S. face processing unit, it is characterised in that including:
Searching modul, the first face characteristic value for being obtained by terminal device is looked into the webserver Look for the second face characteristic value and U.S. face parameter of matching;
U.S. face module, the second face characteristic value for being found according to the searching modul is the first to institute The corresponding part or all of face of face characteristic value carries out U.S. face according to the U.S. face parameter and handled, and carries out described The face of U.S. face processing is the corresponding face of the second face characteristic value.
12. U.S. face processing unit according to claim 11, it is characterised in that the searching modul Including:Transmitting element, it is described for the first face characteristic value to be sent into the webserver First face characteristic value be used to indicating the webserver by the face characteristic value storehouse that has stored with it is described First face characteristic value is matched;
Receiving unit, for receiving the matching result that the webserver is sent, the matching result bag Include the second face characteristic value and the U.S. face parameter, the corresponding face of the second face characteristic value is The corresponding part or all of face of the first face characteristic value.
13. U.S. face processing unit according to claim 11, it is characterised in that the U.S. face processing Device also includes:Sending module, in the searching modul by the first face characteristic value in institute State before the second face characteristic value that matching is searched in the webserver and U.S. face parameter, the terminal is set Face characteristic value and U.S. face parameter in standby are sent to the webserver;
Processing module, for storing or deleting the face characteristic value in the terminal device and U.S. face parameter.
14. the U.S. face processing unit according to any one of claim 11~13, it is characterised in that The searching modul, is additionally operable to search in the webserver by the first face characteristic value Before second face characteristic value of matching and U.S. face parameter, by the first face characteristic value at the end The the second face characteristic value and U.S. face parameter of matching are searched in end equipment;
Then the searching modul is used to search in the webserver by the first face characteristic value Second face characteristic value of matching and U.S. face parameter, refer to:When the searching modul is in the terminal device In when not finding the second face characteristic value matched with the first face characteristic value, in network clothes The the second face characteristic value and U.S. face parameter matched with the first face characteristic value is searched in business device.
15. the U.S. face processing unit according to any one of claim 11~13, it is characterised in that The sending module, is additionally operable to the operation performed by user on the terminal device, to the network Server sends operational order, and the operational order is used to indicate the webserver to the people that is stored Face characteristic value in face characteristic value storehouse and U.S. face parameter increased, read, being updated and deletion action in One or more.
16. a kind of U.S. face processing unit, it is characterised in that including:
Searching modul, the second face for searching matching for the first face characteristic value by terminal device is special Value indicative and U.S. face parameter;
Sending module, for the second face characteristic value and the U.S. face ginseng for finding the searching modul Number is sent to the terminal device, and the second face characteristic value and the U.S. face parameter are described for indicating Terminal device is corresponding to the first face characteristic value partly or entirely according to the second face characteristic value Face carries out U.S. face according to the U.S. face parameter and handled, and the face for carrying out the U.S. face processing is described second The corresponding face of face characteristic value.
17. U.S. face processing unit according to claim 16, it is characterised in that the searching modul Including:Receiving unit, for receiving the first face characteristic value that the terminal device is sent;
Matching unit, first received for the face characteristic value storehouse by having stored and the receiving unit Face characteristic value is matched, and the result matched includes the second face characteristic value and the U.S. face ginseng Number, the corresponding face of the second face characteristic value is for the corresponding part of the first face characteristic value or entirely Portion's face.
18. U.S. face processing unit according to claim 16, it is characterised in that the U.S. face processing Device also includes:Receiver module, for the first face characteristic for passing through terminal device in the searching modul Value is searched before the second face characteristic value and U.S. face parameter of matching, receives the people that the terminal device is sent Face characteristic value and U.S. face parameter.
19. the U.S. face processing unit according to any one of claim 16~18, it is characterised in that The receiver module, is additionally operable to receive the operational order that the terminal device is sent;
The U.S. face processing unit also includes:Processing module, for the behaviour received according to the receiver module Instruct and the face characteristic value in the face characteristic value storehouse in the webserver and U.S. face parameter are carried out One or more in increase, reading, renewal and deletion action;
The sending module, is additionally operable to return to operating result to the terminal device.
20. the U.S. face processing unit according to any one of claim 16~18, it is characterised in that The sending module, is additionally operable to send the face characteristic value stored in the webserver to terminal device With U.S. face parameter, the face characteristic value and the U.S. face parameter are used to indicate the terminal device in progress U.S. face before processing, the people handled by the face characteristic value stored in the terminal device with pending U.S. face The corresponding face characteristic value of face is matched.
21. a kind of terminal device, it is characterised in that including:Camera, display and processor, its In, set in the processor just like the U.S. face processing unit any one of claim 11~15;
The camera, face characteristic is converted into for taking pictures or imaging, and by the face in shooting image Value;
The display, for showing captured in real-time image during taking pictures or imaging, and taking pictures or Shooting result is shown after the completion of shooting.
CN201610004706.4A 2016-01-04 2016-01-04 A kind of U.S. face processing method, device and terminal device Pending CN106940880A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610004706.4A CN106940880A (en) 2016-01-04 2016-01-04 A kind of U.S. face processing method, device and terminal device
PCT/CN2016/108268 WO2017118250A1 (en) 2016-01-04 2016-12-01 Facial beautification method, apparatus, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610004706.4A CN106940880A (en) 2016-01-04 2016-01-04 A kind of U.S. face processing method, device and terminal device

Publications (1)

Publication Number Publication Date
CN106940880A true CN106940880A (en) 2017-07-11

Family

ID=59273217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610004706.4A Pending CN106940880A (en) 2016-01-04 2016-01-04 A kind of U.S. face processing method, device and terminal device

Country Status (2)

Country Link
CN (1) CN106940880A (en)
WO (1) WO2017118250A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107437269A (en) * 2017-08-03 2017-12-05 北京小米移动软件有限公司 A kind of method and device for handling picture
CN107730442A (en) * 2017-10-16 2018-02-23 郑州云海信息技术有限公司 A kind of face U.S. face method and device
CN107844764A (en) * 2017-10-31 2018-03-27 广东欧珀移动通信有限公司 Image processing method, device, electronic equipment and computer-readable recording medium
CN108765273A (en) * 2018-05-31 2018-11-06 Oppo广东移动通信有限公司 The virtual lift face method and apparatus that face is taken pictures
CN109288233A (en) * 2017-07-25 2019-02-01 丽宝大数据股份有限公司 It is signable to repair the biological information analytical equipment for holding region
CN111062260A (en) * 2019-11-25 2020-04-24 杭州绿度信息技术有限公司 Automatic generation method of facial cosmetic recommendation scheme
CN111402154A (en) * 2020-03-10 2020-07-10 北京字节跳动网络技术有限公司 Image beautifying method and device, electronic equipment and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109903249A (en) * 2019-01-29 2019-06-18 贾广袖 U.S. face processing method, storage equipment and mobile terminal based on face identification

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2942402B1 (en) * 2009-02-23 2011-04-22 Oreal PHOTOMAILING METHOD USING MATERIAL LIGHT SOURCE ADDRESSABLE
CN104346136B (en) * 2013-07-24 2019-09-13 腾讯科技(深圳)有限公司 A kind of method and device of picture processing
CN103413270A (en) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 Method and device for image processing and terminal device
CN103632165B (en) * 2013-11-28 2017-07-04 小米科技有限责任公司 A kind of method of image procossing, device and terminal device
CN104574299A (en) * 2014-12-25 2015-04-29 小米科技有限责任公司 Face picture processing method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109288233A (en) * 2017-07-25 2019-02-01 丽宝大数据股份有限公司 It is signable to repair the biological information analytical equipment for holding region
CN107437269A (en) * 2017-08-03 2017-12-05 北京小米移动软件有限公司 A kind of method and device for handling picture
US10846513B2 (en) 2017-08-03 2020-11-24 Beijing Xiaomi Mobile Software Co., Ltd. Method, device and storage medium for processing picture
CN107437269B (en) * 2017-08-03 2021-10-08 北京小米移动软件有限公司 Method and device for processing picture
EP3438924B1 (en) * 2017-08-03 2023-01-18 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for processing picture
CN107730442A (en) * 2017-10-16 2018-02-23 郑州云海信息技术有限公司 A kind of face U.S. face method and device
CN107844764A (en) * 2017-10-31 2018-03-27 广东欧珀移动通信有限公司 Image processing method, device, electronic equipment and computer-readable recording medium
CN108765273A (en) * 2018-05-31 2018-11-06 Oppo广东移动通信有限公司 The virtual lift face method and apparatus that face is taken pictures
CN111062260A (en) * 2019-11-25 2020-04-24 杭州绿度信息技术有限公司 Automatic generation method of facial cosmetic recommendation scheme
CN111062260B (en) * 2019-11-25 2024-03-05 杭州绿度信息技术有限公司 Automatic generation method of face-beautifying recommendation scheme
CN111402154A (en) * 2020-03-10 2020-07-10 北京字节跳动网络技术有限公司 Image beautifying method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2017118250A1 (en) 2017-07-13

Similar Documents

Publication Publication Date Title
CN106940880A (en) A kind of U.S. face processing method, device and terminal device
CN107465936A (en) A kind of live list mirror image methods of exhibiting, live Platform Server and client
CN102104650A (en) Contact photo setting method, device and mobile communication terminal
CN105554290B (en) A kind of sharing method and device of wallpaper
CN104915107A (en) Media shooting method and terminal
CN107908337A (en) Share the method and apparatus of picture material
CN108737739A (en) A kind of preview screen acquisition method, preview screen harvester and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN105005599A (en) Photograph sharing method and mobile terminal
CN113315869B (en) Content display method, content display device, electronic equipment, content display system and storage medium
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN103701653B (en) The processing method of a kind of interface hot plug configuration data and network configuration server
CN109409979A (en) Virtual cosmetic method, device and equipment
CN107911547A (en) Interactive system, the method for interface layout
CN110928397B (en) User interface refreshing method and device, storage medium and electronic device
CN105871682A (en) Method and device for video call and terminal
WO2011068700A2 (en) Image-derived user interface enhancements
CN112925595A (en) Resource distribution method and device, electronic equipment and storage medium
CN106454195A (en) Anti-peeping method and system for video chats based on VR
CN105245438B (en) Content sharing method, device and system
CN112734661A (en) Image processing method and device
CN106454194B (en) Video method and system based on VR equipment
CN112929489B (en) Communication method and device
CN113114559B (en) Information display method, device and equipment
CN115794853A (en) Method and device for updating government affair data resource catalog, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170711

WD01 Invention patent application deemed withdrawn after publication