CN104598127B - A kind of method and device in dialog interface insertion expression - Google Patents

A kind of method and device in dialog interface insertion expression Download PDF

Info

Publication number
CN104598127B
CN104598127B CN201410857573.6A CN201410857573A CN104598127B CN 104598127 B CN104598127 B CN 104598127B CN 201410857573 A CN201410857573 A CN 201410857573A CN 104598127 B CN104598127 B CN 104598127B
Authority
CN
China
Prior art keywords
expression
emoticon
current
classification
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410857573.6A
Other languages
Chinese (zh)
Other versions
CN104598127A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410857573.6A priority Critical patent/CN104598127B/en
Publication of CN104598127A publication Critical patent/CN104598127A/en
Application granted granted Critical
Publication of CN104598127B publication Critical patent/CN104598127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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/174Facial expression recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to intelligent terminal field, more particularly to a kind of method and device in dialog interface insertion expression.This method includes:When obtaining expression input request, start camera and catch current user's facial expression image;Identify the current expression classification belonging to user's facial expression image;It is determined that simultaneously preferentially showing emoticon is preset corresponding to the current expression classification.Realize the expression of automatic identification active user by the present invention and preferentially show and emoticon is preset corresponding to current expression, reduce the range of choice of emoticon, the emoticon for facilitating user to select oneself to be inputted, simplify the selection flow that emoticon is inserted during message session, preferably application experience is brought to user so that intelligent terminal has more fashion and personalization.

Description

