CN108174095A - Photographic method, mobile terminal and computer-readable medium based on smiling face's identification - Google Patents

Photographic method, mobile terminal and computer-readable medium based on smiling face's identification Download PDF

Info

Publication number
CN108174095A
CN108174095A CN201711465986.XA CN201711465986A CN108174095A CN 108174095 A CN108174095 A CN 108174095A CN 201711465986 A CN201711465986 A CN 201711465986A CN 108174095 A CN108174095 A CN 108174095A
Authority
CN
China
Prior art keywords
image
smiling face
face
identification
smiling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711465986.XA
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711465986.XA priority Critical patent/CN108174095A/en
Publication of CN108174095A publication Critical patent/CN108174095A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The present invention discloses a kind of photographic method identified based on smiling face, mobile terminal and computer-readable medium, and the photographic method based on smiling face's identification includes the following steps:Acquisition is found a view all people's face image in picture;Judge whether include smiling face's image in the facial image got;If it is, judge whether the smiling face's image got is associated with photographing instruction;If it is, perform the photographing instruction.Technical scheme of the present invention, smiling face's image mode whether associated with photographing instruction in picture of being found a view by judgement determines whether to perform photographing instruction, compared to the existing shooting style based on smiling face's identification, the present invention is it is possible to prevente effectively from when more people take pictures, other people are not yet ready for the situation for completing to take pictures generation caused by recognizing smiling face's image and completing to take pictures at once;And then it can effectively be lifted under the exposal model of smiling face's identification, the quality of the photo of more people's group photos.

Description

