CN108174093A - Method, equipment and the computer of moment image can storage mediums - Google Patents

Method, equipment and the computer of moment image can storage mediums Download PDF

Info

Publication number
CN108174093A
CN108174093A CN201711465669.8A CN201711465669A CN108174093A CN 108174093 A CN108174093 A CN 108174093A CN 201711465669 A CN201711465669 A CN 201711465669A CN 108174093 A CN108174093 A CN 108174093A
Authority
CN
China
Prior art keywords
personage
photo
clarity
default
face
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
CN201711465669.8A
Other languages
Chinese (zh)
Inventor
王雅依
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201711465669.8A priority Critical patent/CN108174093A/en
Publication of CN108174093A publication Critical patent/CN108174093A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • 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/80Camera processing pipelines; Components thereof

Abstract

The invention discloses a kind of method of moment image, including:According to the characteristic information of the image acquisition first object of first object;When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;It when determining that the second clarification of objective information is matched with the characteristic information of first object, is shot according to default acquisition parameters, until detecting that the second target is not appeared in the range of camera lens, obtains shooting collection of photographs;Calculate the clarity of each photo in shooting collection of photographs;According to the clarity of each photo and default clarity class condition, corresponding operation is performed to each photo.The present invention also discloses a kind of equipment and computer readable storage medium of moment image.By scheme provided by the invention, without being taken pictures by manual type to splendid moment, excellent moment will not be missed, excellent moment can be recorded in photo, enriches camera function.

Description