A kind of method and device in dialog interface insertion expression
Technical field
The present invention relates to intelligent terminal field, more particularly to a kind of method and device in dialog interface insertion expression.
Background technology
With the development of mobile communication technology, people are increasingly utilized terminal device and pass through SMS (Short Message Service, Short Message Service), the mode such as E-Mail (Electronic Mail, Email) carries out pen friends Stream, and some emoticons are inserted in the literature, play a part of an expression often and contain thousands and thousands of words.Frequently exchanging In, user increasingly likes transmitting mood and expression implication with emoticon, and current terminal device is calling emoticon Number when can not judge user want insertion emoticon, user need by select menu mode pass through in multiple expression storehouses The emoticon that oneself is wanted could be chosen by find, and this easily exchange way is complicated.
The method for selecting emoticon in the prior art is infelt for liking expressing oneself using emoticon It is excessively complicated for user, use very inconvenient also dumb, also can not embody the terminal device for possessing this function Personalization.Existing emoticon simultaneously, it is also not abundant enough in terms of content.Emoticon is terminal device written communication in itself A bright spot, but use upper inconvenience undoubtedly to weaken the shake-up that the function brings consuming public.
The content of the invention
The present invention provides a kind of method and device in dialog interface insertion expression, realizes the table of automatic identification active user Feelings simultaneously preferentially show default emoticon corresponding to current expression, reduce the range of choice of emoticon, simplify in message session During insert emoticon selection flow.
In a first aspect, the present invention provides a kind of method in dialog interface insertion expression, including:
When obtaining expression input request, start camera and catch current user's facial expression image;
Identify the current expression classification belonging to user's facial expression image;
It is determined that simultaneously preferentially showing emoticon is preset corresponding to the current expression classification.
Second aspect, the present invention provide a kind of device in dialog interface insertion expression, including:
Capture unit, for when obtaining expression input request, starting camera and catching current user's facial expression image;
Recognition unit, for identifying the current expression classification belonging to user's facial expression image;
Determining unit, emoticon is preset corresponding to the current expression classification for determining and preferentially showing.
The present invention provides a kind of method and device in dialog interface insertion expression, by obtaining expression input request When, start camera and catch current user's facial expression image;And identify the current expression classification belonging to user's facial expression image; It is determined that simultaneously preferentially showing emoticon is preset corresponding to the current expression classification.The present invention realizes automatic identification active user's Expression simultaneously preferentially shows default emoticon corresponding to current expression, reduces the range of choice of emoticon, facilitates user to select The emoticon oneself to be inputted, simplify the selection flow that emoticon is inserted during message session, brought more to user Good application experience so that intelligent terminal has more fashion and personalization.
Brief description of the drawings
Fig. 1 is the flow chart for the method in dialog interface insertion expression that first embodiment of the invention provides;
Fig. 2 is the flow chart for the method in dialog interface insertion expression that second embodiment of the invention provides;
Fig. 3 is the flow chart for the method in dialog interface insertion expression that third embodiment of the invention provides;
Fig. 4 is the flow chart for the method in dialog interface insertion expression that fourth embodiment of the invention provides;
Fig. 5 is the structural representation for the device in dialog interface insertion expression that fifth embodiment of the invention provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is only used for explaining the present invention, rather than limitation of the invention.It also should be noted that for the ease of Describe, part related to the present invention rather than full content are illustrate only in accompanying drawing.
First embodiment
Fig. 1 is the flow chart for the method in dialog interface insertion expression that first embodiment of the invention provides.The institute of reference picture 1 Show, the method in dialog interface insertion expression, comprise the following steps:
Step S110:When obtaining expression input request, start camera and catch active user's facial expression image.
During information session is carried out using intelligent terminal, if user wants input emoticon, clicks table is only needed Feelings library button.When intelligent terminal detects that expression library button is selected, that is, detect expression input request, triggering shooting Head (particularly front camera) starts, and catches the light of active user's face reflection, then passes through photo-sensitive cell (CCD or CMOS) The optical signal of collection is converted into electric signal.After the amplified processing of electric signal, be converted to by A/D modular converters and include use The data image signal of family facial characteristics and user's face expression information.The A/D modular converters of intelligent terminal are by the numeral The CPU that picture signal is sent to intelligent terminal uses for subsequent step.
Step S120:Identify the current expression classification belonging to user's facial expression image.
Data image signal corresponding to active user's facial expression image is obtained, by signal transacting, to the digitized map Signal as characterizing user's face feature in signal carries out geometrical normalization and gray scale normalization processing, then by facial characteristics Extraction and feature judge, determine current expression type corresponding to user's facial expression image.
Step S130:It is determined that simultaneously preferentially showing emoticon is preset corresponding to the current expression classification.
The default emoticon is defaulted in expression storehouse, forms expression with word and symbol or pattern is write to express A series of identifiers of the mood of person.Make table of the default emoticon represented by with it to the classification of default emoticon Feelings classification is corresponding, if it is determined that expression classification, it is possible to it is determined that simultaneously preferentially showing preset with the expression classification corresponding Emoticon.
It is provided in an embodiment of the present invention dialog interface insertion expression method, by obtain expression input request when, Start camera and catch active user's facial expression image;And identify the current expression classification belonging to user's facial expression image;According to Current expression classification determines corresponding default emoticon and preferentially shows the default emoticon.Pass through the above method Realize the expression of automatic identification active user and preferentially show and emoticon is preset corresponding to current expression, reduce emoticon Range of choice, the emoticon for facilitating user to select oneself to be inputted, simplify and emoticon is inserted during message session Flow is selected, preferably application experience is brought to user.
Second embodiment
Fig. 2 is the flow chart for the method in dialog interface insertion expression that second embodiment of the invention provides.It is described right The method of interface insertion expression is talked about based on first embodiment of the invention, further, user's facial expression image will be identified Affiliated current expression classification is specifically optimized for:The facial characteristics for active user's facial expression image that the camera is caught is extracted, The current expression classification belonging to user's facial expression image is determined by the facial characteristics.
Shown in reference picture 2, the method in dialog interface insertion expression, comprise the following steps:
Step S210:Data image signal corresponding to active user's facial expression image is obtained, and to the data image signal The middle signal for characterizing user's face feature is handled.
Data image signal corresponding to active user's facial expression image is obtained, and to characterizing user in the data image signal The signal of facial characteristics carries out geometrical normalization processing and gray scale normalization processing.The geometrical normalization processing is according to face Characteristic point and geometrical model determine rectangular characteristic region, then by cutting out to obtain the image that size is 150 × 100, make image Middle face transforms to same position and onesize.The gray scale normalization processing refers to carry out illumination compensation etc. to image Reason, the influence of illumination variation is reduced to a certain extent, is favorably improved discrimination.
Step S220:The facial characteristics generation facial image is extracted, the facial image is divided into symmetrical two halves, selected Select the larger half of face image of entropy.
The signal generation facial image of the sign user's face feature Jing Guo normalized is extracted, by the facial image It is cut into symmetrical two half of face images.Because the direction of light and brightness change, face mass part can be caused Information is lost, and shade occur in some places, and the change of at this moment illumination has a great influence to recognition result.But always there is half face bright Aobvious higher than another half intensity, this half of face shade is less, and the information of reservation is also more.Due to face have it is relative symmetrical Property, the information for having half facial image is redundancy, therefore, if only utilizing the half of face that brightness is higher, preservation information is more It is identified, it is possible to eliminate shadow interference and information loses the negative effect of second half more facial image, so as to improve Discrimination.In addition, only carrying out feature extraction with half of facial image, operand can be greatly reduced.
The entropy calculation formula of facial image is as follows:
Wherein, H (u) is the entropy of facial image, and i is pixel value, and p (i) is probabilities of occurrence of the pixel value i in picture.
The entropy for the left and right one side of something facial image being calculated more respectively through above-mentioned formula, select the larger one side of something of entropy Object of the facial image as feature extraction.
Step S230:The half of facial image larger to entropy carries out feature extraction to obtain Gabor characteristic.
The Gabor characteristic is obtained using Gabor function pairs target image (the larger half of facial image of entropy) processing The facial characteristics value with good time domain local characteristic and multiresolution features and zoom capabilities obtained.Entropy it is larger half Side facial image obtains Gabor characteristic by Gabor transformation.
Step S240:The Gabor characteristic is classified, calls face database to carry out aspect ratio pair, it is determined that described Current expression type corresponding to user's facial expression image.
The cascade classifier based on Adaboost algorithm is designed, classification throwing is carried out to the image in the face database of input Ticket, to judge expression classification, obtain current expression type corresponding to user's facial expression image.
The method for inserting expression in dialog interface provided by the present embodiment, by obtaining active user's facial expression image pair The data image signal answered, and the signal to characterizing user's face feature in the data image signal is handled;Extraction institute Facial characteristics generation facial image is stated, the facial image is divided into symmetrical two halves, selects the larger half of face image of entropy; And feature extraction is carried out to obtain Gabor characteristic to the larger half of facial image of entropy;The Gabor characteristic is divided Class, call face database to carry out aspect ratio pair, determine current expression type corresponding to user's facial expression image.By above-mentioned Method realizes the expression classification belonging to quick identification user's facial expression image.
3rd embodiment
Fig. 3 is the flow chart for the method in dialog interface insertion expression that third embodiment of the invention provides.It is described right The method of interface insertion expression is talked about based on first embodiment of the invention, further, shows the determination and preferentially institute Default emoticon corresponding to current expression classification is stated specifically to be optimized for:Obtain emoticon corresponding to the current expression classification Number;When the emoticon is not located at the top of expression selection page, adjusting the position of the emoticon makes it preferentially show.
Further, before it is determined that simultaneously preferentially showing default emoticon corresponding to the current expression classification, increase Following steps:According to the expression of emoticon expression, to the default expression classification of sign.
Shown in reference picture 3, the method in dialog interface insertion expression, comprise the following steps:
Step S310:According to the expression of emoticon expression, to the default expression classification of sign.
By the expression difference that the default emoticon in expression storehouse is expressed according to it be divided into excitement, it is glad, tranquil, sad, Cry, angry and surprised etc. multiple expression classes.
Step S320:Obtain emoticon corresponding to the current expression classification.
It is determined that after current expression classification belonging to user's facial expression image, expression storehouse is inquired about, is searched and current expression classification Corresponding expression class, obtain the emoticon in the expression class.
Step S330:Judge whether the emoticon is the emoticon that preferentially shows of expression selection page;If it is not, then hold Row step S340;If so, perform step S350.
Expression selection page is the page that emoticon in expression storehouse is shown in message session interface, can be according to setting Put the number that display condition presets the emoticon of every page of display.Generally, the display condition regulation frequency of use of acquiescence High emoticon is shown in the homepage of expression selection page.
After emoticon corresponding to the current expression classification is obtained, emoticon corresponding to current expression classification is inquired about Position in expression selects page, judge whether to need to update expression selection page according to Query Result.
Step S340:Adjusting the position of the emoticon makes it preferentially show, and continues executing with step S350.
When emoticon corresponding to current expression classification is not the emoticon that expression selection page is preferentially shown, judge to work as Whether the previous emoticon of emoticon corresponding to preceding expression classification is emoticon corresponding to current expression classification, if It is no, exchange position so that the sequence of emoticon adjusts forward a position corresponding to current expression classification, continue to compare until Untill emoticon corresponding to current expression classification is the emoticon of the preferential display of expression selection page.If current expression classification Corresponding emoticon has multiple, then repeats this step and emoticons corresponding to all current expression classifications are adjusted into table The emoticon of the preferential display of feelings selection page.
Step S350:Expression selection page is shown in dialog interface.
When emoticon corresponding to current expression classification is the emoticon that expression selection page is preferentially shown, on dialogue circle Face shows expression selection page;Otherwise, the position of emoticon corresponding to current expression classification is adjusted simultaneously according to described in step S340 After updating expression selection page, expression selection page is shown in dialog interface.
The method in dialog interface insertion expression that the present embodiment provides, by the default expression classification of sign, After obtaining and determining the current expression classification belonging to user's facial expression image, emoticon corresponding to the current expression classification is obtained Number;Judge whether the emoticon is the emoticon that preferentially shows of expression selection page, and renewal table is performed according to judged result Feelings select the operation of page;And show expression selection page in dialog interface.Realized by this method by belonging to user's facial expression image Emoticon corresponding to current expression classification is preferably displaying in expression selection page, facilitates user's selection and active user's real table Emoticon corresponding to feelings.
Fourth embodiment
Fig. 4 is the flow chart for the method in dialog interface insertion expression that fourth embodiment of the invention provides.It is described right The method of interface insertion expression is talked about based on first embodiment of the invention, further, increases following steps:By the user In expression storehouse belonging to the default emoticon of facial expression image deposit, and preferentially show user's facial expression image.
Shown in reference picture 4, the method in dialog interface insertion expression, comprise the following steps:
Step S410:When obtaining expression input request, start camera and catch current user's facial expression image.
When intelligent terminal detects expression input request, triggering camera (particularly front camera) starts, and passes through sense The optical signal of collection is converted into electric signal by optical element (CCD or CMOS).After the amplified processing of electric signal, changed by A/D Module is converted to the data image signal for including user's face feature and user's face expression information.
Step S420:User's facial expression image is stored in the expression storehouse belonging to default emoticon.
Include described in acquisition user's face feature and user's face expression information data image signal be stored in it is pre- If in the expression storehouse belonging to emoticon.
Step S430:Judge whether user's facial expression image is the emoticon that preferentially shows of expression selection page;If it is not, Then perform step S440;If so, perform step S450.
Judge user's facial expression image whether be expression selection page in sequence first emoticon, according to judged result Decide whether to update expression selection page.
Step S440:The position for adjusting user's facial expression image is located at the first place of expression selection page.
The emoticon for selecting sequence first in page with expression exchanges position so that the position of user's facial expression image makes It is located at the first place of expression selection page.
Step S450:Identify the current expression classification belonging to user's facial expression image.
When user's facial expression image is the emoticon of sequence first in expression selection page, continue executing with described in identification Current expression class operation belonging to user's facial expression image, that is, data image signal corresponding to active user's facial expression image is obtained, And the signal to characterizing user's face feature in the data image signal is handled;Extract the facial characteristics generation face Image, and feature extraction is carried out to obtain Gabor characteristic to the larger half of facial image of entropy;The Gabor characteristic is entered Row classification, calls face database to carry out aspect ratio pair, determines current expression type corresponding to user's facial expression image.
Step S460:Obtain emoticon corresponding to the current expression classification.
It is determined that after current expression classification belonging to user's facial expression image, inquire about expression storehouse, it is determined that with current expression classification Expression class belonging to corresponding default emoticon, obtain the emoticon in the expression class.
Step S470:Judge whether the emoticon is the emoticon that preferentially shows of expression selection page;If it is not, then hold Row step S480;Otherwise, step S490 is performed.
After emoticon corresponding to the current expression classification is obtained, emoticon corresponding to current expression classification is inquired about Position in expression selects page, judge whether to need to update expression selection page according to Query Result.
Step S480:Adjusting the position of the emoticon makes it preferentially be shown in expression selection page, and priority is low In user's facial expression image.
The priority of the emoticon is less than user's facial expression image.It is not expression selection page in the emoticon Preferential display emoticon when, first determine whether emoticon corresponding to current expression classification previous emoticon whether User's facial expression image, if it is not, judge again emoticon corresponding to the current expression classification previous emoticon whether It is emoticon corresponding to current expression classification, if it is not, exchanging position so that the row of emoticon corresponding to current expression classification Sequence adjusts forward a position.Whether the previous emoticon for continuing to judge emoticon corresponding to current expression classification is to work as Emoticon corresponding to preceding expression classification, if it is not, exchanging position, continue to compare according to the method described above, until current expression classification Untill the previous emoticon of corresponding emoticon is user's facial expression image.
If currently emoticon corresponding to expression classification has multiple, in the previous of emoticon corresponding to current expression classification When individual emoticon is user's facial expression image, continue to judge whether emoticon corresponding to other current expression classifications is expression choosing The emoticon that page is preferentially shown is selected, that is, repeats the previous emoticon for judging emoticon corresponding to current expression classification Number whether it is emoticon corresponding to current expression classification, will be corresponding to all currently expression classifications if it is not, exchange position step Emoticon is adjusted to the preferential display of expression selection page and priority is less than the emoticon of user's facial expression image.
Step S490:Expression selection page is shown in dialog interface.
When the emoticon is the emoticon that expression selection page is preferentially shown, expression selection is shown in dialog interface Page;Otherwise, it is made preferentially to be shown in expression selection page according to the position of the adjustment emoticon described in step S480, and it is excellent After first level is less than user's facial expression image, expression selection page is shown in dialog interface.
The method in dialog interface insertion expression that the present embodiment provides, by starting the current user of camera seizure Increase after facial expression image and user's facial expression image is stored in the expression storehouse belonging to default emoticon, and preferentially show institute The step of stating user's facial expression image, and determine the priority of user's facial expression image higher than current belonging to user's facial expression image Emoticon corresponding to expression classification.The current expression of quick shooting user is realized by this method and is stored in the mesh in expression storehouse , the material stored in expression storehouse is enriched, is easy to expression corresponding to the current true expression of user's selection or user's facial expression image Symbol inserts dialog interface.
As the present embodiment it is a kind of preferably dialog interface insertion expression mode be:
When intelligent terminal detects expression input request, triggering camera (particularly front camera) starts, and passes through sense The optical signal of collection is converted into electric signal by optical element (CCD or CMOS).After the amplified processing of electric signal, changed by A/D Module is converted to the data image signal for including user's face feature and user's face expression information.Included in the acquisition After the data image signal for having user's facial characteristics and user's face expression information, directly insertion should in message session application Characterize the data image signal of current user's expression and be sent to other participants of call.
This method is by when obtaining expression input request, starting camera and catching current user's expression and work as characterizing The data signal of preceding user's expression is sent to other participants of call, realizes quick obtaining and to send current user true The purpose of expression, add the interest of message session.
5th embodiment
Fig. 5 is the structural representation for the device in dialog interface insertion expression that fifth embodiment of the invention provides.Reference Shown in Fig. 5, the shown device in dialog interface insertion expression, it can include:
Capture unit 510, for when obtaining expression input request, starting camera and catching current user's expression figure Picture;
Recognition unit 530, for identifying the current expression classification belonging to user's facial expression image;
Determining unit 550, emoticon is preset corresponding to the current expression classification for determining and preferentially showing.
Further, the recognition unit 530 specifically can be used for:Extract active user's expression that the camera is caught The facial characteristics of image, the current expression classification belonging to user's facial expression image is determined by the facial characteristics.
Further, the determining unit 550 specifically can be used for:Obtain emoticon corresponding to the current expression classification Number;When the emoticon is not located at the top of expression selection page, adjusting the position of the emoticon makes it preferentially show.
Further, described device can also include:Taxon 540, for it is determined that simultaneously preferentially showing described current Before presetting emoticon corresponding to expression classification, according to the expression of emoticon expression, to the default expression classification of sign.
Further, described device can also include:Unit 520 is stored in, for when obtaining expression input request, starting After camera catches current user's facial expression image, user's facial expression image is stored in the expression belonging to default emoticon In storehouse, and preferentially show user's facial expression image.
What the above-mentioned device in dialog interface insertion expression can perform that the embodiment of the present invention provided inserts in dialog interface Enter the method for expression, possess the corresponding functional module of execution method and beneficial effect.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Will be appreciated by those skilled in the art that above-mentioned each module of the invention or each step can use general meter Device is calculated to realize, they can be concentrated on single computing device, or are distributed in the network that multiple computing devices are formed On, alternatively, they can be realized with the program code that computer installation can perform, so as to be stored in storage Performed in device by computing device, they are either fabricated to each integrated circuit modules respectively or will be more in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention be not restricted to any specific hardware and The combination of software.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, same or analogous part between each embodiment mutually referring to.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for those skilled in the art For, the present invention can have various changes and change.All any modifications made within spirit and principles of the present invention, it is equal Replace, improve etc., it should be included in the scope of the protection.