Photographic method, mobile terminal and computer-readable medium based on smiling face's identification
Technical field
The present invention relates to field of terminal, more particularly to a kind of photographic method, mobile terminal and meter based on smiling face's identification Calculation machine readable medium.
Background technology
With the constantly universal and development of mobile terminal technology, various mobile terminals, such as mobile phone, tablet computer, a number Word assistant (Personal Digital Assistan, PDA) and intelligent wearable device become people's live and work can not The electronic equipment lacked.
All there is camera camera function usually in mobile terminal device, the camera in mobile terminal is due to its operation letter It is single, easy to use to receive liking for users.
It is used in order to facilitate user, the exposal model identified based on smiling face is typically provided in existing mobile terminal.It is described The principle of exposal model based on smiling face's identification is the smiling face's image identified by way of recognition of face in picture of finding a view, works as knowledge When being clipped to smiling face's image, photographing instruction is performed at once, realizes the shooting of photo.
However, this shooting style is but not applied for the shooting of more people's group photos.When more people take a group photo, due to number compared with More, when wherein a people reveals a joyful face, mobile terminal will perform photographing instruction at once, realize the shooting of photo, and at this moment its Other people may be not yet ready for, this is resulted in, and the photographic quality of group photo is not high, and owner could be obtained all by needing repeatedly to retake Satisfied group photo photo.
Based on the above problem, one kind is provided and is identified based on smiling face, but the technical solution that photographing instruction is controllable, just becomes one A demand.
Invention content
The main object of the present invention is to provide a kind of photographic method identified based on smiling face, mobile terminal and computer can Read medium, it is intended to realize the controllability of the photographing instruction identified based on smiling face, and then effectively promote the exposal model of smiling face's identification Under, the quality of the photo of more people's group photos.
To achieve the above object, the photographic method proposed by the present invention based on smiling face's identification, includes the following steps:
Acquisition is found a view all people's face image in picture;
Judge whether include smiling face's image in the facial image got;
If it is, judge whether the smiling face's image got is associated with photographing instruction;
If it is, perform the photographing instruction.
Optionally, include the step of all people's face image in the picture of finding a view:
Based on face identification method, all people's face image in picture of finding a view.
Optionally, the face identification method includes geometrical measurers, Local Features Analysis method, eigenfaces, springform Type and neural network.
Optionally, the smiling face's image step whether associated with photographing instruction for judging to get includes:
Whether the smiling face's image for judging to get includes preset image;
If it is, smiling face's image that judgement is got is associated with photographing instruction
Optionally, the step of whether the smiling face's image for judging to get includes preset image includes:
Whether the smiling face's image for judging to get matches with preset image;
If it is, smiling face's image that judgement is got includes preset image.
Optionally, it is described to judge that smiling face's image step whether associated with photographing instruction includes:
Judge whether position of the smiling face's image in the picture of finding a view is predeterminated position;
If it is, judge that smiling face's image is associated with photographing instruction.
Optionally, the predeterminated position is the position among the picture of finding a view.
Optionally, position of the predeterminated position for the picture forefront of finding a view.
In addition, to achieve these goals, the present invention also proposes a kind of mobile terminal, including memory, processor and deposits The program of taking pictures identified based on smiling face that can be run on the memory and on the processor is stored up, it is described to be known based on smiling face Other program of taking pictures realizes following steps when being performed by the processor:
Acquisition is found a view all people's face image in picture;
Judge whether include smiling face's image in the facial image got;
If it is, judge whether the smiling face's image got is associated with photographing instruction;
If it is, perform the photographing instruction.
In addition, to achieve these goals, the present invention also proposes a kind of computer-readable medium, computer-readable Jie The program of taking pictures identified based on smiling face is stored in matter, when the program of taking pictures based on smiling face's identification is performed by the processor Realize following steps:
Acquisition is found a view all people's face image in picture;
Judge whether include smiling face's image in the facial image got;
If it is, judge whether the smiling face's image got is associated with photographing instruction;
If it is, perform the photographing instruction.
Technical scheme of the present invention, the smiling face's image side whether associated with photographing instruction to be found a view by judgement in picture Formula determines whether to perform photographing instruction, of the invention it is possible to prevente effectively from more compared to the existing shooting style based on smiling face's identification When people takes pictures, other people are not yet ready for completing the shape taken pictures caused by recognizing smiling face's image and completing to take pictures at once Condition occurs;And then it can effectively be lifted under the exposal model of smiling face's identification, the quality of the photo of more people's group photos.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Structure according to these attached drawings obtains other attached drawings.
A kind of hardware architecture diagram of Fig. 1 mobile terminals of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the present invention is based on the flow charts of photographic method first embodiment that smiling face identifies;
Fig. 4 is one use state diagram of mobile terminal of the present invention;
Fig. 5 is the present invention is based on the flow charts of photographic method second embodiment that smiling face identifies;
Fig. 6 is flow chart the step of whether smiling face's image includes preset image is judged in Fig. 5;
Fig. 7 is the present invention is based on the flow charts of photographic method 3rd embodiment that smiling face identifies;
Fig. 8 is another use state diagram of mobile terminal of the present invention;
Fig. 9 is the another use state diagram of mobile terminal of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special For moving except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receive and send messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, handled to processor 110;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates Frequency unit 101 can also communicate with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotypes, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103 The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Display panel 1061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 107 can be used for receiving the number inputted or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system The LTE system united as universal mobile communications technology, the LTE system include the UE (User Equipment, the use that communicate connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
As shown in Figures 3 and 4, Fig. 3 is the present invention is based on the flow charts of photographic method first embodiment that smiling face identifies;Figure 4 be one use state diagram of mobile terminal of the present invention.
In the present embodiment, the photographic method based on smiling face's identification includes the following steps:
Step S310, it finds a view all people's face image in picture.
Specifically, in the present embodiment, the camera control method is mainly used in mobile terminal (for example, smart mobile phone Deng).
When user needs to be taken pictures by the mobile terminal, pass through the camera diagram on the mobile terminal first Mark, starts the application program of the corresponding camera, and the camera of the mobile terminal is aligned to personage to be captured, is allowed to It is shown in the display interface of the application program of the camera (what is shown on the display interface is the viewfinder image).So Afterwards, the facial image in the picture of finding a view is identified by way of recognition of face.Wherein, the recognition of face mode is specific Can be:
Mode based on geometric properties:Face is made of components such as eyes, nose, face, chins, just because of these components Shape, each species diversity in size and structure is just so that each face is multifarious in the world, therefore to the shape of these components The geometric description of shape and structural relation, can be as the important feature of recognition of face.Geometric properties are for face side earliest The description and identification of profile determine several significant points, and export one group of use by these significant points according to side profile curve first In characteristic measure such as distance, the angle of identification.Using geometric properties carry out front face identification generally by extraction human eye, The geometry of the vitals such as the position of the Important Characteristic Points such as mouth, nose and eyes is as characteristic of division.Deformable template method can To be considered as a kind of improvement of geometric properties method, basic thought is:The organ model for designing a Parameter adjustable is (i.e. deformable Template) energy function is defined, minimize energy function by adjusting model parameter, model parameter at this time is i.e. as this The geometric properties of organ.
Local Features Analysis mode (Local Face Analysis, LFA):The expression of principal component subspace is compact, spy Sign dimension substantially reduces, but it is delocalization, and the support of kernel function is extended in entire coordinate space, while it is non- Topology, the proximity at the point that is closed on after some axial projection and artwork image space midpoint does not have any relationship, and locality and opens up Flutterring property is ideal characteristic to pattern analysis and segmentation, it appears that this more meets the mechanism of Neural information processing, therefore searching has The expression of this characteristic is particularly significant.In view of this consideration, face characteristic extraction and recognition methods based on local feature are proposed.
Eigenface mode (Eigenface or PCA):Eigenface method is based on principal component analysis (principal Component analysis, abbreviation PCA) face identification method.The basic thought of feature sub-face technology is:From the sight of statistics Point finds the feature vector of the basic element of facial image distribution, i.e. facial image sample set covariance matrix, with this approx Characterize facial image.These feature vectors are known as eigenface
(Eigenface).In fact, eigenface reflects the knot for lying in information and face inside face sample set Structure relationship.The feature vector of sample set covariance matrix of eyes, cheek, lower jaw is known as eigen eyes, feature jaw and feature lip, It is referred to as sub-face of feature.Sub-face of feature generated subspace, referred to as sub-face space in corresponding image space.Calculate test image Window if video in window meets threshold value comparison condition, judges it for face in the projector distance of sub-face space.Feature based point The method of analysis, that is, the form parameter or classification of the relative ratios of face datum mark and other description face face features are joined Number etc. forms recognition feature vector together, and the topology that this identification based on whole face is not only remained between face component is closed System, and remains the information of each component in itself, and the identification based on component be then by extract local configuration information and Half-tone information designs specific recognizer.This method is the big of the first image surfaces such as determining eye iris, the wing of nose, corners of the mouth face profile Then the attributes such as small, position, distance calculate their geometric feature again, and these characteristic quantities form one and describe the image surface Feature vector.The practical core of its technology is " partial body's signature analysis " and " figure/nerve recognizer." this algorithm It is the method using each organ of human body face and characteristic portion.Geometrical relationship majority is such as corresponded to according to formation identification parameter and database In all initial parameter be compared, judge with confirming.
Mode based on elastic model:Facial image is modeled as deformable 3D surface meshes, so as to which face be matched Problem is converted into the Elastic Matching problem of deformable surface.Using the method march facial disfigurement of finite element analysis, and according to change The situation of shape judges whether two pictures are same person.
Neural network fashion (Neural Networks):Artificial neural network is a kind of Kind of Nonlinear Dynamical System, is had Good self-organizing, adaptive ability.Research of the neural network method in recognition of face at present is in the ascendant.One of which side Method is:50 pivots of face are extracted first, are then mapped it in 5 dimension spaces with auto-correlation neural network, then with one Common multilayer perceptron is differentiated.
Step S320, judge whether include smiling face's image in the facial image got.
Specifically, after all people's face image in identifying the picture of finding a view, judge be in the facial image It is no to include smiling face's image.Wherein, the identification method of smiling face's image can be:By the way that several training images are divided Class, label (for example laugh at, cry), is then input to neural network and is trained, to generate neural network model.By the face Image is input to the neural network model, and then identifies whether the facial image includes smiling face's image.If it gets When including smiling face's image in facial image, then step S330 is performed;If not including in the facial image got has smiling face During image, then return and perform step S310, all people's face image in the picture that continues to find a view, up to recognizing what is got Include smiling face's image in facial image.
Step S330, judge whether the smiling face's image got is associated with photographing instruction.
Specifically, after each facial image is got, and identify when including smiling face's image in the facial image, Each smiling face's image is analyzed, to determine whether smiling face's image is associated with the photographing instruction.Wherein, may be used Whether to be that the smiling face of donor schemes according to position of the smiling face's image in the picture of finding a view and smiling face's image The modes such as picture judge that smiling face's image thing is all associated with the photographing instruction.If smiling face's image and the finger of taking pictures When enabling associated, step S340 is performed;If smiling face's image is not associated with the photographing instruction, execution step is returned S310, all people's face image in the picture that continues to find a view, schemes until recognizing in the smiling face present in picture that finds a view As associated with the photographing instruction.
Step S340, the photographing instruction is performed.
Specifically, include smiling face's image when recognize the facial image in the picture of finding a view, and smiling face's image with When the photographing instruction is associated, the photographing instruction is performed, to complete to take pictures.
Whether the technical solution of the present embodiment, the smiling face's image found a view by judgement in picture are associated with photographing instruction Mode determines whether to perform photographing instruction, and compared to the existing shooting style based on smiling face's identification, the present invention can effectively keep away When exempting from more people and taking pictures, other people are not yet ready for completing to take pictures caused by recognizing smiling face's image and completing to take pictures at once Situation occur;And then it can effectively be lifted under the exposal model of smiling face's identification, the quality of the photo of more people's group photos.
Further, as shown in Figures 5 and 6, Fig. 5 is the photographic method second embodiment identified the present invention is based on smiling face Flow chart;Fig. 6 is flow chart the step of whether smiling face's image includes preset image is judged in Fig. 5.
In the present embodiment, the photographic method based on smiling face's identification includes the following steps:
Step S410, it finds a view all people's face image in picture.
Specifically, when user needs to be taken pictures by the mobile terminal, first by the mobile terminal Camera icon starts the application program of the corresponding camera, and the camera alignment of the mobile terminal is to be captured Personage, being allowed to be shown in the display interface of the application program of the camera, (what is shown on the display interface is described take Scape image).Then, the facial image in the picture of finding a view is identified by way of recognition of face.Wherein, the face is known Other mode is referring in particular to above-mentioned first embodiment, and details are not described herein.
Step S420, judge whether include smiling face's image in the facial image got.
Specifically, after all people's face image in identifying the picture of finding a view, judge be in the facial image It is no to include smiling face's image.Wherein, the identification method of smiling face's image can be:By the way that several training images are divided Class, label (for example laugh at, cry), is then input to neural network and is trained, to generate neural network model.By the face Image is input to the neural network model, and then identifies whether the facial image includes smiling face's image.If it gets When including smiling face's image in facial image, then step S430 is performed;If not including in the facial image got has smiling face During image, then return and perform step S410, all people's face image in the picture that continues to find a view, up to recognizing what is got Include smiling face's image in facial image.
Step S430, judge whether smiling face's image includes preset image.
Specifically, described judge that the step of whether smiling face's image includes preset image includes:
Step S431, judge whether smiling face's image matches with preset image.
Specifically, the preset image is pre-stored in mobile terminal, can be donor facial image or Smiling face's image.When the preset image is the facial image of donor, then judge whether smiling face's image is donor Smiling face's image, concrete mode can be by recognition of face mode to obtain the facial image, then pass through neural network Model judges whether the facial image is smiling face's image.If smiling face's image, then pass through the recognition of face mould again Formula judges the artificial same person of the mandate whether people that smiling face's image is shown shows with preset image, if it is, sentencing Fixed smiling face's image matches with preset image;If not, judge that smiling face's image is mismatched with preset image.When When the preset image is smiling face's image, then directly smiling face's image with preset image is compared, and then judged Whether smiling face's image matches with preset image.If smiling face's image matches with preset image, perform Step S432 judges that smiling face's image includes preset image;If smiling face's image is mismatched with preset image, Then perform step S433, judge smiling face's image do not include have preset image.When judging that it is pre- that smiling face's image includes If image when, perform step S440;When judging smiling face's image not comprising there is preset image, return performs step S410。
Step S440, photographing instruction is performed.
Specifically, include smiling face's image, and smiling face's image packet when recognizing the facial image in the picture of finding a view During containing preset image, the photographing instruction is performed, to complete to take pictures.
Whether the technical solution of the present embodiment, smiling face's image in picture of being found a view by judgement include the side of preset image Formula come determine whether perform photographing instruction, compared to it is existing based on smiling face identification shooting style, the present invention it is possible to prevente effectively from When more people take pictures, other people are not yet ready for completing what is taken pictures caused by recognizing smiling face's image and completing to take pictures at once Situation occurs;And then it can effectively be lifted under the exposal model of smiling face's identification, the quality of the photo of more people's group photos.
Further, as shown in Figure 7 to 9, Fig. 7 is the photographic method 3rd embodiment identified the present invention is based on smiling face Flow chart;Fig. 8 is another use state diagram of mobile terminal of the present invention;Fig. 9 is the another use state of mobile terminal of the present invention Schematic diagram.
In the present embodiment, the photographic method based on smiling face's identification includes the following steps:
Step S510, it finds a view all people's face image in picture.
Specifically, when user needs to be taken pictures by the mobile terminal, first by the mobile terminal Camera icon starts the application program of the corresponding camera, and the camera alignment of the mobile terminal is to be captured Personage, being allowed to be shown in the display interface of the application program of the camera, (what is shown on the display interface is described take Scape image).Then, the facial image in the picture of finding a view is identified by way of recognition of face.Wherein, the face is known Other mode is referring in particular to above-mentioned first embodiment, and details are not described herein.
Step S520, judge whether include smiling face's image in the facial image got.
Specifically, after all people's face image in identifying the picture of finding a view, judge be in the facial image It is no to include smiling face's image.Wherein, the identification method of smiling face's image can be:By the way that several training images are divided Class, label (for example laugh at, cry), is then input to neural network and is trained, to generate neural network model.By the face Image is input to the neural network model, and then identifies whether the facial image includes smiling face's image.If it gets When including smiling face's image in facial image, then step S530 is performed;If not including in the facial image got has smiling face During image, then return and perform step S510, all people's face image in the picture that continues to find a view, up to recognizing what is got Include smiling face's image in facial image.
Step S530, judge whether position of the smiling face's image in the picture of finding a view is predeterminated position.
Specifically, the predeterminated position is the position among the picture of finding a view or the position of forefront.For example, when three People takes a group photo, and when three people are arranged in a row (as shown in Figure 8), judges whether smiling face's image is centrally located (that is, sentencing Disconnected smiling face whether be intermediate people smiling face), if it is, judging that position of the smiling face's image in the picture of finding a view is Then predeterminated position performs step S540.If it is not, then judge that position of the smiling face's image not in the picture of finding a view is Predeterminated position is then back to and performs step S510, so recycles, until judging smiling face's image in the picture of finding a view Position is predeterminated position, then performs step S540.For another example, when three people take a group photo, and three people when being triangularly arranged (such as Shown in Fig. 8), then judge whether smiling face's image is located at forefront (that is, judging whether smiling face is that the people of forefront laughs at Face), if it is, judging that position of the smiling face's image in the picture of finding a view is predeterminated position, then perform step S540.If it is not, then judging that position of the smiling face's image not in the picture of finding a view is predeterminated position, it is then back to execution Step S510 is so recycled, until judging that position of the smiling face's image in the picture of finding a view is predeterminated position, is then held Row step S540.
Certainly, the predeterminated position is not limited to the position of the position or forefront among the picture of finding a view of foregoing description It puts, can also be the position of user's sets itself, user to be facilitated to take a group photo.For example, most front-seat marginal position, last The technique effect of the present invention can be achieved in marginal position of the centre position of row and most heel row etc..
Step S540, photographing instruction is performed.
Specifically, include smiling face's image, and smiling face's image packet when recognizing the facial image in the picture of finding a view Position and preset position when matching, the photographing instruction is performed, to complete to take pictures.
Whether the technical solution of the present embodiment, the smiling face's image found a view in picture by judgement are located at the side of corresponding position Formula come determine whether perform photographing instruction, compared to it is existing based on smiling face identification shooting style, the present invention it is possible to prevente effectively from When more people take pictures, other people are not yet ready for completing what is taken pictures caused by recognizing smiling face's image and completing to take pictures at once Situation occurs;And then it can effectively be lifted under the exposal model of smiling face's identification, the quality of the photo of more people's group photos.
The present invention also proposes a kind of mobile terminal, including memory, processor and is stored on the memory and can be The program of taking pictures identified based on smiling face run on the processor, the program of taking pictures based on smiling face's identification is by the processing Device realizes all steps in above-mentioned any one embodiment when performing.Since the mobile terminal can perform above-mentioned any one reality All steps in example are applied, so all caused by this mobile terminal at least technical solution with above method embodiment have Beneficial effect, this is no longer going to repeat them.
The present invention also proposes a kind of computer-readable medium, is stored on the computer-readable medium and is identified based on smiling face Program of taking pictures, it is described based on smiling face identification program of taking pictures performed by the processor when realize in above-mentioned any one embodiment All steps.Since the computer-readable medium can perform all steps in above-mentioned any one embodiment, so this Computer-readable medium all advantageous effects at least caused by the technical solution with above method embodiment, it is not another herein One repeats.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of photographic method based on smiling face's identification, which is characterized in that include the following steps:
Acquisition is found a view all people's face image in picture;
Judge whether include smiling face's image in the facial image got;
If it is, judge whether the smiling face's image got is associated with photographing instruction;
If it is, perform the photographing instruction.
2. the photographic method as described in claim 1 based on smiling face's identification, which is characterized in that institute in the picture of finding a view The step of somebody's face image, includes:
Based on face identification method, all people's face image in picture of finding a view.
3. the photographic method as claimed in claim 2 based on smiling face's identification, which is characterized in that the face identification method includes Geometrical measurers, Local Features Analysis method, eigenfaces, elastic model and neural network.
4. the photographic method as described in claim 1 based on smiling face's identification, which is characterized in that the smiling face for judging to get Image step whether associated with photographing instruction includes:
Whether the smiling face's image for judging to get includes preset image;
If it is, smiling face's image that judgement is got is associated with photographing instruction
5. the photographic method as claimed in claim 4 based on smiling face's identification, which is characterized in that the smiling face for judging to get The step of whether image includes preset image includes:
Whether the smiling face's image for judging to get matches with preset image;
If it is, smiling face's image that judgement is got includes preset image.
6. the photographic method as described in claim 1 based on smiling face's identification, which is characterized in that described to judge smiling face's image Whether step associated with photographing instruction includes:
Judge whether position of the smiling face's image in the picture of finding a view is predeterminated position;
If it is, judge that smiling face's image is associated with photographing instruction.
7. the photographic method as claimed in claim 6 based on smiling face's identification, which is characterized in that the predeterminated position takes to be described Position among scape picture.
8. the photographic method as claimed in claim 6 based on smiling face's identification, which is characterized in that the predeterminated position takes to be described The position of scape picture forefront.
9. a kind of mobile terminal, which is characterized in that including memory, processor and be stored on the memory and can be described The program of taking pictures identified based on smiling face run on processor, the processing procedure sequence of taking pictures based on smiling face's identification is by the processor During execution realize as it is described in any item of the claim 1 to 8 based on smiling face identification photographic method the step of.
10. a kind of computer-readable medium, which is characterized in that be stored with what is identified based on smiling face on the computer-readable medium It takes pictures program, the program of taking pictures based on smiling face's identification is realized any in such as claim 1 to 8 when being performed by the processor Described in based on smiling face identification photographic method the step of.
CN201711465986.XA 2017-12-28 2017-12-28 Photographic method, mobile terminal and computer-readable medium based on smiling face's identification Pending CN108174095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711465986.XA CN108174095A (en) 2017-12-28 2017-12-28 Photographic method, mobile terminal and computer-readable medium based on smiling face's identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711465986.XA CN108174095A (en) 2017-12-28 2017-12-28 Photographic method, mobile terminal and computer-readable medium based on smiling face's identification

Publications (1)

Publication Number Publication Date
CN108174095A true CN108174095A (en) 2018-06-15

Family

ID=62519392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711465986.XA Pending CN108174095A (en) 2017-12-28 2017-12-28 Photographic method, mobile terminal and computer-readable medium based on smiling face's identification

Country Status (1)

Country Link
CN (1) CN108174095A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965697A (en) * 2018-06-28 2018-12-07 努比亚技术有限公司 A kind of filming control method, terminal and computer readable storage medium
CN111314760A (en) * 2020-01-19 2020-06-19 深圳市爱深盈通信息技术有限公司 Television and smiling face shooting method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024275A (en) * 2012-12-17 2013-04-03 东莞宇龙通信科技有限公司 Automatic shooting method and terminal
KR20130051319A (en) * 2011-11-09 2013-05-20 포항공과대학교 산학협력단 Apparatus for signal input and method thereof
CN103607537A (en) * 2013-10-31 2014-02-26 北京智谷睿拓技术服务有限公司 Control method of camera and the camera
CN103747180A (en) * 2014-01-07 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Photo shooting method and photographing terminal
CN106713659A (en) * 2017-01-20 2017-05-24 维沃移动通信有限公司 panoramic shooting method and mobile terminal
CN106959761A (en) * 2017-04-18 2017-07-18 广东欧珀移动通信有限公司 A kind of terminal photographic method, device and terminal
CN107172352A (en) * 2017-06-16 2017-09-15 广东欧珀移动通信有限公司 Focusing control method, device, computer can storage medium and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130051319A (en) * 2011-11-09 2013-05-20 포항공과대학교 산학협력단 Apparatus for signal input and method thereof
CN103024275A (en) * 2012-12-17 2013-04-03 东莞宇龙通信科技有限公司 Automatic shooting method and terminal
CN103607537A (en) * 2013-10-31 2014-02-26 北京智谷睿拓技术服务有限公司 Control method of camera and the camera
CN103747180A (en) * 2014-01-07 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Photo shooting method and photographing terminal
CN106713659A (en) * 2017-01-20 2017-05-24 维沃移动通信有限公司 panoramic shooting method and mobile terminal
CN106959761A (en) * 2017-04-18 2017-07-18 广东欧珀移动通信有限公司 A kind of terminal photographic method, device and terminal
CN107172352A (en) * 2017-06-16 2017-09-15 广东欧珀移动通信有限公司 Focusing control method, device, computer can storage medium and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965697A (en) * 2018-06-28 2018-12-07 努比亚技术有限公司 A kind of filming control method, terminal and computer readable storage medium
CN111314760A (en) * 2020-01-19 2020-06-19 深圳市爱深盈通信息技术有限公司 Television and smiling face shooting method thereof
CN111314760B (en) * 2020-01-19 2021-07-02 深圳市爱深盈通信息技术有限公司 Television and smiling face shooting method thereof

Similar Documents

Publication Publication Date Title
WO2020199926A1 (en) Image recognition network model training method, image recognition method and device
CN109167910A (en) focusing method, mobile terminal and computer readable storage medium
CN108495056A (en) Photographic method, mobile terminal and computer readable storage medium
CN108198159A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN107767333A (en) Method, equipment and the computer that U.S. face is taken pictures can storage mediums
CN108174093A (en) Method, equipment and the computer of moment image can storage mediums
CN108830062A (en) Face identification method, mobile terminal and computer readable storage medium
CN107231529A (en) Image processing method, mobile terminal and storage medium
CN109063558A (en) A kind of image classification processing method, mobile terminal and computer readable storage medium
CN108549853B (en) Image processing method, mobile terminal and computer readable storage medium
CN107832784A (en) A kind of method of image beautification and a kind of mobile terminal
CN109743504A (en) A kind of auxiliary photo-taking method, mobile terminal and storage medium
CN107493426A (en) A kind of information collecting method, equipment and computer-readable recording medium
CN107707751A (en) Video playback electricity saving method and corresponding mobile terminal
CN108427873A (en) A kind of biological feather recognition method and mobile terminal
CN107679067A (en) Information recommendation method and mobile terminal
CN108521500A (en) A kind of voice scenery control method, equipment and computer readable storage medium
CN108198162A (en) Photo processing method, mobile terminal, server, system, storage medium
CN108230270A (en) A kind of noise-reduction method, terminal and computer readable storage medium
CN110765924A (en) Living body detection method and device and computer-readable storage medium
CN108197206A (en) Expression packet generation method, mobile terminal and computer readable storage medium
CN108376239A (en) A kind of face identification method, mobile terminal and storage medium
CN107563316A (en) A kind of image pickup method, terminal and computer-readable recording medium
CN107527036A (en) A kind of Environmental security detection method, terminal and computer-readable recording medium
CN107613200A (en) A kind of focus adjustment method, equipment and computer-readable recording medium

Legal Events

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

Application publication date: 20180615

RJ01 Rejection of invention patent application after publication