CN106875460A - A kind of picture countenance synthesis method and terminal - Google Patents

A kind of picture countenance synthesis method and terminal Download PDF

Info

Publication number
CN106875460A
CN106875460A CN201611222953.8A CN201611222953A CN106875460A CN 106875460 A CN106875460 A CN 106875460A CN 201611222953 A CN201611222953 A CN 201611222953A CN 106875460 A CN106875460 A CN 106875460A
Authority
CN
China
Prior art keywords
picture
expression
face
original expression
information
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.)
Withdrawn
Application number
CN201611222953.8A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201611222953.8A priority Critical patent/CN106875460A/en
Publication of CN106875460A publication Critical patent/CN106875460A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • 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/161Detection; Localisation; Normalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the present invention discloses a kind of picture countenance synthesis method and terminal, and the method includes:Picture is obtained, whether identification picture includes face information;If so, extracting face information;Original expression is obtained, the facial information in original expression is replaced with face information, synthesising picture expression.Implementing the embodiment of the present invention can meet demand of the user to expression.

Description

A kind of picture countenance synthesis method and terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of picture countenance synthesis method and terminal.
Background technology
At present, various social softwares (such as wechat, QQ) are emerged in an endless stream, and the form of social software chat is also varied, Mainly have word, voice, expression, small video etc., wherein, expression be most can expressed in abundance intension form, many users like Vigorously chatted using some conventional chatting facial expressions, expression can express the meaning to be expressed of many words.However, social The expression limited amount that software is carried, it is impossible to meet the use demand of user.
The content of the invention
The embodiment of the invention discloses a kind of picture countenance synthesis method and terminal, expression can be closed with picture Into generation picture expression meets demand of the user to expression.
Embodiment of the present invention first aspect discloses a kind of picture countenance synthesis method, including:
Picture is obtained, recognizes whether the picture includes face information;
If so, extracting the face information;
Original expression is obtained, the facial information in the original expression is replaced with the face information, composite diagram Piece is expressed one's feelings.
Embodiment of the present invention second aspect discloses a kind of terminal, including:
First acquisition unit, for obtaining picture;
Recognition unit, for recognizing the picture whether comprising face information;
Extraction unit, for when the recognition unit recognition result is to be, extracting the face information;
Second acquisition unit, for obtaining original expression;
Synthesis unit, for the facial information in the original expression to be replaced with the face information, composite diagram Piece is expressed one's feelings.
In the embodiment of the present invention, terminal can be synthesized picture with expression, synthesising picture expression, and enriching user can The expression for using, enhancing user meets demand of the user to expression using the interest of expression.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings Figure.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of picture countenance synthesis method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another picture countenance synthesis method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of synthesising picture expression disclosed in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another synthesising picture expression disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another terminal disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another terminal disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
The embodiment of the invention discloses a kind of picture countenance synthesis method and terminal, expression can be closed with picture Into generation picture expression meets demand of the user to expression.It is described in detail individually below.
In order to be better understood from the embodiment of the present invention, first a kind of network architecture disclosed in the embodiment of the present invention is carried out below Description.Fig. 1 is referred to, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.In the network architecture shown in Fig. 1 In, terminal and receiving device can be included, wherein, terminal can wirelessly (such as WI-FI, bluetooth) or wired mode with Receiving device is communicated to connect.In Fig. 1 wirelessly as a example by, in the network architecture shown in Fig. 1, terminal and receiving device can be with Including cell phone, panel computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), Intelligent worn device (such as intelligent watch, intelligence Bracelet) etc. all kinds of terminal devices with display, the embodiment of the present invention is not construed as limiting.In the embodiment of the present invention, user A can be with Messaging chat is carried out with user B, when being chatted between the receiving device that user A is used by terminal and user B, user A can be to User B sends picture expression.By implementing the network architecture shown in Fig. 1, demand of the user to expression can be met.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow sheet of picture countenance synthesis method disclosed in the embodiment of the present invention.Such as Shown in Fig. 2, the picture countenance synthesis method comprises the following steps.
201, terminal obtains picture, and whether identification picture includes face information.If so, step 202 is then performed, if it is not, then Perform step 204.
In the embodiment of the present invention, face information can be the facial information of people, the face letter such as including eye, eyebrow, nose, mouth Breath.Whether terminal includes face information in can recognizing picture by face recognition algorithms.For example, in can be by extracting picture Face characteristic information, judge whether the face characteristic information matches with default face template feature, if matching, perform step Rapid 202.The mode that terminal obtains picture has varied.Obtained in the picture library that terminal can be stored from memory, terminal Camera can also be started and shoot picture, terminal can also be chatted using social software (such as wechat, QQ) with other users When receive other users send picture, terminal can also from network download pictures, etc..
Optionally, picture includes following at least one:The picture of current chat object, the picture of shooting and the figure of reception Piece.
Wherein, when user A is chatted using wechat in terminal with user B, user A can obtain the wechat head of user B As (picture of current chat object).When user A is chatted using wechat in terminal with user B, user A can be carried out certainly Clap, or shoot other people photo, obtain the photo for shooting.When user A is chatted using wechat in terminal with user B, User A can receive the picture of user B transmissions, can also receive the figure of other users (for example, user C, user D etc.) transmission Piece.
202, terminal extracts face information.
In the embodiment of the present invention, after terminal recognition goes out picture comprising face information, face information, people are extracted from picture Face information can include face characteristic information, it is also possible to including face picture information.
Optionally, step 202 can include:
Terminal determines the human face region in picture, and face information is extracted from human face region.
Wherein, after terminal recognition goes out picture comprising face information, terminal can determine the human face region in picture, and Face information is extracted from human face region.Terminal can determine human face region using face recognition algorithms, can be true according to demand Determine the human face region of rectangle human face region, circular human face region or other arbitrary shapes, and face is extracted from human face region Information, face information can be face characteristic information, for example, the face of people, nose, eyes etc..Human face region in picture There can be one or more, the embodiment of the present invention is not limited.
203, terminal obtains original expression, the facial information in original expression is replaced with face information, composite diagram Piece is expressed one's feelings.
In the embodiment of the present invention, original expression is the expression in the expression storehouse of offer in social software, or user Expression in the expression storehouse of itself collection.Terminal can obtain one or more original expressions, by the face's letter in original expression Face information in breath picture is replaced, synthesising picture expression.Facial information can be typically included in original expression, for example, In QQ expressions, the expression such as " smile ", " naughty ", " indignation " all includes facial information.By QQ expression as a example by, terminal can directly by Subregion (facial information) in QQ expressions is replaced with the face part (face information) in picture, synthesising picture table Feelings.Terminal QQ can also be expressed one's feelings in face characteristic information of the subregion (for example, region such as eyes, nose) in picture (for example, eyes, the nasal portion of face etc.) in picture is replaced, and synthesising picture is expressed one's feelings (for example, during can QQ be expressed one's feelings Eyes picture in eyes be replaced, the nose in nose picture during QQ is expressed one's feelings is replaced).Terminal may be used also Processed (for example, gray scale with by the face characteristic information (for example, eyes, nasal portion of the face in picture) in picture Change is processed), the face information after being processed, subregion (for example, region such as the eyes, nose) treatment during QQ is expressed one's feelings Face information afterwards is replaced, synthesising picture expression.
Optionally, step 203 can include:
Terminal determines the face area in original expression, and the facial information of face area is replaced with face information, Synthesising picture is expressed one's feelings.
Wherein, terminal can determine the face area in original expression, face according to the position of the face feature of original expression Portion region can be circle, rectangle etc..Terminal can be in picture human face region the size face that determines in original expression The size in portion region, and the facial information of face area is replaced with face information, synthesising picture expression.
204, terminal output prompt message, shown prompt message is used to point out user to select the picture with face head portrait.
In the embodiment of the present invention, when face information is not included in identifying picture, terminal can export prompt message, carry Show that information can be text prompt information, for example:Prompt message can be:" picture with face head portrait please be select ".Prompting Information can also be information of voice prompt, for pointing out user to select the picture with face head portrait.
Implement the method shown in Fig. 2, terminal can be synthesized picture with expression, synthesising picture expression enriches use The usable expression in family, enhancing user meets demand of the user to expression using the interest of expression.
Fig. 3 is referred to, Fig. 3 is the schematic flow sheet of another picture countenance synthesis method disclosed in the embodiment of the present invention. As shown in figure 3, the picture countenance synthesis method comprises the following steps.
301, terminal obtains picture, and whether identification picture includes face information.If so, step 302 is then performed, if it is not, then Perform step 306.
302, terminal extracts face information.
303, terminal receives at least one original expression of the keyword of input, output and Keywords matching.
In the embodiment of the present invention, terminal can obtain original expression according to the keyword of input, for example, user input " pig ", then terminal can export at least one original expression matched with " pig ";User input " dog ", then terminal can export and " dog " At least one original expression of matching;User input " books ", then to export at least one matched with " books " original for terminal Expression, etc..
304, terminal receives the selection instruction for the first original expression, obtains the first original expression, the first original expression It is any one at least one original expression.
In the embodiment of the present invention, after at least one original expression of terminal output and Keywords matching, user can select Select is carried out with any one at least one of Keywords matching original expression, the original expression of selection one with the face in picture Synthesis.Specifically, after at least one original expression of terminal output and Keywords matching, user can manually select and click on certain One original expression is selected.
305, with face information be replaced the facial information in original expression by terminal, synthesising picture expression.
306, terminal output prompt message, shown prompt message is used to point out user to select the picture with face head portrait.
Step 301 in the embodiment of the present invention and step 302 may refer to step 201 shown in Fig. 2 to step 202, step Rapid 306 may refer to the step 204 shown in Fig. 2, and the embodiment of the present invention is repeated no more.It should be noted that the embodiment of the present invention In step 301- steps 302, step 303- steps 304 can be with executed in parallel, it is also possible to first carry out step 301- steps 302, Then step 303- steps 304 are performed, or first carries out step 303- steps 304, then perform step 301- steps 302, this Inventive embodiments are not limited.
Illustrated with reference to specific application scenarios.
In an application scenarios, with face information be replaced the facial information in original expression by terminal, composite diagram Piece expression is specifically as follows:Be replaced for human face region in face area picture in original expression by terminal, composite diagram Piece is expressed one's feelings.Directly by the way of picture replacement, the synthetic method of picture expression is simple, easy to use.Fig. 4 is referred to, Fig. 4 is A kind of schematic flow sheet of synthesising picture expression disclosed in the embodiment of the present invention.User A uses social software (for example in terminal Wechat, QQ) with user B chatted when, user A can obtain picture (picture can be obtained from the picture library of terminal, Can also when user B issue oneself, can also be what user A was shot using the camera head of terminal, can also be user B's QQ images, wechat image etc.).In Fig. 4, when being chatted with user B using wechat, shown in such as Fig. 4 (a), user A enters user A The address list interface of wechat, selects the wechat head portrait of a certain user (for example, user B), and shown in such as Fig. 4 (b), then user B's is micro- Believe that head portrait amplifies to show, and prompting word is exported below the wechat head portrait of user B (" please in moving that lower section input to be become Thing "), now user A is input into keyword (" pig "), such as shown in Fig. 4 (c), then multiple expressions matched with " pig ", selection occurs One of expression, shown in such as Fig. 4 (d), then output synthesizes expression.
In another application scenarios, with face information be replaced the facial information in original expression by terminal, synthesis Picture expression is specifically as follows:Face characteristic information in picture is also processed (for example, gray processing treatment) by terminal, is obtained Be replaced for face information after face area treatment in original expression by the face information after treatment, terminal, composite diagram Piece is expressed one's feelings.Face information in picture is synthesized with expression after treatment, the synthesis expression for obtaining is more natural, synthesis Effect is more preferable.Fig. 5 is referred to, Fig. 5 is the schematic flow sheet of another synthesising picture expression disclosed in the embodiment of the present invention.Fig. 5 In, when being chatted with user B using wechat, shown in such as Fig. 5 (a), user A enters the address list interface of wechat to user A, selects certain The wechat head portrait of one user (for example, user B), shown in such as Fig. 5 (b), then the wechat head portrait of user B amplifies and shows, and Prompting word (" being please input into the animal to be become in lower section "), now user A inputs keyword are exported below the wechat head portrait of user B (" pig "), such as shown in Fig. 5 (c), then occurs multiple expressions matched with " pig ", the one of expression of selection, such as Fig. 5 (d) Shown, then output synthesis expression (is first processed the face characteristic information of wechat head portrait, the face letter after being processed , then be replaced for the face information after the face area treatment in the expression of selection, synthesising picture expression by breath).
Method shown in implementing Fig. 3, terminal can be by the original expression of keyword match of input, can be by picture and choosing The original expression selected is synthesized, synthesising picture expression, enriches the expression that user can be used, and enhancing user uses the interest expressed one's feelings Taste, meets demand of the user to expression.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of terminal disclosed in the embodiment of the present invention.As shown in fig. 6, the end End includes first acquisition unit 601, recognition unit 602, extraction unit 603, second acquisition unit 604 and synthesis unit 605.
First acquisition unit 601, for obtaining picture.
Recognition unit 602, for recognizing the picture whether comprising face information.
Extraction unit 603, for when the recognition unit recognition result is to be, extracting the face information.
Second acquisition unit 604, for obtaining original expression.
Synthesis unit 605, for the facial information in the original expression to be replaced with the face information, synthesis Picture is expressed one's feelings.
Implement the terminal shown in Fig. 6, picture can be synthesized with expression, synthesising picture expression, enriching user can The expression for using, enhancing user meets demand of the user to expression using the interest of expression.
Based on same inventive concept, due to the picture table in the principle and the inventive method embodiment of the terminal solve problem Feelings synthetic method is similar, therefore the implementation of the terminal may refer to the implementation of method shown in Fig. 2-Fig. 5, repeats part and no longer goes to live in the household of one's in-laws on getting married State.
Fig. 7 is referred to, Fig. 7 is the structural representation of another terminal disclosed in the embodiment of the present invention.Terminal shown in Fig. 7 Including at least one processor 701, at least one memory 702 and network interface 703, processor 701, memory 702 and net Network interface 703 is connected by communication bus 704, and processor 701 can be CPU, and memory 702 is used for storage program area, net Network signal procedure, user interface program, transmission SRS programs etc.;Network interface 703 is used to receive and send data.Memory 702 Can be high-speed RAM memory, or non-labile memory (non-volatile memory), for example, at least one Individual magnetic disk storage.Memory 702 optionally can also be at least one storage device for being located remotely from aforementioned processor 701. Terminal shown in Fig. 7 can also include input equipment 705 and output equipment 706, wherein, input equipment 705 can include touch-control Panel, physical button or mouse, the operational order for receiving user input.Output equipment 706 can include display screen, use Synthesis expression in the embodiment of the present invention is shown.
Memory 702 can be used for store instruction and data, and memory 702 can mainly include store instruction area and data storage Area, wherein, instruction that store instruction area can be needed for storage program area, at least one function etc.;Above-mentioned instruction can make processor 702 perform following methods, and specific method includes:
Picture is obtained, whether identification picture includes face information;
If so, extracting face information;
Original expression is obtained, the facial information in original expression is replaced with face information, synthesising picture expression.
Optionally, picture includes following at least one:The picture of current chat object, the picture of shooting and the figure of reception Piece.
Optionally, processor 702 extracts face information, specially:
Determine the human face region in picture, face information is extracted from human face region.
Optionally, processor 702 is additionally operable to,
Receive at least one original expression of the keyword of input, output and Keywords matching;
Obtaining original expression includes:
The selection instruction for the first original expression is received, the first original expression is obtained, the first original expression is at least one Any one in individual original expression.
Optionally, with face information be replaced the facial information in original expression by processor 702, synthesising picture table Feelings, specially:
Determine the face area in original expression, the facial information of face area is replaced with face information, synthesize Picture is expressed one's feelings.
By implementing the terminal shown in Fig. 7, picture can be synthesized with expression, synthesising picture expression enriches use The usable expression in family, enhancing user meets demand of the user to expression using the interest of expression.
The embodiment of the present invention additionally provides another terminal, refers to Fig. 8, and Fig. 8 is another disclosed in the embodiment of the present invention The structural representation of terminal is planted, as shown in figure 8, for convenience of description, illustrate only the part related to the embodiment of the present invention, is had Body technique details is not disclosed, and refer to present invention method part.The terminal can be include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), car Any terminal device such as computer is carried, so that terminal is as mobile phone as an example.
Fig. 8 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure 8, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940, Sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980 and The grade part of power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 does not constitute the restriction to mobile phone, Part more more or less than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 8.
RF circuits 910 can be used for the reception of information and transmission.Generally, RF circuits 910 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used to store software program and module, and processor 980 is by running storage in memory 920 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (programs of picture Expression synthesis etc.) etc.;Storage data field can be stored and use created data (such as former according to mobile phone Begin expression etc.) etc..Additionally, memory 920 can include high-speed random access memory, non-volatile memories can also be included Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 930 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 930 may include fingerprint recognition module 931 and other are defeated Enter equipment 932.Fingerprint recognition module 931, can gather user's finger print data thereon.Except fingerprint recognition module 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One kind in screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Or it is various.
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although in fig. 8, fingerprint recognition module 931 and display screen 941 are to realize mobile phone as two independent parts Input and input function, but it is in some embodiments it is possible to fingerprint recognition module 931 is integrated and real with display screen 941 The input of existing mobile phone and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 951, proximity transducer can when mobile phone is moved in one's ear, close display screen 951 and/or Backlight.Used as one kind of motion sensor, (generally three axles) acceleration is big in the detectable all directions of accelerometer sensor It is small, size and the direction of gravity are can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Be can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 960 will can receive, is transferred to loudspeaker 961, and sound is converted to by loudspeaker 961 Signal is played;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to voice data, then after voice data playback process device 980 is processed, through RF circuits 910 to be sent to such as another mobile phone, Or play to memory 920 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 920 and/or module, and call storage in memory 920 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 980, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In embodiment shown in 2~Fig. 5 of earlier figures, the structure that each step method flow can be based on the mobile phone is realized.
In embodiment shown in earlier figures 6, the structure that each unit function can be based on the mobile phone is realized.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of of any picture countenance synthesis method described in the above method embodiment when program is performed Step.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces, Can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part or technical scheme contributed to prior art all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are used to so that a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or computer-readable any other medium of data storage.
A kind of picture countenance synthesis method and terminal disclosed in the embodiment of the present invention are described in detail above, herein In apply specific case principle of the invention and implementation method be set forth, the explanation of above example is only intended to side Assistant solves the method for the present invention and its core concept;Simultaneously for those of ordinary skill in the art, according to think of of the invention Think, will change in specific embodiments and applications, in sum, it is right that this specification content should not be construed as Limitation of the invention.