Method, equipment and the computer of moment image can storage mediums
Technical field
The present invention relates to technical field of image processing more particularly to a kind of method, equipment and the calculating of moment image Machine can storage medium.
Background technology
Nowadays, people record the dribs and drabs of life by way of taking pictures has become a kind of fashion;With terminal not Disconnected development, the terminal available for taking pictures is more and more, such as smart mobile phone, digital camera, tablet computer;User is using these When terminal is taken pictures, if there is the hobby for liking capturing, often fine picture is all happened at moment, but photographs this perfection Moment scene is fewer and fewer to allow people to regret;Such as capture by the sea and clapped people and takeofing moment, when the people that takes pictures press shutter that In a flash, the take-off movement for being clapped people has been completed or has landed not have enough time also taking pictures soon very much, often misses excellent moment, It is difficult to this excellent moment being recorded in photo, makes camera function not abundant enough.
Invention content
In view of this, an embodiment of the present invention is intended to provide a kind of method, equipment and the computers of moment image to deposit Storage media to realize without taking pictures by manual type to splendid moment, will not miss excellent moment, can will be excellent Moment be recorded in photo, enrich camera function.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
The present invention provides a kind of method of moment image, the method includes:
The characteristic information of first object according to the image acquisition of first object;
When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;
When determining that the second clarification of objective information is matched with the characteristic information of the first object, according to default bat It takes the photograph parameter to be shot, until detecting that second target is not appeared in the range of the camera lens, obtains shooting photo Set;
Calculate the clarity of each photo in the shooting collection of photographs;
According to the clarity of each photo and default clarity class condition, to each photo execution pair The operation answered.
In said program, the characteristic information for obtaining the first object, including:
When the first object is the first personage, first personage is identified in the face area of first personage Face feature region;
The facial feature information of first personage is obtained according to the face feature region of first personage;
It is described to obtain the second clarification of objective information, including:
When second target is the second personage, second personage is identified in the face area of second personage Face feature region;
The facial feature information of second personage is obtained according to the face feature region of second personage;
Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face area Domain, chin area and shape of face region;
The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose feature Information, face characteristic information, chin characteristic information and shape of face characteristic information.
It is described to determine the second clarification of objective information and the characteristic information of the first object in said program Match, including:
It is special with the corresponding face of first personage respectively at least N number of facial feature information of second personage When levying information matches, determine that the characteristic information of second personage is matched with the characteristic information of first personage;
Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
It is described to be shot according to default acquisition parameters in said program, including:
According to default shooting time spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, preset Shooting exposure value parameter, default shooting aperture parameters and default shooting Flashing Light Parameters are shot.
In said program, the clarity according to each photo and default clarity class condition, to described Each photo performs corresponding operation, including:
When the clarity of photo is greater than or equal to the first default clarity, the photo is stored in and is captured in photograph album;
Photo clarity be less than the first default clarity, more than or equal to the second default clarity when, by the photograph Piece is stored in photograph album to be confirmed;
When the clarity of photo is less than the second default clarity, the photo is deleted.
The present invention also provides a kind of equipment of moment image, the equipment includes:Interface, processor, memory and Communication bus;
The communication bus, the connection communication being used to implement between the interface, the processor and the memory;
The processor, for performing the program of moment image stored in the memory, to realize following walk Suddenly:
The characteristic information of first object according to the image acquisition of first object;
When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;
When determining that the second clarification of objective information is matched with the characteristic information of the first object, according to default bat It takes the photograph parameter to be shot, until detecting that second target is not appeared in the range of the camera lens, obtains shooting photo Set;
Calculate the clarity of each photo in the shooting collection of photographs;
According to the clarity of each photo and default clarity class condition, to each photo execution pair The operation answered.
In said program, the processor, for performing the program of the moment image, to implement following walk Suddenly:
When the first object is the first personage, first personage is identified in the face area of first personage Face feature region;
The facial feature information of first personage is obtained according to the face feature region of first personage;
The processor, for performing the program of the moment image, to implement following steps:
When second target is the second personage, second personage is identified in the face area of second personage Face feature region;
The facial feature information of second personage is obtained according to the face feature region of second personage;
Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face area Domain, chin area and shape of face region;
The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose feature Information, face characteristic information, chin characteristic information and shape of face characteristic information;
The processor, for performing the program of the moment image, to implement following steps:
It is special with the corresponding face of first personage respectively at least N number of facial feature information of second personage When levying information matches, determine that the characteristic information of second personage is matched with the characteristic information of first personage;
Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
In said program, the processor, for performing the program of the moment image, to implement following walk Suddenly:
According to default shooting time spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, preset Shooting exposure value parameter, default shooting aperture parameters and default shooting Flashing Light Parameters are shot.
In said program, the processor, for performing the program of the moment image, to implement following walk Suddenly:
When the clarity of photo is greater than or equal to the first default clarity, the photo is stored in and is captured in photograph album;
Photo clarity be less than the first default clarity, more than or equal to the second default clarity when, by the photograph Piece is stored in photograph album to be confirmed;
When the clarity of photo is less than the second default clarity, the photo is deleted.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage there are one or The multiple programs of person, one or more of programs can be performed by one or more processor, to realize bat as described above The step of taking the photograph the method for moment image.
Method, equipment and the computer of moment image provided by the invention can storage medium, by according to the first mesh The characteristic information of target image acquisition first object;When the second target is detected in the range of camera lens, the spy of the second target is obtained Reference ceases;When determining that the second clarification of objective information is matched with the characteristic information of first object, according to default acquisition parameters into Row shooting until detecting that the second target is not appeared in the range of camera lens, obtains shooting collection of photographs;Calculate shooting photo The clarity of each photo in set;According to the clarity of each photo and default clarity class condition, to each It opens photo and performs corresponding operation;The photo that clarity is met to default clarity condition preserves, and clarity is not met The photo of default clarity condition is deleted;By to clarification of objective information matches, according to default ginseng of taking pictures after successful match Number automatic shooting target, and qualified photo is preserved, without being taken pictures by manual type to splendid moment, Excellent moment will not be missed, excellent moment can be recorded in photo, enrich camera function.
Description of the drawings
The hardware architecture diagram of Fig. 1 optional mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the communications network system structure diagram that mobile terminal provided in an embodiment of the present invention can operate;
Fig. 3 is the flow chart of the embodiment of the method one of moment image of the present invention;
Fig. 4 is the flow chart of the embodiment of the method two of moment image of the present invention;
Fig. 5 is the schematic diagram of a scenario one of the embodiment of the method two of moment image of the present invention;
Fig. 6 is the schematic diagram of a scenario two of the embodiment of the method two of moment image of the present invention;
Fig. 7 is the schematic diagram of a scenario three of the embodiment of the method two of moment image of the present invention;
Fig. 8 is the structure diagram of the device embodiment of moment image of the present invention;
Fig. 9 is the structure diagram of the apparatus embodiments of moment image of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes.
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, Fig. 1 to realize the present invention an optional mobile terminal of each embodiment hardware configuration signal Figure, the mobile terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output Unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface The components such as unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that show in Fig. 1 The mobile terminal structure gone out does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer portions Part either combines 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.
Show referring to Fig. 2, Fig. 2 is the communications network system structure that mobile terminal provided in an embodiment of the present invention can operate It is intended to, which is the LTE system of universal mobile communications technology, which includes communicating the UE of connection successively (User Equipment, user equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS Terrestrial radio access network) 202, EPC (Evolved Packet Core, evolved block core Net) 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 is with can providing the IP of UE201 Location 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.
Embodiment one
If the terminal of the moment image described in the embodiment of the present invention has operating system, which can be with For UNIX, Linux, Windows, Mac OS X, Android (Android), Windows Phone etc..
Application software (Application, APP) is the third party application of intelligent terminal, and user can be by various The application software of various kinds is handled official business, is entertained, obtaining information etc., and form includes such as ipa, pxl, deb, apk lattice Formula.
Fig. 3 is the flow chart of the embodiment of the method one of moment image of the present invention, as shown in figure 3, the embodiment of the present invention The method of the moment image of offer can be applied in the terminal (hereinafter referred to as terminal) of moment image, this method packet Include following steps:
Step 301, the characteristic information according to the image acquisition first object of first object.
Terminal is according to the characteristic information of the image acquisition first object of first object;Wherein, the image of first object can be with It is photo stored in the terminal or image that user's current shooting obtains;It is determining to obtain first object After image, the characteristic information of this first object is obtained.
Wherein it is possible to the characteristic information of first object is extracted using following several method.
Method based on template is mainly that the work of characteristic point is detected using parameter model or template.Since it is desired that A variety of different parameter models or template are built, so having certain types of characteristic point, calculating speed one commonly used in detection As it is very fast.
Method based on edge is using the point on the larger object edge in the vertex of polygon or Curvature varying as feature Point.
Method based on gray scale is detected using the localized variation of pixel gray level, and characteristic point is built upon certain On algorithm, the pixel of grey scale change maximum on the algorithm;Gray scale around pixel can be asked for using differentiating The position of characteristic point is obtained with this for derivative.
Method based on spatial alternation obtains the recognizable characteristic point of Property comparison using spatial alternation, is then converting The detection of extreme point is carried out in space;Usual space is divided into scale space, frequency space, wavelet space etc..Scale space refers to In curvature scale space or in Gaussian function difference (Difference of Gaussian, DOG) scale space, by what is searched The minimum or maximum point of absolute value is as characteristic point;Frequency space is the local phase or particular phases maximum value that will be calculated As characteristic point;Wavelet space is the local maximum using wavelet coefficient or mould, and extreme point detection is carried out using best scale.
What needs to be explained here is that being several typical methods for obtaining target signature information above, specifically how to carry The conventional techniques that characteristic information is those skilled in the art are taken, not in this to go forth.
Step 302 when the second target is detected in the range of camera lens, obtains the second clarification of objective information.
Terminal can be detected in the range of camera lens, detect after the function of opening moment image in real time When second target occurs, this second clarification of objective information can be obtained.
For example, after the characteristic information of first object is got, the second mesh can be obtained according to based on the method for template Target characteristic information, the speed obtained in this way.
Step 303, when determining that the second clarification of objective information is matched with the characteristic information of first object, according to default bat It takes the photograph parameter to be shot, until detecting that the second target is not appeared in the range of camera lens, obtains shooting collection of photographs.
Before this step is performed, can first judge the characteristic information of the second clarification of objective information and first object is terminal No matching when determining successful match, can just be shot according to default acquisition parameters, until detecting that second target does not go out Until in the range of present camera lens, a shooting collection of photographs is obtained, being stored with the second target in this shooting collection of photographs exists Multiple photos of different time points.
Wherein, it presets to include at least in acquisition parameters and has the default shooting interval time, for example, taking the photograph one every 0.2 second beats Photo;What needs to be explained here is that the default shooting interval time can be configured according to actual demand, do not limited herein System.
Step 304 calculates the clarity for shooting each photo in collection of photographs.
Terminal calculates the clarity of each photo about the second target in shooting collection of photographs, obtains each Zhang Zhao The corresponding clarity of piece.
Wherein it is possible to the clarity of photo is calculated using following several Image Definitions.
Grey scale change function, focusedimage include more grey scale changes than out-of-focus image, so, the change of gray value of image Evaluation function can be used as by changing, as gradation of image variance function belongs to grey scale change function.
Gradient function, in image procossing, image gradient can be with edge extracting be carried out, and focusing is better, and image border is got over It is sharp, it should to there is the image gradient value of bigger, such as gradient of image and gray scale energy function, Robert's (Robert) operator and La Pu Lars (Laplace) operator etc. belongs to gradient function.
Gradation of image entropy function, the comentropy for good image of focusing are greater than the comentropy of out-of-focus image, the information of image What entropy reflected is the abundant information degree of image, and therefore, the gray level entropy of image can also be used as evaluation function.
What needs to be explained here is that being several typical methods for calculating image definition above, specifically how to calculate The method of image definition is the conventional techniques of those skilled in the art, and not in this to go forth.
Step 305, clarity and default clarity class condition according to each photo, to each photo execution pair The operation answered.
Terminal is after the clarity of each photo is calculated, according to the clarity of each photo and default clarity Class condition performs corresponding operation to each photo;For example, clarity is greater than or equal to the photo of default definition values It is determined as photo to be saved, and will be in the candid photograph photograph album of photo to be saved deposit terminal;Clarity is less than default definition values Photo be determined as non-preservation photo, and non-preservation photo is directly deleted, save memory space;End user can capture The photo of moment image is checked in photograph album, enjoys excellent moment.
The method of moment image provided in an embodiment of the present invention passes through the first mesh of image acquisition according to first object Target characteristic information;When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;Determining the second mesh It when target characteristic information is matched with the characteristic information of first object, is shot according to default acquisition parameters, until detecting Until two targets are not appeared in the range of camera lens, shooting collection of photographs is obtained;Calculate each photo in shooting collection of photographs Clarity;According to the clarity of each photo and default clarity class condition, corresponding behaviour is performed to each photo Make;The photo that clarity is met to default clarity condition preserves, and clarity is not met to the photograph of default clarity condition Piece is deleted;By the way that clarification of objective information matches, target is automatically snapped, and will according to default parameter of taking pictures after successful match Qualified photo preserves, and without taking pictures by manual type to splendid moment, will not miss excellent moment, Excellent moment can be recorded in photo, enrich camera function.
It is further to illustrate on the basis of above-described embodiment in order to more embody the purpose of the present invention.
Embodiment two
Fig. 4 is the flow chart of the embodiment of the method two of moment image of the present invention, as shown in figure 4, the embodiment of the present invention The method of the moment image of offer is applied on smart mobile phone, and automatic shooting moment image, this method are carried out for personage It may include steps of:
Step 401, the function it is determined whether to enable moment image.
Smart mobile phone can judge whether the function of the moment image opens before moment image is carried out, such as Fruit is not opened, then performs step 402;If opened, step 403 is performed.
For example, user can open the switch of moment image in the setting interface of smart mobile phone, it is intelligent in this way The function that mobile phone is considered as moment image is opening.
Judge that the step of whether function of moment image opens can effectively save smart mobile phone by setting Resource just activates the function of moment image when user needs, and the work(of moment image is closed when user does not need to Can, the cruising ability of smart mobile phone can be improved, and system resource can be saved.
Step 402 terminates current task.
Smart mobile phone terminates currently processed task, continues according to existing flow of taking pictures.
Step 403, the facial feature information according to the first personage of image acquisition of the first personage.
Specifically, smart mobile phone first identifies the face area of the first personage in the image of the first personage, then the The face area of one personage identifies the face feature region of the first personage;Later, according to the face feature region of the first personage Obtain the facial feature information of the first personage;Wherein, the image of the first personage can be stored photograph in smart mobile phone The character image that piece or user's current shooting obtain;Face feature region includes but not limited to:Hair zones, eyebrow Region, eye areas, nasal area, face region, chin area and shape of face region etc.;Facial feature information includes but unlimited In:Hair characteristic information, eyebrow characteristic information, eye feature information, nose characteristic information, face characteristic information, chin feature Information and shape of face characteristic information etc..
Smart mobile phone extracts the face feature region of face in human face region using neural network algorithm, by face spy Sign region division is to include but not limited to the characteristic area of following face:Hair zones, brow region, eye areas, nose Region, face region, chin area and shape of face region etc..
Face area is the region where the facial feature information of people, in general, facial feature information includes visual signature Information, pixels statistics characteristic information, facial image transformation coefficient characteristic information and facial image algebraic characteristic information etc.;Face is special Levy what information extraction was carried out aiming at certain characteristic informations of face.
The method of facial feature information extraction, which is summed up, is divided into two major class:One kind is Knowledge based engineering characterizing method;Separately It is outer it is a kind of be the characterizing method based on algebraic characteristic or statistical learning;Knowledge based engineering characterizing method is mainly according to human face Shape description and they the distance between characteristic contribute to the characteristic of face classification to obtain, characteristic component is usual Including Euclidean distance, curvature and angle between characteristic point etc.;Face is by hair, eyebrow, eyes, nose, mouth, chin and shape of face etc. Part form, to these part and between them structural relation geometric description, can be used as identification face important feature information, These characteristic informations are referred to as geometric properties information;Knowledge based engineering face characterization mainly include method based on geometric properties and Template matching method.
Wherein, neural network algorithm has large-scale parallel, distributed storage and processing, self-organizing, adaptive and self-study Ability, being particularly suitable for processing needs information-processing problem that consider many factors and condition simultaneously, inaccurate and fuzzy;This Sample, the neural network model trained can recognize that the attributive character information of characteristic area on face;Also, due to neural network Better model can be obtained, in this way, being suitable for obtaining feature in the image of different illumination and different human face postures The attributive character information in region improves the accuracy of acquisition.
Step 404 when the second personage is detected in the range of camera lens, obtains the facial feature information of the second personage.
When smart mobile phone detects that the second personage occurs in the range of camera lens, the face feature letter of second personage is obtained Breath, and obtain the facial feature information of second personage;Specifically, how smart mobile phone obtains the facial feature information of two personages The content described in step 403 is referred to, not in this to go forth.
Whether step 405, the facial feature information for judging the second personage match with the facial feature information of the first personage.
Smart mobile phone judges whether the facial feature information of the second personage matches with the facial feature information of the first personage, such as Fruit mismatches, then performs step 406, if it does, then performing step 407.
Specifically, smart mobile phone judge at least N number of different facial feature information of the second personage respectively with the first personage Corresponding facial feature information whether match, only at least N number of facial feature information of the second personage respectively with first During the corresponding facial feature information matching of personage, step 407 is performed;If there is other situations, then step 406 is performed; Wherein, N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
What needs to be explained here is that the value of N can be configured according to actual conditions, it is not limited herein.
Step 406 terminates current task.
Smart mobile phone terminates currently processed task, continues according to existing flow.
Step 407, the facial feature information for determining the second personage are matched with the facial feature information of the first personage.
Smart mobile phone determines that the facial feature information of the second personage and the facial feature information of the first personage are mutually matched, can To assert that the second personage is identical with the first personage.
Step 408 is shot according to default acquisition parameters.
Smart mobile phone is shot according to default parameter of taking pictures;Specifically, smart mobile phone can be according to default shooting time Spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, default shooting exposure value parameter, default shooting Aperture parameters and default shooting Flashing Light Parameters are shot.
Wherein, various default parameters of taking pictures can be the default value in smart mobile phone, can also voluntarily be set by user, example Such as, default shooting time spacing parameter is arranged to every 0.2 second beats and takes the photograph a photo;It is what needs to be explained here is that various default Parameter of taking pictures can be configured according to actual demand, be not limited herein.
Step 409, until detecting that the second personage is not appeared in the range of camera lens, obtain shooting collection of photographs.
Smart mobile phone takes pictures to the second personage according to various default acquisition parameters, until detecting that the second personage does not go out Until in the range of present camera lens, obtain since being appeared in the range of camera lens the second personage until not appearing in the range of camera lens Shooting collection of photographs.
Step 410 calculates the clarity for shooting each photo in collection of photographs.
Smart mobile phone calculates the clarity of each photo about the second personage in shooting collection of photographs, obtains each Open the corresponding clarity of photo;Wherein, the clarity that photo specifically how is calculated can refer in step 304 and be retouched The content stated, not in this to go forth.
Step 411, photo clarity be greater than or equal to the first default clarity when, by photo be stored in capture photograph album In.
Smart mobile phone judges clarity and the first default clarity and/or the of each photo in shooting collection of photographs The relationship of two default clarity, when the clarity of current photo is greater than or equal to the first default clarity, by the current photo Deposit is captured in photograph album, can retain the preferable photo of quality as far as possible;Wherein, the first default clarity and second is preset clearly Clear degree can be configured according to actual demand, be not limited herein, and it is default clear that the first default clarity is higher than second Degree;For example, the preferable clarity of apparent effect is set as the first default clarity, apparent effect is general clear Clear degree is set as the second default clarity.
Step 412, photo clarity be less than the first default clarity, more than or equal to the second default clarity when, Photo is stored in photograph album to be confirmed.
Smart mobile phone judges clarity and the first default clarity and/or the of each photo in shooting collection of photographs The relationship of two default clarity is preset clearly in the clarity of current photo less than the first default clarity, more than or equal to second It is clear when spending, which is stored in photograph album to be confirmed, user oneself is facilitated to select satisfied photo.
Step 413, photo clarity be less than the second default clarity when, photo is deleted.
Smart mobile phone judges clarity and the first default clarity and/or the of each photo in shooting collection of photographs The relationship of two default clarity when the clarity of current photo is less than the second default clarity, which is deleted, energy Enough automatic examination fuzzy photos, and delete, save memory space.
The method of moment image provided in an embodiment of the present invention, by the way that it is determined whether to enable the work(of moment image Can, after the function of determining to open moment image, believed according to the face feature of the first personage of image acquisition of the first personage Breath;When the second personage is detected in the range of camera lens, the facial feature information of the second personage is obtained;Judge the face of the second personage Whether characteristic information matches with the facial feature information of the first personage, the facial feature information for determining the second personage with it is the first During the facial feature information matching of object, shot according to default acquisition parameters;Until detecting that the second personage does not appear in mirror Until in the range of head, shooting collection of photographs is obtained;Calculate the clarity of each photo in shooting collection of photographs;In photo When clarity is greater than or equal to the first default clarity, photo is stored in and is captured in photograph album;It is less than first in the clarity of photo Default clarity, more than or equal to the second default clarity when, photo is stored in photograph album to be confirmed;It is small in the clarity of photo When the second default clarity, photo is deleted;It is matched by the facial feature information to personage, according to pre- after successful match If parameter of taking pictures automatically snaps personage, and qualified photo is preserved, without by manual type to splendid moment It takes pictures, excellent moment will not be missed, excellent moment can be recorded in photo, enrich camera function;In addition, Smart mobile phone can screen fuzzy photo deletion automatically, save memory space, and it is preferable may closely to retain photographer's mass Picture, appoint family oneself selection.
In order to more embody the purpose of the present invention, on the basis of above-described embodiment two, further implemented with scene Example illustrates.
Fig. 5 is the schematic diagram of a scenario one of the embodiment of the method two of moment image of the present invention, as shown in figure 5, intelligent hand Machine identifies hair zones, ear according to the facial feature information of the first personage of image acquisition of the first personage in face area Region, eye areas, nasal area, face region, chin area and shape of face region, these each regions are all represented by black surround Out;Later, the facial feature information of the first personage is obtained according to these each regions.
Fig. 6 is the schematic diagram of a scenario two of the embodiment of the method two of moment image of the present invention, as shown in fig. 6, intelligent hand When machine detects the second personage in the range of camera lens, the facial feature information of second personage is obtained;Obtaining the second personage's After facial feature information, whether eye feature information, nose characteristic information, face characteristic information, chin characteristic information are judged It is mutually matched respectively with the eye feature information of the first personage, nose characteristic information, face characteristic information, chin characteristic information, If all it is mutually matched, it is determined that the second personage is same person with the first personage;Meanwhile according to default acquisition parameters to this Two personages are shot, specifically, default shooting sensitivity parameter, default shooting shutter speed parameter, default shooting exposure value Parameter, default shooting aperture parameters and default shooting Flashing Light Parameters can be configured according to the configuration of acquiescence, preset shooting Time interval parameter could be provided as taking the photograph a photo every 0.5 second beats, i.e., as shown in fig. 6, in 0 second, 0.5 second and 1 second time-division Photo is not shot, obtains the photo of three different time points.
Fig. 7 is the schematic diagram of a scenario three of the embodiment of the method two of moment image of the present invention, as shown in fig. 7, determining Go out after the second personage leaves camera lens range, obtain a shooting collection of photographs about the second personage, smart mobile phone calculates shooting The clarity of each photo about the second personage in collection of photographs obtains each corresponding clarity of photo, The clarity that they are respectively photo one is 4, and the clarity of photo two is 8, and the clarity of photo three is 12;Shooting is judged later The clarity of each photo in collection of photographs and the first default clarity and/or the relationship of the second default clarity, wherein, First default clarity is 10, and the second default clarity is 6;As it can be seen that the clarity 4 of photo one is less than the second default clarity 6, Therefore photo one is put into and deleted in photograph album, do not need to the photo;The clarity 8 of photo two is more than the second default clarity 6, small In the first default clarity 10, therefore photo two is put into photograph album to be confirmed, user is facilitated oneself to choose whether to need afterwards;According to The clarity 12 of piece three is more than the first default clarity 10, therefore photo three is put into and is captured in photograph album, appreciates and makes for user With.
Come with three photos more than what needs to be explained here is that for example, in practical operation, the quantity and reality of photo Border situation is interrelated, is not limited only to three, is not limited herein.
Embodiment three
Fig. 8 is the structure diagram of the device embodiment of moment image of the present invention, as shown in figure 8, the present invention is implemented The device 08 for the moment image that example provides includes:
Acquisition module 81, for the characteristic information of first object described in the image acquisition according to first object;
The acquisition module 81 when being additionally operable to detect the second target in the range of camera lens, obtains second target Characteristic information;
Taking module 82, in the characteristic information for determining the second clarification of objective information and the first object Timing is shot according to default acquisition parameters, is until second target is detected not appear in the range of the camera lens Only, shooting collection of photographs is obtained;
Computing module 83, for calculating the clarity of each photo in the shooting collection of photographs;
Operation module 84, for the clarity according to each photo and default clarity class condition, to described Each photo performs corresponding operation.
Further, the acquisition module 81, specifically for the first object be the first personage when, described first The face area of personage identifies the face feature region of first personage;According to the face feature region of first personage Obtain the facial feature information of first personage;
The acquisition module 81, also particularly useful for second target be the second personage when, second personage's Face area identifies the face feature region of second personage;Institute is obtained according to the face feature region of second personage State the facial feature information of the second personage;
Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face area Domain, chin area and shape of face region;
The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose feature Information, face characteristic information, chin characteristic information and shape of face characteristic information.
Further, the taking module 82, specifically at least N number of facial feature information point in second personage When not matched with the corresponding facial feature information of first personage, determine the characteristic information of second personage with it is described The characteristic information matching of first personage;
Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
Further, the taking module 82, also particularly useful for according to default shooting time spacing parameter, default shooting sense Photometric parameter, default shooting shutter speed parameter, default shooting exposure value parameter, default shooting aperture parameters and default shooting are dodged Light lamp parameter is shot.
Further, it is default clear to be greater than or equal to first specifically for the clarity in photo for the operation module 84 When spending, the photo is stored in and is captured in photograph album;It is less than the first default clarity, more than or equal to second in the clarity of photo During default clarity, the photo is stored in photograph album to be confirmed;It, will when the clarity of photo is less than the second default clarity The photo is deleted.
The device of the present embodiment, can be used for performing it is above-mentioned shown in embodiment of the method technical solution, realization principle and Technique effect is similar, and details are not described herein again.
Example IV
Fig. 9 is the structure diagram of the apparatus embodiments of moment image of the present invention, as shown in figure 9, the present invention is implemented The equipment 09 for the moment image that example provides includes:Interface 91, processor 92, memory 93 and communication bus 94;
Wherein, the communication bus 94 is used to implement between the interface 91, the processor 92 and the memory 93 Connection communication;
The processor 92, for performing the program of moment image stored in the memory 93, with realize with Lower step:
The characteristic information of first object according to the image acquisition of first object;
When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;
When determining that the second clarification of objective information is matched with the characteristic information of the first object, according to default bat It takes the photograph parameter to be shot, until detecting that second target is not appeared in the range of the camera lens, obtains shooting photo Set;
Calculate the clarity of each photo in the shooting collection of photographs;
According to the clarity of each photo and default clarity class condition, to each photo execution pair The operation answered.
Further, the processor 92 is additionally operable to perform the program of the moment image, to realize following walk Suddenly:
When the first object is the first personage, first personage is identified in the face area of first personage Face feature region;
The facial feature information of first personage is obtained according to the face feature region of first personage;
The processor, for performing the program of the moment image, to implement following steps:
When second target is the second personage, second personage is identified in the face area of second personage Face feature region;
The facial feature information of second personage is obtained according to the face feature region of second personage;
Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face area Domain, chin area and shape of face region;
The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose feature Information, face characteristic information, chin characteristic information and shape of face characteristic information;
The processor 92, for performing the program of the moment image, to implement following steps:
It is special with the corresponding face of first personage respectively at least N number of facial feature information of second personage When levying information matches, determine that the characteristic information of second personage is matched with the characteristic information of first personage;
Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
Further, the processor 92, for performing the program of the moment image, to implement following walk Suddenly:
According to default shooting time spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, preset Shooting exposure value parameter, default shooting aperture parameters and default shooting Flashing Light Parameters are shot.
Further, the processor 92, for performing the program of the moment image, to implement following walk Suddenly:
When the clarity of photo is greater than or equal to the first default clarity, the photo is stored in and is captured in photograph album;
Photo clarity be less than the first default clarity, more than or equal to the second default clarity when, by the photograph Piece is stored in photograph album to be confirmed;
When the clarity of photo is less than the second default clarity, the photo is deleted.
As shown in figure 9, the equipment 09 of moment image can be mobile phone, computer, digital broadcast terminal, information Transceiver, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.;It is understood that communication bus 94 in addition to including data/address bus, further includes power bus, controlling bus and status signal bus in addition, but illustrates in order to clear See, various buses are all designated as communication bus 94 in fig.9.
Wherein, interface 91 can include display, keyboard, mouse, trace ball, click wheel, button, button, touch-sensitive plate or Person's touch screen etc..
It is appreciated that memory 93 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories;Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access store Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage;Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can be used, such as Static RAM (SRAM, Static Random Access Memory), synchronous static RAM (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory);Description of the embodiment of the present invention is deposited Reservoir 93 is intended to the including but not limited to memory of these and any other suitable type.
Memory 93 in the embodiment of the present invention is used to store various types of data to support setting for moment image Standby 09 operation;The example of these data includes:For any computer journey operated in the equipment 09 of moment image Sequence, such as operating system and application program, contact data, telephone book data, message, picture, video;Wherein, operating system Comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used to implement various basic businesses and processing base In the task of hardware;Application program can include various application programs, such as media player (Media Player), browser (Browser) etc., it is used to implement various applied business;Realize that the program of present invention method may be embodied in application program In.
The method that the embodiments of the present invention disclose can be applied to realize in processor 92 or by processor 92;Place It may be a kind of IC chip to manage device 92, has the processing capacity of signal;During realization, each step of the above method It can be completed by the integrated logic circuit of the hardware in processor 92 or the instruction of software form;Above-mentioned processor 92 can Be general processor, digital signal processor (DSP, Digital Signal Processor) or other programmable patrol Collect device, discrete gate or transistor logic, discrete hardware components etc.;The present invention can be realized or be performed to processor 92 Disclosed each method, step and logic diagram in embodiment;General processor can be microprocessor or any conventional Processor etc.;The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processor execution It completes or performs completion with the hardware in decoding processor and software module combination;Software module can be located at storage medium In, which is located at memory 93, and processor 92 reads the information in memory 93, and preceding method is completed with reference to its hardware The step of.
In the exemplary embodiment, the equipment 09 of moment image can be by one or more application application-specific integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for performing preceding method.
The equipment of the present embodiment, can be used for performing it is above-mentioned shown in embodiment of the method technical solution, realization principle and Technique effect is similar, and details are not described herein again.
The present invention also provides a kind of computer readable storage medium, computer readable storage medium can be FRAM, ROM, The memories such as PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;It can also be packet The various equipment for including one of above-mentioned memory or arbitrarily combining, such as mobile phone, computer, tablet device, personal digital assistant Deng;There are one the computer-readable recording medium storages or multiple programs, one or more of programs can be by one Or multiple processors perform, to realize following steps:
The characteristic information of first object according to the image acquisition of first object;
When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;
When determining that the second clarification of objective information is matched with the characteristic information of the first object, according to default bat It takes the photograph parameter to be shot, until detecting that second target is not appeared in the range of the camera lens, obtains shooting photo Set;
Calculate the clarity of each photo in the shooting collection of photographs;
According to the clarity of each photo and default clarity class condition, to each photo execution pair The operation answered.
Further, one or more of programs can be performed by one or more of processors, with specific real Existing following steps:
When the first object is the first personage, first personage is identified in the face area of first personage Face feature region;
The facial feature information of first personage is obtained according to the face feature region of first personage;
It is described to obtain the second clarification of objective information, including:
When second target is the second personage, second personage is identified in the face area of second personage Face feature region;
The facial feature information of second personage is obtained according to the face feature region of second personage;
Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face area Domain, chin area and shape of face region;
The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose feature Information, face characteristic information, chin characteristic information and shape of face characteristic information.
Further, one or more of programs can be performed by one or more of processors, with specific real Existing following steps:
It is special with the corresponding face of first personage respectively at least N number of facial feature information of second personage When levying information matches, determine that the characteristic information of second personage is matched with the characteristic information of first personage;
Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
Further, one or more of programs can be performed by one or more of processors, with specific real Existing following steps:
According to default shooting time spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, preset Shooting exposure value parameter, default shooting aperture parameters and default shooting Flashing Light Parameters are shot.
Further, one or more of programs can be performed by one or more of processors, with specific real Existing following steps:
When the clarity of photo is greater than or equal to the first default clarity, the photo is stored in and is captured in photograph album;
Photo clarity be less than the first default clarity, more than or equal to the second default clarity when, by the photograph Piece is stored in photograph album to be confirmed;
When the clarity of photo is less than the second default clarity, the photo is deleted.
The computer readable storage medium of the present embodiment can be used for performing the technical side of above-mentioned shown embodiment of the method Case, implementing principle and technical effect are similar, and details are not described herein again.
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 1. method of moment image, which is characterized in that the method includes:
    The characteristic information of first object according to the image acquisition of first object;
    When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;
    When determining that the second clarification of objective information is matched with the characteristic information of the first object, join according to default shooting Number is shot, and until detecting that second target is not appeared in the range of the camera lens, obtains shooting collection of photographs;
    Calculate the clarity of each photo in the shooting collection of photographs;
    According to the clarity of each photo and default clarity class condition, each photo is performed corresponding Operation.
  2. 2. according to the method described in claim 1, it is characterized in that, the characteristic information for obtaining the first object, including:
    When the first object is the first personage, the face of first personage is identified in the face area of first personage Portion's characteristic area;
    The facial feature information of first personage is obtained according to the face feature region of first personage;
    It is described to obtain the second clarification of objective information, including:
    When second target is the second personage, the face of second personage is identified in the face area of second personage Portion's characteristic area;
    The facial feature information of second personage is obtained according to the face feature region of second personage;
    Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face region, under Bar region and shape of face region;
    The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose characteristic information, Face characteristic information, chin characteristic information and shape of face characteristic information.
  3. 3. according to the method described in claim 2, it is characterized in that, it is described determine the second clarification of objective information with it is described The characteristic information matching of first object, including:
    Believe respectively with the corresponding face feature of first personage at least N number of facial feature information of second personage During breath matching, determine that the characteristic information of second personage is matched with the characteristic information of first personage;
    Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
  4. 4. according to the method described in claim 1, it is characterized in that, described shot according to default acquisition parameters, including:
    According to default shooting time spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, default shooting Exposure value parameter, default shooting aperture parameters and default shooting Flashing Light Parameters are shot.
  5. 5. according to the method described in claim 1, it is characterized in that, the clarity according to each photo is with presetting Clarity class condition performs corresponding operation to each photo, including:
    When the clarity of photo is greater than or equal to the first default clarity, the photo is stored in and is captured in photograph album;
    Photo clarity be less than the first default clarity, more than or equal to the second default clarity when, the photo is deposited Enter in photograph album to be confirmed;
    When the clarity of photo is less than the second default clarity, the photo is deleted.
  6. 6. a kind of equipment of moment image, which is characterized in that the equipment includes:Interface, processor, memory and communication Bus;
    The communication bus, the connection communication being used to implement between the interface, the processor and the memory;
    The processor, for performing the program of moment image stored in the memory, to realize following steps:
    The characteristic information of first object according to the image acquisition of first object;
    When the second target is detected in the range of camera lens, the second clarification of objective information is obtained;
    When determining that the second clarification of objective information is matched with the characteristic information of the first object, join according to default shooting Number is shot, and until detecting that second target is not appeared in the range of the camera lens, obtains shooting collection of photographs;
    Calculate the clarity of each photo in the shooting collection of photographs;
    According to the clarity of each photo and default clarity class condition, each photo is performed corresponding Operation.
  7. 7. equipment according to claim 6, which is characterized in that the processor, for performing the moment image Program, to implement following steps:
    When the first object is the first personage, the face of first personage is identified in the face area of first personage Portion's characteristic area;
    The facial feature information of first personage is obtained according to the face feature region of first personage;
    The processor, for performing the program of the moment image, to implement following steps:
    When second target is the second personage, the face of second personage is identified in the face area of second personage Portion's characteristic area;
    The facial feature information of second personage is obtained according to the face feature region of second personage;
    Wherein, the face feature region includes:Hair zones, brow region, eye areas, nasal area, face region, under Bar region and shape of face region;
    The facial feature information includes:Hair characteristic information, eyebrow characteristic information, eye feature information, nose characteristic information, Face characteristic information, chin characteristic information and shape of face characteristic information;
    The processor, for performing the program of the moment image, to implement following steps:
    Believe respectively with the corresponding face feature of first personage at least N number of facial feature information of second personage During breath matching, determine that the characteristic information of second personage is matched with the characteristic information of first personage;
    Wherein, the N is more than or equal to the 1, integer less than or equal to facial feature information quantity.
  8. 8. equipment according to claim 6, which is characterized in that the processor, for performing the moment image Program, to implement following steps:
    According to default shooting time spacing parameter, default shooting sensitivity parameter, default shooting shutter speed parameter, default shooting Exposure value parameter, default shooting aperture parameters and default shooting Flashing Light Parameters are shot.
  9. 9. equipment according to claim 6, which is characterized in that the processor, for performing the moment image Program, to implement following steps:
    When the clarity of photo is greater than or equal to the first default clarity, the photo is stored in and is captured in photograph album;
    Photo clarity be less than the first default clarity, more than or equal to the second default clarity when, the photo is deposited Enter in photograph album to be confirmed;
    When the clarity of photo is less than the second default clarity, the photo is deleted.
  10. 10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or Multiple programs, one or more of programs can be performed by one or more processor, to realize such as claim 1 to 5 The step of method of any one moment image.
CN201711465669.8A 2017-12-28 2017-12-28 Method, equipment and the computer of moment image can storage mediums Pending CN108174093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711465669.8A CN108174093A (en) 2017-12-28 2017-12-28 Method, equipment and the computer of moment image can storage mediums

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711465669.8A CN108174093A (en) 2017-12-28 2017-12-28 Method, equipment and the computer of moment image can storage mediums

Publications (1)

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

Family

ID=62519389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711465669.8A Pending CN108174093A (en) 2017-12-28 2017-12-28 Method, equipment and the computer of moment image can storage mediums

Country Status (1)

Country Link
CN (1) CN108174093A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813980A (en) * 2020-08-03 2020-10-23 Oppo广东移动通信有限公司 Picture processing method and device, electronic equipment and storage medium
CN112115285A (en) * 2019-06-21 2020-12-22 杭州海康威视数字技术股份有限公司 Picture cleaning method and device
CN112995515A (en) * 2021-03-05 2021-06-18 浙江大华技术股份有限公司 Data processing method and device, storage medium and electronic device
CN113132615A (en) * 2019-12-31 2021-07-16 深圳云天励飞技术有限公司 Object image acquisition method and device, electronic equipment and storage medium
CN113596325A (en) * 2021-07-15 2021-11-02 盛景智能科技(嘉兴)有限公司 Picture capturing method and device, electronic equipment and storage medium
CN117437157A (en) * 2023-10-16 2024-01-23 无锡远传融创科技有限公司 Image processing method based on monitoring video data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790041A (en) * 2010-03-31 2010-07-28 天津三星光电子有限公司 Method for realizing specific target prompting function by digital video camera
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104679879A (en) * 2015-03-12 2015-06-03 广东欧珀移动通信有限公司 Intelligent storage method and intelligent storage device for photo
CN105744169A (en) * 2016-03-29 2016-07-06 北京小米移动软件有限公司 Image shooting method and device
EP3125529A1 (en) * 2015-07-31 2017-02-01 Xiaomi Inc. Method and device for image photographing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790041A (en) * 2010-03-31 2010-07-28 天津三星光电子有限公司 Method for realizing specific target prompting function by digital video camera
CN104408061A (en) * 2014-10-29 2015-03-11 深圳市中兴移动通信有限公司 Photo album management method and device
CN104679879A (en) * 2015-03-12 2015-06-03 广东欧珀移动通信有限公司 Intelligent storage method and intelligent storage device for photo
EP3125529A1 (en) * 2015-07-31 2017-02-01 Xiaomi Inc. Method and device for image photographing
CN105744169A (en) * 2016-03-29 2016-07-06 北京小米移动软件有限公司 Image shooting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115285A (en) * 2019-06-21 2020-12-22 杭州海康威视数字技术股份有限公司 Picture cleaning method and device
CN113132615A (en) * 2019-12-31 2021-07-16 深圳云天励飞技术有限公司 Object image acquisition method and device, electronic equipment and storage medium
CN111813980A (en) * 2020-08-03 2020-10-23 Oppo广东移动通信有限公司 Picture processing method and device, electronic equipment and storage medium
CN112995515A (en) * 2021-03-05 2021-06-18 浙江大华技术股份有限公司 Data processing method and device, storage medium and electronic device
CN113596325A (en) * 2021-07-15 2021-11-02 盛景智能科技(嘉兴)有限公司 Picture capturing method and device, electronic equipment and storage medium
CN113596325B (en) * 2021-07-15 2023-05-05 盛景智能科技(嘉兴)有限公司 Method and device for capturing images, electronic equipment and storage medium
CN117437157A (en) * 2023-10-16 2024-01-23 无锡远传融创科技有限公司 Image processing method based on monitoring video data

Similar Documents

Publication Publication Date Title
CN108174093A (en) Method, equipment and the computer of moment image can storage mediums
CN108495056A (en) Photographic 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
CN109167910A (en) focusing method, mobile terminal and computer readable storage medium
CN108712603B (en) Image processing method and mobile terminal
CN108108704A (en) Face identification method and mobile terminal
CN108830062A (en) Face identification method, mobile terminal and computer readable storage medium
CN107317963A (en) A kind of double-camera mobile terminal control method, mobile terminal and storage medium
CN107493426A (en) A kind of information collecting method, equipment and computer-readable recording medium
CN108198159A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN108171743A (en) Method, equipment and the computer for shooting image can storage mediums
CN108600647A (en) Shooting preview method, mobile terminal and storage medium
CN109743504A (en) A kind of auxiliary photo-taking method, mobile terminal and storage medium
CN107807857A (en) Method, equipment and the computer for clearing up running memory can storage mediums
CN107959795A (en) A kind of information collecting method, equipment and computer-readable recording medium
CN109711226A (en) Two-dimensional code identification method, device, mobile terminal and readable storage medium storing program for executing
CN108053371A (en) A kind of image processing method, terminal and computer readable storage medium
CN109525783A (en) A kind of exposure image pickup method, terminal and computer readable storage medium
CN108549853A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN108055463A (en) Image processing method, terminal and storage medium
CN110032887A (en) A kind of picture method for secret protection, terminal and computer readable storage medium
CN107995417A (en) A kind of method taken pictures and mobile terminal
CN108376239A (en) A kind of face identification method, mobile terminal and storage medium
CN107613200A (en) A kind of focus adjustment method, equipment and computer-readable recording medium
CN107527036A (en) A kind of Environmental security detection method, terminal 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615