Claims (4)

  1. A kind of 1. method in dialog interface insertion expression, it is characterised in that including:
    When obtaining expression input request, start camera and catch current user's facial expression image;
    Facial characteristics generation facial image is extracted, the facial image is divided into symmetrical two halves, selects the larger one side of something of entropy Face image, the half of facial image larger to entropy carry out feature extraction to obtain Gabor characteristic;The Gabor characteristic is entered Row classification, calls face database to carry out aspect ratio pair, determines current expression type corresponding to user's facial expression image;
    According to the expression of emoticon expression, to presetting expression classification of sign;
    Emoticon corresponding to the current expression classification is obtained, the top of expression selection page is not located in the emoticon When, adjusting the position of the emoticon makes it preferentially show, wherein, it is included in emoticon corresponding to current expression classification not When being the emoticon that expression selection page is preferentially shown, the previous emoticon of emoticon corresponding to current expression classification is judged Number whether it is emoticon corresponding to current expression classification, if it is not, exchanging position so that emoticon corresponding to current expression classification Number sequence adjust a position forward.
  2. 2. according to the method for claim 1, it is characterised in that described to be not located at expression selection page in the emoticon During top, adjusting the position of the emoticon and it is preferentially shown also includes:
    When not being the emoticon of the preferential display of expression selection page in the emoticon, current expression classification pair is first determined whether Whether the previous expression for the emoticon answered is user's facial expression image, if it is not, judging again corresponding to the current expression classification Whether the previous emoticon of emoticon is emoticon corresponding to current expression classification, if it is not, exchanging position so that when The sequence of emoticon adjusts forward a position corresponding to preceding expression classification.
  3. A kind of 3. device in dialog interface insertion expression, it is characterised in that including:
    Capture unit, for when obtaining expression input request, starting camera and catching current user's facial expression image;
    Recognition unit, for extracting facial characteristics generation facial image, the facial image is divided into symmetrical two halves, selective entropy It is worth larger half of face image, the half of facial image larger to entropy carries out feature extraction to obtain Gabor characteristic;To described Gabor characteristic is classified, and is called face database to carry out aspect ratio pair, is determined current table corresponding to user's facial expression image Feelings type;
    Taxon, for the expression according to emoticon expression, to presetting expression classification of sign;
    Determining unit, for obtaining the currently emoticon corresponding to expression classification, expression is not located in the emoticon When selecting the top of page, adjusting the position of the emoticon makes it preferentially show, is included in table corresponding to current expression classification When feelings symbol is not the emoticon that expression selection page is preferentially shown, the previous of emoticon corresponding to current expression classification is judged Whether individual emoticon is emoticon corresponding to current expression classification, if it is not, exchanging position so that current expression classification is corresponding The sequence of emoticon adjust a position forward.
  4. 4. device according to claim 3, it is characterised in that the determining unit is additionally operable to:
    When not being the emoticon of the preferential display of expression selection page in the emoticon, current expression classification pair is first determined whether Whether the previous expression for the emoticon answered is user's facial expression image, if it is not, judging again corresponding to the current expression classification Whether the previous emoticon of emoticon is emoticon corresponding to current expression classification, if it is not, exchanging position so that when The sequence of emoticon adjusts forward a position corresponding to preceding expression classification.