Claims (10)

1. a kind of picture countenance synthesis method, it is characterised in that including:
Picture is obtained, recognizes whether the picture includes face information;
If so, extracting the face information;
Original expression is obtained, the facial information in the original expression is replaced with the face information, synthesising picture table Feelings.
2. method according to claim 1, it is characterised in that the picture includes following at least one:Current chat pair The picture of elephant, the picture of shooting and the picture of reception.
3. method according to claim 1 and 2, it is characterised in that the extraction face information, including:
Determine the human face region in the picture, the face information is extracted from the human face region.
4. the method according to claim any one of 1-3, it is characterised in that the original expression of acquisition, before, the side Method also includes:
Receive the keyword of input, output and at least one of the Keywords matching original expression;
The original expression of acquisition includes:
The selection instruction for the first original expression is received, the first original expression is obtained, the first original expression is institute State any one at least one original expression.
5. the method according to claim any one of 1-4, it is characterised in that the face's letter by the original expression Breath is replaced with the face information, synthesising picture expression, including:
Determine the face area in the original expression, the facial information of the face area is replaced with the face information Change, synthesising picture expression.
6. a kind of terminal, it is characterised in that including:
First acquisition unit, for obtaining picture;
Recognition unit, for recognizing the picture whether comprising face information;
Extraction unit, for when the recognition unit recognition result is to be, extracting the face information;
Second acquisition unit, for obtaining original expression;
Synthesis unit, for the facial information in the original expression to be replaced with the face information, synthesising picture table Feelings.
7. terminal according to claim 6, it is characterised in that the picture includes following at least one:Current chat pair The picture of elephant, the picture of shooting and the picture of reception.
8. the terminal according to claim 6 or 7, it is characterised in that the extraction unit extracts the side of the face information Formula is specially:
The extraction unit determines the human face region in the picture, and the face information is extracted from the human face region.
9. the terminal according to claim any one of 6-8, it is characterised in that the terminal also includes:
Receiving unit, the keyword for receiving input;
Output unit, for exporting and at least one of the Keywords matching original expression;
The second acquisition unit includes:
Receiving subelement, for receiving the selection instruction for the first original expression;
Subelement is obtained, for obtaining the described first original expression, the first original expression is at least one original table Any one in feelings.
10. the terminal according to claim any one of 6-9, it is characterised in that the synthesis unit is by the original expression In facial information be replaced with the face information, synthesising picture expression mode be specially:
The synthesis unit determines the face area in the original expression, and the facial information of the face area is used into the people Face information is replaced, synthesising picture expression.
CN201611222953.8A 2016-12-27 2016-12-27 A kind of picture countenance synthesis method and terminal Withdrawn CN106875460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611222953.8A CN106875460A (en) 2016-12-27 2016-12-27 A kind of picture countenance synthesis method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611222953.8A CN106875460A (en) 2016-12-27 2016-12-27 A kind of picture countenance synthesis method and terminal

