CN107911613A - Camera control method, mobile terminal and computer-readable medium - Google Patents
Camera control method, mobile terminal and computer-readable medium Download PDFInfo
- Publication number
- CN107911613A CN107911613A CN201711416212.8A CN201711416212A CN107911613A CN 107911613 A CN107911613 A CN 107911613A CN 201711416212 A CN201711416212 A CN 201711416212A CN 107911613 A CN107911613 A CN 107911613A
- Authority
- CN
- China
- Prior art keywords
- information
- authorized
- photographing instruction
- face
- judging
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
Abstract
The present invention discloses a kind of camera control method, mobile terminal and computer-readable medium, and the camera control method includes the following steps:Receive photographing instruction;Judge whether the photographing instruction is authorized to;If it is, perform the photographing instruction.Technical scheme, by when receiving photographing instruction, judging the validity of photographing instruction;Effectively it can prevent mobile terminal from being abused by other people, and the situation that have taken many useless photos occurs.
Description
Technical field
The present invention relates to field of terminal, more particularly to a kind of camera control method, mobile terminal and computer-readable Jie
Matter.
Background technology
With the continuous popularization 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 enjoy liking for users.
The mobile terminal for borrowing others is taken pictures, and is also more and more occurred in actual life, however, many times
User is not intended to other people and is taken pictures with the mobile terminal of oneself, and is not easy to refuse.So, the work(of taking pictures of mobile terminal how is prevented
It can be abused, just become a technical problem urgently to be resolved hurrily.
The content of the invention
The main object of the present invention is to provide a kind of camera control method, mobile terminal and computer-readable medium, purport
Occur effectively preventing the situation that the camera function of mobile terminal is abused.
To achieve the above object, camera control method proposed by the present invention, includes the following steps:
Receive photographing instruction;
Judge whether the photographing instruction is authorized to;
If it is, perform the photographing instruction.
Optionally, the step for judging whether the photographing instruction is authorized to includes:
Find a view all people's face information included in picture;
Whether authorized person's face information is included in the face information for judging to get;
If it is, judge that the photographing instruction is authorized to.
Optionally, the step of whether including authorized person's face information in the face information for judging to get includes:
The face information got and default face information are compared;
Whether the face information for judging to get matches with default face information;
If it is, include authorized person's face information in the face information for judging to get.
Optionally, the step of whether face information for judging to get matches with default face information includes:
Based on face identification method, whether the face information for judging to get matches with default face information;The people
Face recognition method includes geometrical measurers, Local Features Analysis method, eigenfaces, elastic model, and neural network.
Optionally, the step for judging whether the photographing instruction is authorized to includes:
Obtain the acoustic information in surrounding enviroment;
Whether the acoustic information for judging to get is comprising authorized acoustic information;
If it is, judge that the photographing instruction is authorized to.
Optionally, whether the acoustic information for judging to get includes comprising the step of authorized acoustic information:
The acoustic information got and default acoustic information are compared;
Whether the acoustic information for judging to get matches with default acoustic information;
If it is, the acoustic information for judging to get includes authorized acoustic information.
Optionally, the step of whether acoustic information for judging to get matches with default acoustic information includes:It is logical
Method for recognizing sound-groove is crossed, whether the acoustic information for judging to get matches with default acoustic information.
Optionally, after the step for judging the photographing instruction and whether being authorized to, further include:
Reminded if it is not, then output authorizes.
In addition, to achieve these goals, the present invention also proposes a kind of mobile terminal, including memory, processor and deposits
The control program of taking pictures stored up on the memory and can run on the processor, the control program of taking pictures is by the place
Reason device realizes following steps when performing:
Receive photographing instruction;
Judge whether the photographing instruction is authorized to;
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
Control program of taking pictures is stored with matter, the control program of taking pictures realizes following steps when being performed by the processor:
Receive photographing instruction;
Judge whether the photographing instruction is authorized to;
If it is, perform the photographing instruction.
Technical scheme, by when receiving photographing instruction, judging the validity of photographing instruction;Can
Effectively to prevent mobile terminal from being abused by other people, and the situation that have taken many useless photos occurs.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are 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.
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of 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 flow chart of camera control method first embodiment of the present invention;
Fig. 4 is one use state diagram of mobile terminal of the present invention;
Fig. 5 is the flow chart of camera control method second embodiment of the present invention;
Fig. 6 is another use state diagram of mobile terminal of the present invention;
Fig. 7 is the flow diagram of camera control method 3rd embodiment of the present invention;
Fig. 8 is flow the step of whether including authorized person's face information in the face information for judging to get in Fig. 7
Figure;
Fig. 9 is the another use state diagram of mobile terminal of the present invention;
Figure 10 is the flow diagram of camera control method fourth embodiment of the present invention;
Figure 11 is the flow for the step of whether acoustic information for judging to get in Figure 10 is comprising authorized acoustic information
Figure;
Figure 12 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.
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 follow-up description, the suffix using such as " module ", " component " or " unit " for representing 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
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization 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 component 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 some 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 receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink 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, penetrate
Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication
Standard or agreement, include 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, browse 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, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change 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 isotype, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exports,.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 loudspeaker, 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 view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted 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 (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing 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 and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced 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, the application available for identification 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 for the information for showing by information input by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment device is driven according to formula set in advance.Contact 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.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, when contact 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, contact 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, can
The function that outputs and inputs of mobile terminal is realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.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 connecting the device 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
Voice 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 whole mobile terminal of connection
A part, by running or performing the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, 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, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle 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) to all parts power supply, 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 function 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
Unite includes UE (User Equipment, the use for communicating connection successively for the LTE system of universal mobile communications technology, the LTE system
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 connected 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 between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used in relation to service features, data rate etc.
The dedicated information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision-making 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., do 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 flow chart of camera control method first embodiment of the present invention;Fig. 4 is the present invention
One use state diagram of mobile terminal.
In the present embodiment, the camera control method includes the following steps:
Step S310, photographing instruction is received.
Specifically, in the present embodiment, the camera control method is mainly used in mobile terminal (such as 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 by the camera of the mobile terminal be aligned landscape to be captured and/or
Personage, is allowed to be shown in the display interface of the application program of the camera.Then, the application program of the camera is triggered
Photographing instruction (for example click on virtual key in the application program of the camera, or the pressing mobile terminal to answering the bid
Side button according to function etc.).
Step S320, judge whether the photographing instruction is authorized to;If it is, perform step S330;If it is not, then not
Perform the photographing instruction.
Specifically, after photographing instruction input by user is received, judge whether the photographing instruction is authorized to, Jin Ershi
Now to the judgement of the validity of the photographing instruction.The concrete mode of judgement can be:Judge whether to receive input by user
Authorized order.If it is, judging that the photographing instruction is authorized to, the photographing instruction is effective;If it is not, then judge the bat
Uncommitted according to instructing, the photographing instruction is invalid.When the photographing instruction is authorized to (that is, the photographing instruction is effective)
When, then perform step S330.And when the photographing instruction uncommitted (that is, the photographing instruction is invalid), then terminate, no
Perform any operation.
Step S330, the photographing instruction is performed.
Specifically, after detecting that the photographing instruction is authorized to, then the photographing instruction is performed, complete the bat of photo
Take the photograph.
The technical solution of the present embodiment, by when receiving photographing instruction, judging the validity of photographing instruction;
Effectively it can prevent mobile terminal from being abused by other people, and the situation that have taken many useless photos occurs.
Further, as shown in Figures 5 and 6, Fig. 5 is the flow chart of camera control method second embodiment of the present invention;Fig. 6
For another use state diagram of mobile terminal of the present invention.
In the present embodiment, the camera control method includes the following steps:
Step S410, photographing instruction is received.
Specifically, in the present embodiment, the camera control method is mainly used in mobile terminal (such as 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 by the camera of the mobile terminal be aligned landscape to be captured and/or
Personage, is allowed to be shown in the display interface of the application program of the camera.Then, the application program of the camera is triggered
Photographing instruction (for example click on virtual key in the application program of the camera, or the pressing mobile terminal to answering the bid
Side button according to function etc.).
Step S420, judge whether the photographing instruction is authorized to;If it is, perform step S430;If it is not, then hold
Row step S440.
Specifically, after photographing instruction input by user is received, judge whether the photographing instruction is authorized to, Jin Ershi
Now to the judgement of the validity of the photographing instruction.The concrete mode of judgement can be:Judge whether to receive input by user
Authorized order.If it is, judging that the photographing instruction is authorized to, the photographing instruction is effective;If it is not, then judge the bat
Uncommitted according to instructing, the photographing instruction is invalid.When the photographing instruction is authorized to (that is, the photographing instruction is effective)
When, then perform step S430.And when the photographing instruction uncommitted (that is, the photographing instruction is invalid), then perform step
Rapid S440.
Step S430, the photographing instruction is performed.
Specifically, after detecting that the photographing instruction is authorized to, then the photographing instruction is performed, complete the bat of photo
Take the photograph.
Step S440, output, which authorizes, reminds.
Specifically, after detecting that the photographing instruction is uncommitted, then ejected in the display interface of the mobile terminal
" photographing instruction unauthorized, retries after please authorizing " etc. reminds, to remind user to authorize the photographing instruction.
The technical solution of the present embodiment, by when receiving photographing instruction, judging the validity of photographing instruction;
Effectively it can prevent mobile terminal from being abused by other people, and the situation that have taken many useless photos occurs;Meanwhile in photographing instruction
When not authorized, remind user to authorize photographing instruction, realize that the hommization to user is reminded, and then effectively lifted and used
The satisfaction at family.
Further, as shown in Figure 7 to 9, Fig. 7 is that the flow of camera control method 3rd embodiment of the present invention is illustrated
Figure;Fig. 8 is flow chart the step of whether including authorized person's face information in the face information for judging to get in Fig. 7;Fig. 9
For the another use state diagram of mobile terminal of the present invention.
In the present embodiment, the camera control method includes the following steps:
Step S510, photographing instruction is received.
Specifically, in the present embodiment, the camera control method is mainly used in mobile terminal (such as smart mobile phone
Deng).
When user needs to shoot character image by the mobile terminal, pass through the photograph on the mobile terminal first
Machine icon, starts the application program of the corresponding camera.Then, screening-mode is made choice, to select personage's pattern;And
The camera of the mobile terminal is directed at background to be captured and personage, is allowed to be shown in the application program of the camera
Display interface.Then, the photographing instruction for triggering the application program of the camera (for example clicks on the application journey of the camera
Virtual key in sequence, or side button of correspondence camera function of the pressing mobile terminal etc.).
Step S520, find a view all people's face information included in picture;Wherein, the picture of finding a view includes background
And personage.
Specifically, in the present embodiment, when background and personage are shown in the display interface of the camera application,
Obtain the face information for all persons being shown in the display interface.The face information includes face contour, each organ
Position and geometry etc..
Step S530, whether authorized person's face information is included in the face information for judging to get;If it is, perform
Step S540;If it is not, then perform step S550.
The step of whether including authorized person's face information in the face information for judging to get includes:
Step S531, the face information got and default face information are compared.
Specifically, the default face information can be one or more, it is pre-stored within by the mode such as take pictures
In the memory space of mobile terminal.
Step S532, judge whether the face information got matches with default face information;If it is, perform step
Rapid S533;If it is not, then perform step S534.
Step S533, judge that the face information got is matched with default face information.
Step S534, the face information for judging to get is mismatched with default face information.
Specifically, in the present embodiment, the face information got by face recognition technology judgement and default face
Whether information matches.The face recognition technology specifically includes following several ways:
1st, the method based on geometric properties
Face is made of components such as eyes, nose, face, chins, just because of in the shape of these components, size and structure
Each species diversity just so that each face is multifarious in the world, therefore shape to these components and the geometry of structural relation are retouched
State, can be as the key character of recognition of face.Geometric properties are the description and identification for face side profile earliest, first
Some significant points are determined according to side profile curve, and by these significant points export one group be used for the characteristic measure that identifies such as away from
From, angle etc..Front face identification is carried out generally by Important Characteristic Points such as extraction human eye, mouth, noses using geometric properties
The geometry of the vitals such as position and eyes is as characteristic of division.
Deformable template method can be considered as a kind of improvement of geometric properties method, its basic thought is:Design a parameter
Adjustable organ model (i.e. deformable template) defines an energy function, makes energy function minimum by adjusting model parameter
Change, model parameter at this time is i.e. as the geometric properties of the organ.
2nd, Local Features Analysis method (Local Face Analysis, LFA)
The expression of principal component subspace is compact, and intrinsic dimensionality substantially reduces, but it is delocalization, its kernel function
Support is extended in whole coordinate space, while it is non-topological, in the point closed on after some axial projection and artwork image space
The proximity of point does not have any relation, and locality and topological are preferable characteristics to pattern analysis and segmentation, it appears that this is more
Meet the mechanism of Neural information processing, therefore it is particularly significant to find the expression with this characteristic.In view of this consideration, base is proposed
In the face characteristic extraction and recognition methods of local feature.
3rd, eigenface method (Eigenface or PCA)
Eigenface method is the people based on principal component analysis (principal component analysis, abbreviation PCA)
Face recognition method.
The basic thought of feature sub-face technology is:From the viewpoint of statistics, the basic element of facial image distribution, i.e. people are found
The feature vector of face image sample set covariance matrix, facial image is approx characterized with this.These feature vectors are known as feature
Face (Eigenface).In fact, eigenface reflects the structure pass for lying in information and face inside face sample set
System.The feature vector of sample set covariance matrix of eyes, cheek, lower jaw is known as eigen eyes, feature jaw and feature lip, is referred to as
Sub-face of feature.Sub-face of feature generated subspace in corresponding image space, is known as sub-face space.Calculate test image window
In the projector distance of sub-face space, if video in window meets threshold value comparison condition, judge it for face.
Feature based analysis method, that is, by the relative ratios of face datum mark and it is other description face face feature
Form parameter or classification parameter etc. form recognition feature vector together, this identification based on overall face not only remains face
Topological relation between component, and the information of each component in itself is remained, and the identification based on component is then to pass through extraction
Go out local configuration information and half-tone information to design specific recognizer.This method is the first face such as definite eye iris, the wing of nose, corners of the mouth
As attributes such as the size of face profile, position, distances, their geometric feature is then calculated again, and these characteristic quantity shapes
The feature vector for describing the image surface into one.The core of its technology is actual for " partial body's signature analysis " and " figure/nerve identification
Algorithm." this algorithm is method using each organ of human body face and characteristic portion.Such as correspond to the more data of geometrical relationship and formed and known
Other parameter is compared with initial parameter all in database, judgement is with confirming.
4th, the method based on elastic model
Facial image is modeled as deformable 3D surface meshes, so that face matching problem is converted into deformable surface
Elastic Matching problem.Using the method march facial disfigurement of finite element analysis, and two pictures are judged according to the situation of deformation
Whether it is same person.
5th, neural net method (Neural Networks)
Artificial neural network is a kind of Kind of Nonlinear Dynamical System, has good self-organizing, adaptive ability.God at present
Research through network method in recognition of face is in the ascendant.One of which method is:50 pivots of face are extracted first, so
Mapped it in 5 dimension spaces with auto-correlation neutral net, then differentiated with a common multilayer perceptron afterwards.
Step S540, the photographing instruction is performed.
Specifically, when recognized by face recognition technology include authorized person's face information in picture of finding a view when, then
The face information for judging to get is matched with default face information, that is, including in the face information got authorized
Face information, then, then judge that the photographing instruction has been authorized to, then perform the photographing instruction, realize the shooting of photo.
Step S550, output, which authorizes, reminds.
Specifically, when by face recognition technology it is unidentified do not include authorized person's face information into picture of finding a view when,
The face information for then judging to get is mismatched with default face information, that is, not including quilt in the face information got
The face information of mandate, then, then the mobile terminal display interface pop-up " it is unidentified to arrive authorized person's face information,
Photographing instruction unauthorized, retries after please authorizing " etc. remind, to remind user to authorize the photographing instruction.
The technical solution of the present embodiment, is identified in picture of finding a view by face recognition technology and whether there is authorized person's face
Information judges whether photographing instruction is authorized to, and effectively can prevent mobile terminal from being abused by other people, and have taken and many do not wrap
The situation of photo containing donor occurs;Meanwhile when photographing instruction is not authorized, user is reminded to award photographing instruction
Power, realizes that the hommization to user is reminded, and then effectively lifts the satisfaction of user.
Further, as shown in Figure 10 to Figure 12, Figure 10 is that the flow of camera control method fourth embodiment of the present invention is shown
It is intended to;Figure 11 is the flow chart for the step of whether acoustic information for judging to get in Figure 10 is comprising authorized acoustic information;
Figure 12 is the another use state diagram of mobile terminal of the present invention.
In the present embodiment, the camera control method includes following methods:
Step S610, photographing instruction is received.
Specifically, in the present embodiment, the camera control method is mainly used in mobile terminal (such as smart mobile phone
Deng).
When user is needed by the mobile terminal shooting image, pass through the camera diagram on the mobile terminal first
Mark, starts the application program of the corresponding camera, and by the camera of the mobile terminal be aligned background to be captured and/or
Personage, is allowed to be shown in the display interface of the application program of the camera.Then, the application program of the camera is triggered
Photographing instruction (for example click on virtual key in the application program of the camera, or the pressing mobile terminal to answering the bid
Side button according to function etc.).
Step S620, the acoustic information in surrounding enviroment is obtained.
Specifically, the acoustic information of surrounding enviroment is obtained, and the acoustic information to getting analyzes and processes, with filtering
Noise, and then avoid the interference of noise.The acoustic information includes tone color, tone etc..
Whether the acoustic information for step S630, judging to get is comprising authorized acoustic information;If it is, perform step
Rapid S640;If it is not, then perform step S650.
Whether the acoustic information for judging to get includes comprising the step of authorized acoustic information:
Step S631, the acoustic information got and default acoustic information are compared.
Specifically, the default acoustic information can be one or more, it is pre-stored within the storage of mobile terminal
In space.
Step S632, judge whether the acoustic information got matches with default acoustic information;If it is, perform step
Rapid S633;If it is not, then perform step S634.
Step S633, judge that the acoustic information got includes authorized acoustic information.
Step S634, the acoustic information for judging to get does not include authorized acoustic information.
Specifically, in the present embodiment, by sound groove recognition technology in e judge the acoustic information that gets whether with it is default
Acoustic information matches.
Sound groove recognition technology in e is one kind of biological identification technology.Also referred to as Speaker Identification, there is two classes, i.e. speaker recognizes
And speaker verification.So-called vocal print (Voiceprint), is the sound wave spectrum for the carrying verbal information that electricity consumption acoustic instrument is shown.
The generation of human language is a complicated physiology physical process between Body Languages maincenter and vocal organs, and people makes in speech
Phonatory organ -- tongue, tooth, larynx, lung, nasal cavity everyone widely different in terms of size and form, so any two
Personal voiceprint map is all variant.Everyone existing relative stability of speech acoustics feature, and have variability, it is not absolute
, it is unalterable.This variation may be from physiology, pathology, psychology, simulation, camouflage, also related with environmental disturbances.Although such as
This, since everyone vocal organs are not quite similar, under normal circumstances, people remain to distinguish the sound of different people
Or judge whether be same people sound.
Step S640, photographing instruction is performed.
Specifically, include authorized acoustic information in working as the acoustic information that acquisition is recognized by sound groove recognition technology in e
When, then the acoustic information for judging to get is matched with default acoustic information, that is, include in the acoustic information got by
The acoustic information of mandate, then, then judge that the photographing instruction has been authorized to, then perform the photographing instruction, realize photo
Shooting.
Step S650, output, which authorizes, reminds.
Specifically, authorized acoustic information is not included in working as the acoustic information that acquisition is recognized by sound groove recognition technology in e
When, then the acoustic information and the default acoustic information that judge to get mismatch, that is, not including in the acoustic information got
There is authorized acoustic information, then, then it is " unidentified to authorized sound letter in the display interface pop-up of the mobile terminal
Breath, photographing instruction unauthorized, retries after please authorizing " etc. remind, to remind user to authorize the photographing instruction.
In the present embodiment, when user is taken pictures using mobile terminal,
The technical solution of the present embodiment, is identified in surrounding enviroment with the presence or absence of authorized sound by sound groove recognition technology in e
Information judges whether photographing instruction is authorized to, and effectively can prevent mobile terminal from being abused by other people, and have taken many useless
Photo situation occur;Meanwhile when photographing instruction is not authorized, remind user to authorize photographing instruction, realize
Hommization to user is reminded, and then effectively lifts the satisfaction of user.
The present invention also proposes a kind of mobile terminal, including memory, processor and is stored on the memory and can be
The control program of taking pictures run on the processor, the control program of taking pictures are realized above-mentioned any when being performed by the processor
All steps in one embodiment.Since the mobile terminal can perform all steps in above-mentioned any one embodiment, institute
At least there are all beneficial effects caused by the technical solution of above method embodiment with this mobile terminal, herein no longer one by one
Repeat.
The present invention also proposes a kind of computer-readable medium, and control journey of taking pictures is stored with the computer-readable medium
Sequence, the control program of taking pictures realize all steps in above-mentioned any one embodiment when being performed by the processor.By institute
All steps in above-mentioned any one embodiment can be performed by stating computer-readable medium, so this computer-readable medium is at least
All beneficial effects caused by technical solution with above method embodiment, this is no longer going to repeat them.
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 key elements, and
And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key 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 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), including some instructions are used 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 embodiment is only schematical, rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of camera control method, it is characterised in that include the following steps:
Receive photographing instruction;
Judge whether the photographing instruction is authorized to;
If it is, perform the photographing instruction.
2. the camera control method as described in right wants 1, it is characterised in that described to judge what whether the photographing instruction was authorized to
Step includes:
Find a view all people's face information included in picture;
Whether authorized person's face information is included in the face information for judging to get;
If it is, judge that the photographing instruction is authorized to.
3. camera control method as claimed in claim 2, it is characterised in that it is described judge in the face information that gets whether
Include comprising the step of authorized person's face information:
The face information got and default face information are compared;
Whether the face information for judging to get matches with default face information;
If it is, include authorized person's face information in the face information for judging to get.
4. camera control method as claimed in claim 3, it is characterised in that the face information for judging to get is with presetting
Face information the step of whether matching include:
Based on face identification method, whether the face information for judging to get matches with default face information;The face is known
Other method includes geometrical measurers, Local Features Analysis method, eigenfaces, elastic model, and neural network.
5. the camera control method as described in right wants 1, it is characterised in that described to judge what whether the photographing instruction was authorized to
Step includes:
Obtain the acoustic information in surrounding enviroment;
Whether the acoustic information for judging to get is comprising authorized acoustic information;
If it is, judge that the photographing instruction is authorized to.
6. the camera control method as described in right wants 5, it is characterised in that whether the acoustic information for judging to get includes
The step of authorized acoustic information, includes:
The acoustic information got and default acoustic information are compared;
Whether the acoustic information for judging to get matches with default acoustic information;
If it is, the acoustic information for judging to get includes authorized acoustic information.
7. the camera control method as described in right wants 6, it is characterised in that it is described judge the acoustic information that gets with it is default
The step of whether acoustic information matches includes:By method for recognizing sound-groove, the acoustic information that gets and default sound are judged
Whether information matches.
8. the camera control method as described in right wants any one in 1 to 7, it is characterised in that take pictures described in the judgement
After the whether authorized step of instruction, further include:
Reminded if it is not, then output authorizes.
9. a kind of mobile terminal, it is characterised in that including memory, processor and be stored on the memory and can be described
The control program of taking pictures run on processor, the control program of taking pictures realize such as claim 1 when being performed by the processor
The step of to camera control method any one of 8.
A kind of 10. computer-readable medium, it is characterised in that control program of taking pictures is stored with the computer-readable medium,
The control program of taking pictures realizes such as controlling party described in any item of the claim 1 to 8 of taking pictures when being performed by the processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711416212.8A CN107911613A (en) | 2017-12-25 | 2017-12-25 | Camera control method, mobile terminal and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711416212.8A CN107911613A (en) | 2017-12-25 | 2017-12-25 | Camera control method, mobile terminal and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107911613A true CN107911613A (en) | 2018-04-13 |
Family
ID=61870883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711416212.8A Pending CN107911613A (en) | 2017-12-25 | 2017-12-25 | Camera control method, mobile terminal and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107911613A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150269420A1 (en) * | 2014-03-19 | 2015-09-24 | Qualcomm Incorporated | Method and Apparatus for Establishing Connection Between Electronic Devices |
CN105592264A (en) * | 2015-12-17 | 2016-05-18 | 北京大学深圳研究生院 | Voice-controlled photographing software |
CN105744165A (en) * | 2016-02-25 | 2016-07-06 | 深圳天珑无线科技有限公司 | Photographing method and device, and terminal |
CN106803886A (en) * | 2017-02-28 | 2017-06-06 | 深圳天珑无线科技有限公司 | A kind of method and device taken pictures |
CN107172352A (en) * | 2017-06-16 | 2017-09-15 | 广东欧珀移动通信有限公司 | Focusing control method, device, computer can storage medium and mobile terminal |
-
2017
- 2017-12-25 CN CN201711416212.8A patent/CN107911613A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150269420A1 (en) * | 2014-03-19 | 2015-09-24 | Qualcomm Incorporated | Method and Apparatus for Establishing Connection Between Electronic Devices |
CN105592264A (en) * | 2015-12-17 | 2016-05-18 | 北京大学深圳研究生院 | Voice-controlled photographing software |
CN105744165A (en) * | 2016-02-25 | 2016-07-06 | 深圳天珑无线科技有限公司 | Photographing method and device, and terminal |
CN106803886A (en) * | 2017-02-28 | 2017-06-06 | 深圳天珑无线科技有限公司 | A kind of method and device taken pictures |
CN107172352A (en) * | 2017-06-16 | 2017-09-15 | 广东欧珀移动通信有限公司 | Focusing control method, device, computer can storage medium and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108830062B (en) | Face recognition 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 | |
CN108495056A (en) | Photographic method, mobile terminal and computer readable storage medium | |
CN109743504A (en) | A kind of auxiliary photo-taking method, mobile terminal and storage medium | |
CN109656371A (en) | Mobile terminal eye care method, device, mobile terminal and storage medium | |
CN107707751A (en) | Video playback electricity saving method and corresponding mobile terminal | |
CN108427873A (en) | A kind of biological feather recognition method and mobile terminal | |
CN108174093A (en) | Method, equipment and the computer of moment image can storage mediums | |
CN110046597A (en) | Face identification method, mobile terminal and computer readable storage medium | |
CN107333056A (en) | Image processing method, device and the computer-readable recording medium of moving object | |
CN108062489A (en) | A kind of glance prevention method, terminal and computer readable storage medium | |
CN107948430A (en) | A kind of display control method, mobile terminal and computer-readable recording medium | |
CN108197441A (en) | Flexible screen terminal and its solution lock control method, computer readable storage medium | |
CN108230270A (en) | A kind of noise-reduction method, terminal and computer readable storage medium | |
CN109670287A (en) | Intelligent terminal unlocking method, intelligent terminal and computer readable storage medium | |
CN108549853A (en) | A kind of image processing method, mobile terminal and computer readable storage medium | |
CN108196777A (en) | A kind of flexible screen application process, equipment and computer readable storage medium | |
CN108597512A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN108280334A (en) | A kind of unlocked by fingerprint method, mobile terminal and computer readable storage medium | |
CN108197206A (en) | Expression packet generation method, mobile terminal and computer readable storage medium | |
CN107844759A (en) | A kind of gesture identification method, terminal and storage medium | |
CN107563316A (en) | A kind of image pickup method, terminal and computer-readable recording medium | |
CN108229389A (en) | Facial image processing method, apparatus and computer readable storage medium | |
CN109005354A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN108921084A (en) | A kind of image classification processing method, mobile terminal and computer readable storage 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: 20180413 |