CN201410857573.6A 2014-12-31 2014-12-31 A kind of method and device in dialog interface insertion expression Active CN104598127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410857573.6A CN104598127B (en) 2014-12-31 2014-12-31 A kind of method and device in dialog interface insertion expression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410857573.6A CN104598127B (en) 2014-12-31 2014-12-31 A kind of method and device in dialog interface insertion expression

Publications (2)

Publication Number Publication Date
CN104598127A CN104598127A (en) 2015-05-06
CN104598127B true CN104598127B (en) 2018-01-26

Family

ID=53123957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410857573.6A Active CN104598127B (en) 2014-12-31 2014-12-31 A kind of method and device in dialog interface insertion expression

Country Status (1)

Country Link
CN (1) CN104598127B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447164A (en) * 2015-12-02 2016-03-30 小天才科技有限公司 Method and apparatus for automatically pushing chat expressions
CN106339103A (en) * 2016-08-15 2017-01-18 珠海市魅族科技有限公司 Image checking method and device
CN106503744A (en) * 2016-10-26 2017-03-15 长沙军鸽软件有限公司 Input expression in chat process carries out the method and device of automatic error-correcting
CN107451560B (en) * 2017-07-31 2020-05-19 Oppo广东移动通信有限公司 User expression recognition method and device and terminal
CN107634901B (en) * 2017-09-19 2020-07-07 广东小天才科技有限公司 Session expression pushing method and device and terminal equipment
CN107784114A (en) * 2017-11-09 2018-03-09 广东欧珀移动通信有限公司 Recommendation method, apparatus, terminal and the storage medium of facial expression image
CN108038102B (en) * 2017-12-08 2021-05-04 北京小米移动软件有限公司 Method and device for recommending expression image, terminal and storage medium
WO2020006863A1 (en) * 2018-07-06 2020-01-09 平安科技(深圳)有限公司 Automatic approval comment input method and apparatus, computer device, and storage medium
CN111369645B (en) * 2020-02-28 2023-12-05 北京百度网讯科技有限公司 Expression information display method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530313A (en) * 2013-07-08 2014-01-22 北京百纳威尔科技有限公司 Searching method and device of application information
CN104063683A (en) * 2014-06-06 2014-09-24 北京搜狗科技发展有限公司 Expression input method and device based on face identification

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8037424B2 (en) * 2007-05-24 2011-10-11 Yahoo! Inc. Visual browsing system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530313A (en) * 2013-07-08 2014-01-22 北京百纳威尔科技有限公司 Searching method and device of application information
CN104063683A (en) * 2014-06-06 2014-09-24 北京搜狗科技发展有限公司 Expression input method and device based on face identification

