CN108388781A - Mobile terminal, image data acquisition method and Related product - Google Patents

Mobile terminal, image data acquisition method and Related product Download PDF

Info

Publication number
CN108388781A
CN108388781A CN201810094856.8A CN201810094856A CN108388781A CN 108388781 A CN108388781 A CN 108388781A CN 201810094856 A CN201810094856 A CN 201810094856A CN 108388781 A CN108388781 A CN 108388781A
Authority
CN
China
Prior art keywords
type
image data
preset control
camera
request
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.)
Granted
Application number
CN201810094856.8A
Other languages
Chinese (zh)
Other versions
CN108388781B (en
Inventor
王健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810094856.8A priority Critical patent/CN108388781B/en
Publication of CN108388781A publication Critical patent/CN108388781A/en
Application granted granted Critical
Publication of CN108388781B publication Critical patent/CN108388781B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a kind of mobile terminal, image data acquisition method and Related products, including:Detect the startup request of camera;The preset control in preset control set is chosen according to the type for starting request, the preset control set includes primary control and the preset control;Face image data is obtained according to the preset control, and face unlock operation is executed according to the face image data.The embodiment of the present invention advantageously reduces the electric quantity consumption of mobile terminal and the occupancy of system resource, promotes the diversity that mobile terminal data obtains.

Description

Mobile terminal, image data acquisition method and Related product
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal, image data acquisition method and phase Close product.
Background technology
With a large amount of popularization and applications of smart mobile phone, the application that smart mobile phone can be supported is more and more, and function is increasingly Powerful, smart mobile phone develops towards diversification, personalized direction, becomes indispensable appliance and electronic in user's life.
Currently, there are two types of primary modes for the use of mobile terminal (such as smart mobile phone) camera, one is have preview interface Mode, this mode needs transfer tape to have the control at interface to be drawn to camera applications and uploads to the interface of mobile terminal It is shown, and another mode is the mode of no preview interface, mobile terminal still can transmit a band under this kind of mode There is the control at interface to be drawn to camera applications, does not execute the interface display operation in mobile terminal but.
Invention content
An embodiment of the present invention provides a kind of mobile terminal, image data acquisition method and Related products, are moved to reduce The electric quantity consumption of dynamic terminal and the occupancy of system resource, promote the diversity that mobile terminal data obtains.
In a first aspect, the embodiment of the present invention provides a kind of mobile terminal, including processor, the camera shooting of the processor is connected Head, wherein:
The memory, for storing preset control set;
The processor, for detecting that the startup of the camera is asked;And for according to the startup request Type chooses the preset control in the preset control set, and the preset control set includes primary control and the default control Part;
The camera, for obtaining face image data according to the preset control;
The processor is additionally operable to, and face unlock operation is executed according to the face image data.
Second aspect, the embodiment of the present invention provide a kind of image data acquisition method, including:
Detect the startup request of camera;
The preset control in preset control set, the preset control set packet are chosen according to the type for starting request Include primary control and the preset control;
Face image data is obtained according to the preset control, and face unlock behaviour is executed according to the face image data Make.
The third aspect, the embodiment of the present invention provide a kind of image data acquisition apparatus, which is characterized in that single including detection Member, selection unit and execution unit, wherein
The detection unit, for detecting that the startup of camera is asked;
The type of the selection unit, the startup request for being detected according to the detection unit chooses default control Preset control in part set, the preset control set include primary control and the preset control;
The execution unit, the preset control for being chosen according to the selection unit obtain face image data, And face unlock operation is executed according to the face image data.
Fourth aspect, the embodiment of the present invention provide a kind of mobile terminal, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure includes the instruction for executing the step in second aspect either method of the embodiment of the present invention.
5th aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, wherein above computer is readable Computer program of the storage medium storage for electronic data interchange, wherein above computer program makes computer execute such as Step some or all of described in second aspect either method of the embodiment of the present invention, above computer include mobile terminal.
6th aspect, an embodiment of the present invention provides a kind of computer program products, wherein above computer program product Non-transient computer readable storage medium including storing computer program, above computer program are operable to make calculating Machine executes the step some or all of as described in second aspect either method of the embodiment of the present invention.The computer program product Can be a software installation packet, above computer includes mobile terminal.
As can be seen that in the embodiment of the present invention, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2A is a kind of flow diagram of image data acquisition method disclosed by the embodiments of the present invention;
Fig. 2 B are a kind of corresponding operating process schematic diagrams of primary control disclosed by the embodiments of the present invention;
Fig. 2 C are a kind of corresponding operating process schematic diagrams of preset control disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another image data acquisition method disclosed by the embodiments of the present invention;
Fig. 4 is the flow diagram of another image data acquisition method disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 6 is a kind of functional unit composition block diagram of image data acquisition apparatus disclosed by the embodiments of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present invention may include various handheld devices with wireless communication function, Mobile unit, wearable device, computing device or other processing equipments and various forms for being connected to radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
It describes in detail below to the embodiment of the present invention.
Referring to Fig. 1, Fig. 1 is an embodiment of the present invention provides a kind of structural schematic diagram of mobile terminal 100, the movement is whole End 100 includes:Shell 110, touching display screen 120, mainboard 130 are provided with processor 140,150 and of memory on mainboard 130 Camera 160 etc., wherein
The memory 140, for storing preset control set;
The processor 150, for detecting that the startup of the camera is asked;And for being asked according to the startup Type choose the preset control in the preset control set, the preset control set includes primary control and described default Control;
The camera 160, for obtaining face image data according to the preset control;
The processor 150 is additionally operable to, and face unlock operation is executed according to the face image data.
Wherein, it can also be rear camera that the camera 160, which can be front camera, not do unique limit herein It is fixed.
Wherein, the touching display screen 120 includes circuit of display driving, display screen and touch screen, and the display drives Dynamic circuit is for controlling display data and display parameters (for example, brightness, color, saturation degree etc.) of the display screen according to picture It carries out content to show, the touch screen is organic light-emitting diode (OLED) display screen OLED for detecting touch control operation, the display screen.
Wherein, the shape size of the mainboard 130 can be the arbitrary size and shape that the mobile terminal can accommodate, Unique restriction is not done herein.
Wherein, processor 140 is the control centre of mobile terminal, utilizes various interfaces and the entire mobile terminal of connection Various pieces, by running or execute the software program and/or module that are stored in memory 150, and call and be stored in Data in memory 150 execute the various functions and processing data of mobile terminal, to carry out whole prison to mobile terminal Control.Optionally, processor 140 can integrate application processor and modem processor, wherein application processor mainly handles behaviour Make system, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned Modem processor can not also be integrated into processor 140.
Wherein, memory 150 can be used for storing software program and module, and processor 140 is stored in storage by operation The software program and module of device 150, to execute various function application and the data processing of mobile terminal.Memory 150 Can include mainly storing program area and storage data field, wherein storing program area can storage program area, at least one function institute The application program etc. needed;Storage data field can be stored uses created data etc. according to mobile terminal.In addition, memory 150 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic disk storage Part, flush memory device or other volatile solid-state parts.
As can be seen that in the embodiment of the present invention, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
In a possible example, described according in the type selection preset control set for starting request Preset control in terms of, the processor 140 is specifically used for:According to the type for starting request and determining the startup request; And for including being directed to 160 preview of the camera when judging that the startup asks corresponding operation according to the type When the drafting operation at interface, the preset control in the preset control set is chosen.
In a possible example, the processor 140 is also used after the startup request for detecting camera 160 In:According to the service type for starting request and determining the startup request;And for judging when according to the service type Go out it is described start request it is corresponding operation include for 160 preview interface of the camera drafting operation when, choose it is described pre- If the primary control in control set;
The camera 160, the image data for obtaining 160 preview interface of the camera;
The processor 140 is additionally operable to, according to the primary control execute parallel described image data processing operation and Draw operation in the interface of described image data.
In a possible example, in terms of the type for determining the startup request according to the startup request, The processor 140 is specifically used for:Obtain the triggering pending event for starting request;And for according to described pending Event determines the type for starting request.
In this possible example, the type side for starting request is determined according to the pending event described Face, the processor 140 are specifically used for:It is that inquiry identifies with the pending event, inquires the pre- of the storage of the memory 150 If pending event and type mapping relations, determine the pending event it is corresponding it is described start request type, institute It includes the first kind and Second Type to state the type for starting and asking, and corresponding operate of the first kind includes being directed to the camera shooting The drafting of first 160 preview interface operates, and corresponding operate of the Second Type does not include being directed to 160 preview interface of the camera Drafting operation.
It is described to take the photograph in terms of the acquisition face image data according to the preset control in a possible example It is specifically used for as first 160:Determine that the image data of 160 preview interface of the camera to be obtained is according to the preset control Face image data;And at least one of 160 preview interface of camera facial image for identification;And for true It is scheduled on the maximum facial image of area that 160 preview interface of the camera is occupied at least one facial image;And Image data for obtaining the facial image by adjusting the focal length of the camera 160, the pixel of described image data Point number is more than predetermined number threshold value.
Please refer to Fig. 2A, Fig. 2A be an embodiment of the present invention provides a kind of flow diagram of image data acquisition method, Applied to mobile terminal, as shown, this image data acquisition method includes:
S201, mobile terminal detect the startup request of camera;
Wherein, mobile terminal detects that the startup request of camera can be that opening for camera is detected in the case where putting out screen state Dynamic request, can also be the startup request that camera is detected under bright screen state, and the mobile terminal detects camera It can be the startup request that the mobile terminal detects user for camera-type application to start request, by camera-type applications trigger The startup request of camera is taken pictures, and can also be that mobile terminal detects that screen waits for that unlock event is directed to the startup of camera Request carries out recognition of face unlock, or can be that the mobile terminal detects that payment unlock event is (micro- as being directed to Alipay The payment scenes of applications such as letter wait for unlock event) for the startup request progress face unlock identification etc. of camera, herein not Do unique restriction.
Wherein, the mobile terminal includes face unlocked state, and the face unlocked state is for triggering camera acquisition Face image data, and the face image data that camera is passed back is handled, and to face image data and preset people Face image data are matched, and triggering unlock operation, the screen of the mobile terminal wait for unlock event and branch after successful match Pay the startup request that the unlocks events such as unlock event can be triggered the camera by face unlocked state.
Wherein, it can also be rear camera that the startup request of the camera, which can be the startup request of front camera, Start request, or can be the startup request of dual camera, does not do unique restriction herein.
S202, the mobile terminal choose the preset control in preset control set according to the type for starting request, The preset control set includes primary control and the preset control;
Wherein, the type for starting request can be classified according to the event that request is directed to is started, such as is classified as Photograph class unlocks class, payment class etc., wherein it is primary control that photograph class, which needs the interface drafting for carrying out image data corresponding, In have preview interface control, and unlock class and pay class need not carry out image data interface draw, it is corresponding to make In primary control without preview interface control either the preset control;Or the type of startup request can be according to whether need By camera obtain data carry out interface draw display classify, such as be divided into need draw interface the first kind and The Second Type etc. that interface need not be drawn, does not limit herein.
Wherein, control refers to the encapsulation to data and method, and the primary control includes general two of current mobile terminal A photograph class control, as shown in Figure 2 B, one is the controls for having preview interface, are indicated and are taken the photograph using this kind of control startup camera As head needs to return data to after obtaining image data the application for sending the control or module carries out image real time transfer, The control includes an interface to be drawn simultaneously, and instruction camera needs to draw the interface after obtaining image data And it is uploaded to desktop and shows;And another control is no preview interface control, starting camera using this kind of control indicates Camera also needs to return data to the application for sending the control after obtaining image data or module carries out picture number According to processing, while the control also will include an interface to be drawn, and instruction camera needs after obtaining image data to this Interface is drawn, but the interface really need not carry out display operation at the interface of mobile terminal.Therefore, in primary control In, either there is the control of the preview interface still control without preview interface, the operation of display is uploaded in the drafting of image data On be required to carry out the copying of data between the corresponding camera applications of camera and Image Rendering service, interact and centre The calculating and plotting operation of device is managed, so system resource can be caused using no preview interface control when not needing interface and drawing operation Waste, electricity consume excessively.
For example, as shown in Figure 2 B, mobile terminal is asked when detecting that the startup of camera is asked by triggering the startup That asks is sent to camera by primary control using A or controls the camera-type application of the camera, the primary control middle finger Show that image data needs to be back to former application interface and provides interface to be drawn, therefore, camera or camera-type are answered Image data is obtained after receiving primary control, image data is returned to and carries out image real time transfer using A, in addition root Interface drafting is carried out according to image data, and is uploaded to desktop and shows.
Wherein, the preset control is the self-defined control needed for the application, as shown in Figure 2 C, the preset control instruction Camera can't be provided it is only necessary to pass to the image data of acquisition to trigger the application or module that the camera starts Interface to be drawn, thus the data of acquisition need not be carried out interface drafting and display by the corresponding camera-type application of camera Operation.
For example, as shown in Figure 2 C, mobile terminal is asked when detecting that the startup of camera is asked by triggering the startup That asks is sent to camera by preset control using A or controls the camera-type application of the camera, in the preset control only It only indicates image data to need to be back to former application interface, therefore, camera or camera-type are applied and receiving default control Image data is obtained after part, and image data is returned to and carries out image real time transfer using A.
S203, the mobile terminal obtain face image data according to the preset control, and according to the facial image Data execute face unlock operation.
Wherein, the mobile terminal can be according to the specific implementation of preview control acquisition face image data It is diversified, such as can be the image data obtained according to current focus in preview interface, and then image data is carried out Screen the face image data that recognizes the need for, can be either blurred by focusing during obtaining image data or Judge the face image data that the acquisitions such as the distance apart from camera need, does not do unique restriction herein.
Wherein, according to the face image data execute face unlock operation specific implementation be it is diversified, For example, the identification that facial image can be carried out by the data of whole pixels of facial image unlocks operation, can also According to the exclusive characteristic (such as scar, mole etc.) of user in the data of pixel in the parts of images of facial image into pedestrian Identification unlock operation of face image etc., does not limit herein.
As can be seen that in the embodiment of the present invention, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
It is described that presetting in preset control set is chosen according to the type for starting request in a possible example Control, including:
According to the type for starting request and determining the startup request;
It is operated when judging that the startup request is corresponding according to the type including being directed to camera preview circle When the drafting operation in face, the preset control in the preset control set is chosen.
Wherein, when the type is payment class mentioned above, unlock class or above-mentioned Second Type, the startup It does not include the drafting operation for the camera preview interface to ask corresponding operation.
Wherein, whether mobile terminal can be preset with the type for starting request and include being directed to the camera preview interface Drafting operation correspondence, according to the correspondence judge the type it is corresponding operation whether include be directed to the camera The drafting of preview interface operates.
As it can be seen that in this example, mobile terminal determines the type for starting request first, is judged according to the type of startup request When the corresponding operation of the type does not include the drafting operation for the camera preview interface, preset control is chosen, is conducive to Mobile terminal accurately chooses corresponding space, promotes the accuracy of data processing.
In a possible example, after the startup request for detecting camera, the method further includes:
According to the type for starting request and determining the startup request;
It is operated when judging that the startup request is corresponding according to the type including being directed to the camera preview interface Drafting operation when, choose the primary control in the preset control set;
The image data for obtaining the camera preview interface executes described image data parallel according to the primary control Processing operation and described image data interface draw operation.
Wherein, after primary control is determined, it may be determined that it is not face that corresponding event is asked in the startup of the camera Unlock event, therefore the image obtained is not merely facial image, but when all picture numbers in preceding camera preview interface According to, or the image data that obtains depending on the user's operation.
As it can be seen that in this example, mobile terminal is judging that corresponding operation includes being directed to institute according to the type for starting request When stating the drafting operation of camera preview interface, primary control is chosen, judges that the image data obtained is according to primary control Image data in preview interface rather than human face data are conducive to the accuracy for promoting data acquisition, promote the speed of data acquisition Degree is conducive to the speed for promoting image real time transfer moreover, executing processing operation and the interface drafting operation of image data parallel Degree reduces electric quantity consumption.
It is described according to the type for starting request and determining the startup request in a possible example, including:
Obtain the triggering pending event for starting request;
The type for starting request is determined according to the pending event.
Wherein, the pending event can be mentioned above paying wait for unlock event, screen wait for unlock event or Camera event to be captured etc., does not do unique restriction herein.
For example, mobile terminal detects that pending event is to pay the unlock event that waits for, and wait solving by executing the payment The startup request of the face unlocked state triggering camera of lock event, waits for that unlock event can determine startup according to the payment The type of request.
Wherein, different pending events corresponds to the type of identical or different startup request, and the mobile terminal can To preset the mapping relations between pending event and the type for starting request before manufacture by technical staff, closed according to the mapping System determines the type for starting request.
As it can be seen that in this example, mobile terminal obtains first triggers the pending event for starting request, waits holding according to this It acts part and determines the type for starting request, be conducive to promote the convenience that mobile terminal data obtains, promote data acquisition efficiency.
It is described that the type for starting request is determined according to the pending event in this possible example, including:
It is that inquiry identifies with the pending event, inquires the mapping relations of preset pending event and type, determine The corresponding type for starting request of the pending event, the type for starting request includes the first kind and the second class Type, corresponding operate of the first kind includes the drafting operation for being directed to the camera preview interface, the Second Type pair The operation answered does not include the drafting operation for the camera preview interface.
As it can be seen that in this example, mobile terminal will start the type of request according to whether drawing preview circle of camera Face is divided into the first kind and Second Type, rather than is divided into multiple types according to the purposes of pending event, simplifies type Classification is conducive to promote the convenience that mobile terminal chooses control, promotes mobile terminal treatment effeciency.
It is described that face image data is obtained according to the preset control in a possible example, including:
Determine that the image data of the camera preview interface to be obtained is facial image number according to the preset control According to;
Identify at least one of camera preview interface facial image;
Determine the maximum face figure of area that the camera preview interface is occupied at least one facial image Picture;
Focal length by adjusting the camera obtains the image data of the facial image, the pixel of described image data Point number is more than predetermined number threshold value.
Wherein, by preset control it is known that will be executed is face unlock event, therefore, camera passes through acquisition Preset control can determine that image data that needs obtain is face image data.
As it can be seen that in this example, mobile terminal can notify that the camera data to be acquired are face figure by choosing control Picture data, and all data of non-present camera preview interface, improve the specific aim that camera obtains image data, reduce The data volume of image procossing, moreover, when there are multiple facial images, acquisition occupies the maximum image of area in preview interface For the facial image currently needed, method is simple, improves the accuracy of facial image acquisition, and obtain clearly by focusing And pixel number be more than predetermined number threshold value image data, be conducive to promoted data processing success rate.
It is consistent with embodiment shown in above-mentioned Fig. 2A, referring to Fig. 3, Fig. 3 is a kind of figure provided in an embodiment of the present invention As the flow diagram of data capture method, it is applied to mobile terminal.As shown, this image data acquisition method includes:
S301, mobile terminal detect the startup request of camera.
S302, the mobile terminal is according to the type for starting request and determining the startup request.
S303, the mobile terminal include being directed to when judging that the startup asks corresponding operation according to the type When the drafting operation of the camera preview interface, the preset control in preset control set is chosen.
Wherein, the preset control set includes primary control and the preset control.
S304, the mobile terminal determine the image of the camera preview interface to be obtained according to the preset control Data are face image data.
S305, the mobile terminal identify at least one of camera preview interface facial image.
S306, the mobile terminal determination occupy the camera preview interface at least one facial image The maximum facial image of area.
S307, the mobile terminal obtain the image data of the facial image by adjusting the focal length of the camera, The pixel number of described image data is more than predetermined number threshold value.
S308, the mobile terminal execute face unlock operation according to the face image data.
As can be seen that in the embodiment of the present invention, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
In addition, mobile terminal determines the type for starting request first, the type asked according to the startup judges the type pair When the operation answered does not include the drafting operation for the camera preview interface, preset control is chosen, mobile terminal is conducive to Corresponding space is accurately chosen, the accuracy of data processing is promoted.
In addition, mobile terminal can notify that the camera data to be acquired are face image data by choosing control, and All data of non-present camera preview interface improve the specific aim that camera obtains image data, reduce at image The data volume of reason, moreover, when there are multiple facial images, it is currently to need that acquisition, which occupies the maximum image of area in preview interface, The facial image wanted, method is simple, improves the accuracy of facial image acquisition, and by focusing acquisition clearly and pixel Point number is more than the image data of predetermined number threshold value, is conducive to the success rate for promoting data processing.
It is consistent with embodiment shown in above-mentioned Fig. 2A, referring to Fig. 4, Fig. 4 is a kind of figure provided in an embodiment of the present invention As the flow diagram of data capture method, it is applied to mobile terminal.As shown, this image data acquisition method includes:
S401, mobile terminal detect the startup request of camera.
S402, the acquisition for mobile terminal trigger the pending event for starting request.
S403, the mobile terminal are that inquiry identifies with the pending event, inquire preset pending event and class The mapping relations of type determine the corresponding type for starting request of the pending event, the type packet for starting request Include the first kind and Second Type.
Wherein, the corresponding operation of the first kind includes the drafting operation for the camera preview interface, described The corresponding operation of Second Type does not include the drafting operation for the camera preview interface.
S404, the mobile terminal include being directed to when judging that the startup asks corresponding operation according to the type When the drafting operation of the camera preview interface, the preset control in preset control set is chosen.
Wherein, the preset control set includes primary control and the preset control.
S405, the mobile terminal determine the image of the camera preview interface to be obtained according to the preset control Data are face image data.
S406, the mobile terminal identify at least one of camera preview interface facial image.
S407, the mobile terminal determination occupy the camera preview interface at least one facial image The maximum facial image of area.
S408, the mobile terminal obtain the image data of the facial image by adjusting the focal length of the camera, The pixel number of described image data is more than predetermined number threshold value.
S409, the mobile terminal execute face unlock operation according to the face image data.
As can be seen that in the embodiment of the present invention, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
In addition, mobile terminal obtains the pending event for starting request that triggers first, it is true according to the pending event The fixed type for starting request is conducive to promote the convenience that mobile terminal data obtains, promotes data acquisition efficiency.Moreover, will Start the type of request according to whether the preview interface for drawing camera is divided into the first kind and Second Type, rather than root It is divided into multiple types according to the purposes of pending event, simplifies the classification of type, is conducive to promote mobile terminal selection control Convenience promotes mobile terminal treatment effeciency.
In addition, mobile terminal can notify that the camera data to be acquired are face image data by choosing control, and All data of non-present camera preview interface improve the specific aim that camera obtains image data, reduce at image The data volume of reason, moreover, when there are multiple facial images, it is currently to need that acquisition, which occupies the maximum image of area in preview interface, The facial image wanted, method is simple, improves the accuracy of facial image acquisition, and by focusing acquisition clearly and pixel Point number is more than the image data of predetermined number threshold value, is conducive to the success rate for promoting data processing.
It is consistent with above-mentioned Fig. 2A, Fig. 3, embodiment shown in Fig. 4, it is provided referring to Fig. 5, Fig. 5 is the embodiment of the present invention A kind of mobile terminal structural schematic diagram, as shown, the mobile terminal include processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure includes the instruction for executing following steps;
Detect the startup request of camera;
The preset control in preset control set, the preset control set packet are chosen according to the type for starting request Include primary control and the preset control;
Face image data is obtained according to the preset control, and face unlock behaviour is executed according to the face image data Make.
As can be seen that in the embodiment of the present invention, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
In a possible example, described according to pre- in the type selection preset control set for starting request If in terms of control, the instruction in above procedure is specifically used for executing following steps:The startup is determined according to startup request The type of request;And for including being taken the photograph for described when judging that the startup asks corresponding operation according to the type When being operated as the drafting of head preview interface, the preset control in the preset control set is chosen.
In a possible example, above procedure further includes the instruction for executing following steps:It is detected described After the startup request of camera, according to the type for starting request and determining the startup request;And for when according to institute State type judge it is described start request it is corresponding operation include for the camera preview interface drafting operation when, choose The primary control in the preset control set;And the image data for obtaining the camera preview interface, root Draw operation in the interface of the processing operation and described image data that execute described image data parallel according to the primary control.
In a possible example, in terms of the type for determining the startup request according to the startup request, Instruction in above procedure is specifically used for executing following steps:Obtain the triggering pending event for starting request;And it uses In the type for determining the startup request according to the pending event.
In this possible example, the type side for starting request is determined according to the pending event described Face, the instruction in above procedure are specifically used for executing following steps:It is that inquiry identifies with the pending event, inquiry is preset The mapping relations of pending event and type determine the corresponding type for starting request of the pending event, described to open The type of dynamic request includes the first kind and Second Type, and corresponding operate of the first kind includes pre- for the camera Look at the drafting operation at interface, the corresponding operation of the Second Type does not include being grasped for the drafting of the camera preview interface Make.
In a possible example, in terms of the acquisition face image data according to the preset control, above-mentioned journey Instruction in sequence is specifically used for executing following steps:The camera preview interface to be obtained is determined according to the preset control Image data be face image data;And at least one of described camera preview interface facial image for identification; And for determining the maximum face figure of area for occupying the camera preview interface at least one facial image Picture;And the image data for obtaining the facial image by adjusting the focal length of the camera, described image data Pixel number is more than predetermined number threshold value.
It is above-mentioned that mainly the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure.It is appreciated that , for mobile terminal in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or software mould Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, and depend on the specific application and design constraint item of technical solution Part.Professional technician specifically can realize described function to each using distinct methods, but this reality Now it should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out mobile terminal according to the above method example division of functional unit, for example, can Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit In.The form that hardware had both may be used in above-mentioned integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present invention, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of image data acquisition apparatus 600 involved in the embodiment of the present application.The figure Picture data acquisition facility 600 is applied to mobile terminal, and image data acquisition apparatus 600 includes:Detection unit 601, selection unit 602 and execution unit 603, wherein
The detection unit 601, for detecting that the startup of camera is asked;
The type of the selection unit 602, the startup request for being detected according to the detection unit 601 is chosen Preset control in preset control set, the preset control set include primary control and the preset control;
The execution unit 603, the preset control for being chosen according to the selection unit 602 obtain facial image Data, and face unlock operation is executed according to the face image data.
As can be seen that in the embodiment of the present application, mobile terminal is first it is detected that the startup of camera is asked;Next, according to It is described start request type choose preset control set in preset control, the preset control set include primary control and The preset control;Finally, face image data is obtained according to the preset control, and is executed according to the face image data Face unlock operation.As it can be seen that mobile terminal determines the startup when detecting that the startup of camera is asked by scene Recognition The type of request is chosen the preset control added in addition to primary control according to the type for starting request, is avoided all using original The defect that raw control is brought, improves the diversity of mobile terminal data acquisition, moreover, according to preset control only by acquisition Face image data executes face unlock operation, reduces preview interface drafting operation when using camera of primary control and brings Electric quantity consumption and resource occupation.
In a possible example, described according to pre- in the type selection preset control set for starting request If in terms of control, the selection unit 602 is specifically used for:According to the type for starting request and determining the startup request;With And for including being directed to the camera preview interface when judging that the startup asks corresponding operation according to the type Drafting operation when, choose the preset control in the preset control set.
In a possible example, the selection unit 602 is additionally operable to, in the startup request for detecting camera Later, according to the type for starting request and determining the startup request;And for described when being judged according to the type When the corresponding operation of startup request includes the drafting operation for the camera preview interface, the preset control set is chosen In the primary control;
The execution unit 603 is additionally operable to obtain the image data of the camera preview interface, single according to the selection It draws at the interface for the processing operation and described image data that the primary control that member 602 is chosen executes described image data parallel Operation.
In a possible example, in terms of the type for determining the startup request according to the startup request, The selection unit 602 is specifically used for:Obtain the triggering pending event for starting request;And for waiting holding according to It acts part and determines the type for starting request.
In this possible example, the type side for starting request is determined according to the pending event described Face, the selection unit 602 are specifically used for:Be that inquiry identifies with the pending event, inquire preset pending event with The mapping relations of type determine the corresponding type for starting request of the pending event, the type for starting request Including the first kind and Second Type, corresponding operate of the first kind includes the drafting for being directed to the camera preview interface Operation, corresponding operate of the Second Type does not include the drafting operation for being directed to the camera preview interface.
It is described to hold in terms of the acquisition face image data according to the preset control in a possible example Row unit 603 is specifically used for:Determine that the image data of the camera preview interface to be obtained is according to the preset control Face image data;And at least one of described camera preview interface facial image for identification;And for determining The maximum facial image of area of the camera preview interface is occupied at least one facial image;And for leading to The focal length for overregulating the camera obtains the image data of the facial image, and the pixel number of described image data is more than Predetermined number threshold value.
Wherein, detection unit 601 and selection unit 602 can be processors, and execution unit 603 can be camera and place Manage device.
The embodiment of the present invention also provides a kind of computer storage media, wherein computer storage media storage is for electricity The computer program that subdata exchanges, the computer program make computer execute any as described in above method embodiment Some or all of method step, above computer include mobile terminal.
The embodiment of the present invention also provides a kind of computer program product, and above computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either method described in method embodiment step.The computer program product can be a software installation Packet, above computer includes mobile terminal.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, said units division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The above-mentioned unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer-readable access to memory.Based on this understanding, technical scheme of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the present invention Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change place, in conclusion the content of the present specification should not be construed as limiting the invention.

Claims (20)

1. a kind of mobile terminal, which is characterized in that including processor, the memory and camera of the processor are connected, wherein:
The memory, for storing preset control set;
The processor, for detecting that the startup of the camera is asked;And for according to the type for starting request The preset control in the preset control set is chosen, the preset control set includes primary control and the preset control;
The camera, for obtaining face image data according to the preset control;
The processor is additionally operable to, and face unlock operation is executed according to the face image data.
2. mobile terminal according to claim 1, which is characterized in that chosen according to the type for starting request described In terms of preset control in the preset control set, the processor is specifically used for:According to startup request determination Start the type of request;And for including being directed to institute when judging that the startup asks corresponding operation according to the type When stating the drafting operation of camera preview interface, the preset control in the preset control set is chosen.
3. mobile terminal according to claim 1, which is characterized in that the processor is asked in the startup for detecting camera After asking, it is additionally operable to:According to the type for starting request and determining the startup request;And sentenced according to the type for working as Breaking, it is described when to start the corresponding operation of request include the drafting operation for the camera preview interface, and chooses described default The primary control in control set;
The camera, the image data for obtaining the camera preview interface;
The processor is additionally operable to, and executes the processing operation and described image of described image data parallel according to the primary control Draw operation in the interface of data.
4. mobile terminal according to claim 2 or 3, which is characterized in that ask determining institute according to the startup described In terms of stating the type for starting request, the processor is specifically used for:Obtain the triggering pending event for starting request;And For determining the type for starting request according to the pending event.
5. mobile terminal according to claim 4, which is characterized in that described according to described in the pending event determination In terms of the type for starting request, the processor is specifically used for:It is that inquiry identifies with the pending event, inquires the storage The mapping relations of the preset pending event and type of device storage determine the corresponding startup request of the pending event Type, the type for starting request includes the first kind and Second Type, and the corresponding operation of the first kind includes needle Drafting operation to the camera preview interface, corresponding operate of the Second Type does not include being directed to the camera preview The drafting at interface operates.
6. mobile terminal according to claim 1, which is characterized in that obtain face figure according to the preset control described In terms of data, the camera is specifically used for:The camera preview interface to be obtained is determined according to the preset control Image data be face image data;And at least one of described camera preview interface facial image for identification; And for determining the maximum face figure of area for occupying the camera preview interface at least one facial image Picture;And the image data for obtaining the facial image by adjusting the focal length of the camera, described image data Pixel number is more than predetermined number threshold value.
7. a kind of image data acquisition method, which is characterized in that including:
Detect the startup request of camera;
The preset control in preset control set is chosen according to the type for starting request, the preset control set includes original Raw control and the preset control;
Face image data is obtained according to the preset control, and face unlock operation is executed according to the face image data.
8. the method according to the description of claim 7 is characterized in that described choose default control according to the type for starting request Preset control in part set, including:
According to the type for starting request and determining the startup request;
Do not include being directed to the camera preview interface when judging that the startup asks corresponding operation according to the type When drawing operation, the preset control in the preset control set is chosen.
9. the method according to the description of claim 7 is characterized in that it is described detect camera startup request after, it is described Method further includes:
According to the type for starting request and determining the startup request;
Include painting for the camera preview interface when judging that corresponding operation is asked in the startup according to the type When system operation, the primary control in the preset control set is chosen;
The image data for obtaining the camera preview interface executes the place of described image data according to the primary control parallel Operation is drawn at the interface of reason operation and described image data.
10. method according to claim 8 or claim 9, which is characterized in that described to determine the startup according to startup request The type of request, including:
Obtain the triggering pending event for starting request;
The type for starting request is determined according to the pending event.
11. according to the method described in claim 10, it is characterized in that, described determine the startup according to the pending event The type of request, including:
Be that inquiry identifies with the pending event, inquire the mapping relations of preset pending event and type, determine described in The corresponding type for starting request of pending event, the type for starting request include the first kind and Second Type, Corresponding operate of the first kind includes the drafting operation for being directed to the camera preview interface, and the Second Type is corresponding Operation does not include the drafting operation for the camera preview interface.
12. the method according to the description of claim 7 is characterized in that described obtain facial image number according to the preset control According to, including:
Determine that the image data of the camera preview interface to be obtained is face image data according to the preset control;
Identify at least one of camera preview interface facial image;
Determine the maximum facial image of area that the camera preview interface is occupied at least one facial image;
Focal length by adjusting the camera obtains the image data of the facial image, the pixel of described image data Number is more than predetermined number threshold value.
13. a kind of image data acquisition apparatus, which is characterized in that including detection unit, selection unit and execution unit, wherein
The detection unit, for detecting that the startup of camera is asked;
The type of the selection unit, the startup request for being detected according to the detection unit chooses preset control collection Preset control in conjunction, the preset control set include primary control and the preset control;
The execution unit, the preset control for being chosen according to the selection unit obtain face image data, and root Face unlock operation is executed according to the face image data.
14. device according to claim 13, which is characterized in that chosen in advance according to the type for starting request described If in terms of the preset control in control set, the selection unit is specifically used for:The startup is determined according to startup request The type of request;And for including being taken the photograph for described when judging that the startup asks corresponding operation according to the type When being operated as the drafting of head preview interface, the preset control in the preset control set is chosen.
15. device according to claim 13, which is characterized in that the selection unit is additionally operable to, and is taken the photograph in described detect After being asked as the startup of head, according to the type for starting the determining startup of request and asking;And for when according to When type judges that the corresponding operation of the startup request includes the drafting operation for the camera preview interface, selection institute State the primary control in preset control set;
The execution unit is additionally operable to obtain the image data of the camera preview interface, is chosen according to the selection unit The primary control execute parallel described image data processing operation and described image data interface draw operation.
16. the device according to claims 14 or 15, which is characterized in that described according to described in startup request determination In terms of the type for starting request, the selection unit is specifically used for:Obtain the triggering pending event for starting request;And For determining the type for starting request according to the pending event.
17. device according to claim 16, which is characterized in that opened according to described in the pending event determination described In terms of the type of dynamic request, the selection unit is specifically used for:It is that inquiry identifies with the pending event, inquiry is preset to be waited for The mapping relations of execution event and type determine the corresponding type for starting request of the pending event, the startup The type of request includes the first kind and Second Type, and corresponding operate of the first kind includes being directed to the camera preview The drafting at interface operates, and corresponding operate of the Second Type does not include the drafting operation for being directed to the camera preview interface.
18. device according to claim 13, which is characterized in that obtain facial image according to the preset control described In terms of data, the execution unit is specifically used for:The camera preview interface to be obtained is determined according to the preset control Image data be face image data;And at least one of described camera preview interface facial image for identification; And for determining the maximum face figure of area for occupying the camera preview interface at least one facial image Picture;And the image data for obtaining the facial image by adjusting the focal length of the camera, described image data Pixel number is more than predetermined number threshold value.
19. a kind of mobile terminal, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet It includes for executing the instruction such as the step in claim 7-12 any one of them methods.
20. a kind of computer readable storage medium, which is characterized in that computer program of the storage for electronic data interchange, In, the computer program makes computer execute such as claim 7-12 any one of them methods, the computer and include Mobile terminal.
CN201810094856.8A 2018-01-31 2018-01-31 Mobile terminal, image data acquisition method and related product Expired - Fee Related CN108388781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810094856.8A CN108388781B (en) 2018-01-31 2018-01-31 Mobile terminal, image data acquisition method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810094856.8A CN108388781B (en) 2018-01-31 2018-01-31 Mobile terminal, image data acquisition method and related product

Publications (2)

Publication Number Publication Date
CN108388781A true CN108388781A (en) 2018-08-10
CN108388781B CN108388781B (en) 2021-01-12

Family

ID=63074296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810094856.8A Expired - Fee Related CN108388781B (en) 2018-01-31 2018-01-31 Mobile terminal, image data acquisition method and related product

Country Status (1)

Country Link
CN (1) CN108388781B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886009A (en) * 2019-01-03 2019-06-14 广东智媒云图科技股份有限公司 A kind of more equipment linkage unlocking methods, electronic equipment and storage medium
CN111091031A (en) * 2018-10-24 2020-05-01 北京旷视科技有限公司 Target object selection method and face unlocking method
CN111209554A (en) * 2019-04-23 2020-05-29 刘月平 Area analysis-based mobile terminal authorized access method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539844A (en) * 2014-12-18 2015-04-22 深圳市金立通信设备有限公司 Terminal
CN104767937A (en) * 2015-03-27 2015-07-08 深圳市艾优尼科技有限公司 Photographing method
US20150365588A1 (en) * 2010-11-29 2015-12-17 Fotonation Limited Portrait Image Synthesis from Multiple Images Captured on a Handheld Device
CN105959530A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Method and system for invoking a camera function according to an individualized property of an application
CN106060390A (en) * 2016-06-24 2016-10-26 联想(北京)有限公司 Information processing method and electronic device
CN106060391A (en) * 2016-06-27 2016-10-26 联想(北京)有限公司 Method and device for processing working mode of camera, and electronic equipment
CN106775424A (en) * 2017-01-13 2017-05-31 维沃移动通信有限公司 A kind of screenshotss processing method and mobile terminal
CN107172345A (en) * 2017-04-07 2017-09-15 深圳市金立通信设备有限公司 A kind of image processing method and terminal
WO2017204406A1 (en) * 2016-05-25 2017-11-30 엠텍비젼 주식회사 Device and method for detecting eye position of driver, and imaging device having rolling shutter driving type image sensor and lighting control method therefor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150365588A1 (en) * 2010-11-29 2015-12-17 Fotonation Limited Portrait Image Synthesis from Multiple Images Captured on a Handheld Device
CN104539844A (en) * 2014-12-18 2015-04-22 深圳市金立通信设备有限公司 Terminal
CN104767937A (en) * 2015-03-27 2015-07-08 深圳市艾优尼科技有限公司 Photographing method
CN105959530A (en) * 2016-04-26 2016-09-21 乐视控股(北京)有限公司 Method and system for invoking a camera function according to an individualized property of an application
WO2017204406A1 (en) * 2016-05-25 2017-11-30 엠텍비젼 주식회사 Device and method for detecting eye position of driver, and imaging device having rolling shutter driving type image sensor and lighting control method therefor
CN106060390A (en) * 2016-06-24 2016-10-26 联想(北京)有限公司 Information processing method and electronic device
CN106060391A (en) * 2016-06-27 2016-10-26 联想(北京)有限公司 Method and device for processing working mode of camera, and electronic equipment
CN106775424A (en) * 2017-01-13 2017-05-31 维沃移动通信有限公司 A kind of screenshotss processing method and mobile terminal
CN107172345A (en) * 2017-04-07 2017-09-15 深圳市金立通信设备有限公司 A kind of image processing method and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111091031A (en) * 2018-10-24 2020-05-01 北京旷视科技有限公司 Target object selection method and face unlocking method
CN109886009A (en) * 2019-01-03 2019-06-14 广东智媒云图科技股份有限公司 A kind of more equipment linkage unlocking methods, electronic equipment and storage medium
CN111209554A (en) * 2019-04-23 2020-05-29 刘月平 Area analysis-based mobile terminal authorized access method

Also Published As

Publication number Publication date
CN108388781B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
JP6272342B2 (en) Image processing method, image processing device, terminal device, program, and recording medium
US11513608B2 (en) Apparatus, method and recording medium for controlling user interface using input image
CN104660907B (en) The method, device and mobile terminal taken pictures
CN108304708A (en) Mobile terminal, face unlocking method and related product
CN109583320A (en) Fingerprint identification method and relevant apparatus
CN102193962B (en) Matching device, digital image processing system, and matching device control method
CN109635542A (en) A kind of bio-identification exchange method, graphical interaction interface and relevant apparatus
US9621810B2 (en) Method and apparatus for displaying image
CN104699507A (en) Starting method and device of application program
CN108388781A (en) Mobile terminal, image data acquisition method and Related product
CN110572575A (en) camera shooting control method and device
CN107835370A (en) A kind of camera switching method, device and electronic equipment
EP3454251A1 (en) Unlocking control methods and related products
CN108650457A (en) Automatic photographing method, device, storage medium and mobile terminal
CN107566746B (en) Photographing method and user terminal
CN108429879A (en) Electronic equipment, camera control method and Related product
WO2019011106A1 (en) State control method and related product
CN103500093A (en) Method and system for photographing through gestures based on electronic equipment
CN110244894A (en) A kind of control method of screen locking, device, handheld terminal and storage medium
CN103713816A (en) Display control apparatus and method, and image display apparatus
CN107330848A (en) Image processing method, mobile terminal and storage device
CN107657219B (en) Face detection method and related product
CN106200912B (en) A kind of processing method that self-shooting bar is taken pictures and mobile terminal
CN108093177A (en) Image acquiring method, device, storage medium and electronic equipment
CN108174086A (en) Image pickup method and Related product

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
CB02 Change of applicant information
CB02 Change of applicant information

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

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

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

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

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210112