Publications (1)

Publication Number Publication Date
CN106875460A true CN106875460A (en) 2017-06-20

Family

ID=59165033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611222953.8A Withdrawn CN106875460A (en) 2016-12-27 2016-12-27 A kind of picture countenance synthesis method and terminal

Country Status (1)

Country Link
CN (1) CN106875460A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909631A (en) * 2017-11-29 2018-04-13 商派软件有限公司 A kind of picture synthetic method
CN108388557A (en) * 2018-02-06 2018-08-10 腾讯科技(深圳)有限公司 Message treatment method, device, computer equipment and storage medium
CN109166164A (en) * 2018-07-25 2019-01-08 维沃移动通信有限公司 A kind of generation method and terminal of expression picture
CN109658278A (en) * 2018-12-14 2019-04-19 北京智明星通科技股份有限公司 Interactive approach, interaction systems and mobile terminal on line based on wechat platform
CN109948093A (en) * 2017-07-18 2019-06-28 腾讯科技(深圳)有限公司 Expression picture generation method, device and electronic equipment
CN110033291A (en) * 2018-01-12 2019-07-19 北京京东金融科技控股有限公司 Information object method for pushing, device and system
CN110222567A (en) * 2019-04-30 2019-09-10 维沃移动通信有限公司 A kind of image processing method and equipment
CN111541950A (en) * 2020-05-07 2020-08-14 腾讯科技(深圳)有限公司 Expression generation method and device, electronic equipment and storage medium
CN114092608A (en) * 2021-11-17 2022-02-25 广州博冠信息科技有限公司 Expression processing method and device, computer readable storage medium and electronic equipment
CN114816599A (en) * 2021-01-22 2022-07-29 北京字跳网络技术有限公司 Image display method, apparatus, device and medium
CN114880062A (en) * 2022-05-30 2022-08-09 网易(杭州)网络有限公司 Chat expression display method and device, electronic device and storage medium
WO2023103577A1 (en) * 2021-12-08 2023-06-15 腾讯科技(深圳)有限公司 Method and apparatus for generating target conversation emoji, computing device, computer readable storage medium, and computer program product

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948093A (en) * 2017-07-18 2019-06-28 腾讯科技(深圳)有限公司 Expression picture generation method, device and electronic equipment
CN107909631A (en) * 2017-11-29 2018-04-13 商派软件有限公司 A kind of picture synthetic method
CN110033291A (en) * 2018-01-12 2019-07-19 北京京东金融科技控股有限公司 Information object method for pushing, device and system
CN108388557A (en) * 2018-02-06 2018-08-10 腾讯科技(深圳)有限公司 Message treatment method, device, computer equipment and storage medium
CN109166164A (en) * 2018-07-25 2019-01-08 维沃移动通信有限公司 A kind of generation method and terminal of expression picture
CN109658278A (en) * 2018-12-14 2019-04-19 北京智明星通科技股份有限公司 Interactive approach, interaction systems and mobile terminal on line based on wechat platform
CN110222567A (en) * 2019-04-30 2019-09-10 维沃移动通信有限公司 A kind of image processing method and equipment
CN111541950A (en) * 2020-05-07 2020-08-14 腾讯科技(深圳)有限公司 Expression generation method and device, electronic equipment and storage medium
CN111541950B (en) * 2020-05-07 2023-11-03 腾讯科技(深圳)有限公司 Expression generating method and device, electronic equipment and storage medium
CN114816599A (en) * 2021-01-22 2022-07-29 北京字跳网络技术有限公司 Image display method, apparatus, device and medium
CN114816599B (en) * 2021-01-22 2024-02-27 北京字跳网络技术有限公司 Image display method, device, equipment and medium
CN114092608A (en) * 2021-11-17 2022-02-25 广州博冠信息科技有限公司 Expression processing method and device, computer readable storage medium and electronic equipment
WO2023103577A1 (en) * 2021-12-08 2023-06-15 腾讯科技(深圳)有限公司 Method and apparatus for generating target conversation emoji, computing device, computer readable storage medium, and computer program product
CN114880062A (en) * 2022-05-30 2022-08-09 网易(杭州)网络有限公司 Chat expression display method and device, electronic device and storage medium
CN114880062B (en) * 2022-05-30 2023-11-14 网易(杭州)网络有限公司 Chat expression display method, device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN106875460A (en) A kind of picture countenance synthesis method and terminal
CN106055962B (en) A kind of solution lock control method and mobile terminal
CN106528745B (en) Method and device for recommending resources on mobile terminal and mobile terminal
CN110933511B (en) Video sharing method, electronic device and medium
CN110213504B (en) Video processing method, information sending method and related equipment
WO2021115351A1 (en) Method and device for making emoji
CN107977928B (en) Expression generation method and device, terminal and storage medium
CN108255970A (en) A kind of video retrieval method, terminal and computer readable storage medium
CN110740262A (en) Background music adding method and device and electronic equipment
CN106951170A (en) A kind of split screen treating method and apparatus of mobile terminal, mobile terminal
CN107341006A (en) Screen locking wallpaper recommends method and Related product
CN108509660A (en) A kind of broadcasting object recommendation method and terminal device
CN109660728B (en) Photographing method and device
CN107809526A (en) End application sorting technique, mobile terminal and computer-readable recording medium
CN107864353B (en) A kind of video recording method and mobile terminal
CN110662090B (en) Video processing method and system
CN107818787B (en) Voice information processing method, terminal and computer readable storage medium
CN107194732A (en) One kind application method for pushing, mobile terminal and computer-readable recording medium
CN107103074B (en) Processing method of shared information and mobile terminal
CN107592406A (en) Message display method, mobile terminal and the storage medium of mobile terminal
CN110196646A (en) A kind of data inputting method and mobile terminal
WO2018082225A1 (en) Terminal, and pet motion signal identification method and device
CN109257649B (en) Multimedia file generation method and terminal equipment
CN107368298A (en) A kind of text control simulation touch control method, terminal and computer-readable recording medium
CN107770450A (en) Image processing method, device and terminal device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170620

WW01 Invention patent application withdrawn after publication