Also Published As

Publication number Publication date
CN104598127A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104598127B (en) A kind of method and device in dialog interface insertion expression
US20180075065A1 (en) Automated image cropping and sharing
CN112840376B (en) Image processing method, device and equipment
CN111866392B (en) Shooting prompting method and device, storage medium and electronic equipment
CN103617432A (en) Method and device for recognizing scenes
CN105426497A (en) Automatic classification method and system for photo album in intelligent terminal
CN110012210A (en) Photographic method, device, storage medium and electronic equipment
CN113194255A (en) Shooting method and device and electronic equipment
CN104506946B (en) A kind of TV programme recognition methods and system based on image recognition
US20160156854A1 (en) Image processing method and apparatus, and electronic device
CN112565599A (en) Image shooting method and device, electronic equipment, server and storage medium
CN109325518A (en) Classification method, device, electronic equipment and the computer readable storage medium of image
CN108647096A (en) Method of adjustment, device, storage medium and the mobile terminal of system resource configuration
CN110929063A (en) Album generating method, terminal device and computer readable storage medium
CN108228852A (en) The method, apparatus and computer readable storage medium of electron album cover generation
CN110019897B (en) Method and device for displaying picture
CN104765796A (en) Image recognizing searching method and device
CN113192081B (en) Image recognition method, image recognition device, electronic device and computer-readable storage medium
CN108596241B (en) Method for quickly classifying user genders based on multidimensional sensing data
US20170171462A1 (en) Image Collection Method, Information Push Method and Electronic Device, and Mobile Phone
CN108495038B (en) Image processing method, image processing device, storage medium and electronic equipment
CN108062405B (en) Picture classification method and device, storage medium and electronic equipment
CN105787496A (en) Data collection method and electronic device
CN109510897A (en) A kind of expression picture management method and mobile terminal
CN112149653B (en) Information processing method, information processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.