CN107820007A - The picture processing method and mobile terminal of a kind of camera - Google Patents

The picture processing method and mobile terminal of a kind of camera Download PDF

Info

Publication number
CN107820007A
CN107820007A CN201711096789.5A CN201711096789A CN107820007A CN 107820007 A CN107820007 A CN 107820007A CN 201711096789 A CN201711096789 A CN 201711096789A CN 107820007 A CN107820007 A CN 107820007A
Authority
CN
China
Prior art keywords
camera
face
picture
distance
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711096789.5A
Other languages
Chinese (zh)
Inventor
余佩珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711096789.5A priority Critical patent/CN107820007A/en
Publication of CN107820007A publication Critical patent/CN107820007A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of picture processing method and mobile terminal of camera, and this method is applied to mobile terminal, including:Face in the picture of camera intake is identified;When the number for identifying the face in the picture is at least two, determined from all faces in the picture with reference to face;By in the picture except it is described with reference to face in addition to camera lens of remaining face to the camera distance be adjusted to it is identical with the distance of the camera lens with reference to face to the camera.Due in the picture that is absorbed in camera same horizontal line will be arrived apart from different face regulations, so as in the case of not by remaining corollary equipment, reduce size difference of the face of each user in group photo, make size difference between each face in picture closer to truth, more fair, so the ease of use of mobile terminal can be improved.

Description

The picture processing method and mobile terminal of a kind of camera
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of picture processing method of camera and movement are eventually End.
Background technology
With the popularization of mobile terminal especially smart mobile phone, self-timer has been increasingly becoming one of people's daily life Point, tourism of either dining out, go window-shopping or go out, people can all be unable to bear come several groups of self-timers, thus mobile terminal oneself Shooting function is also just increasingly paid close attention to by user.
For current mobile terminal when for self-timer, face is nearer apart from camera, then the size of the face in photo is got over Greatly, this causes when more people's self-timers are taken a group photo, close to camera people's especially hand-held mobile terminal people face in photo phase Face than the people of remote camera is bigger, not fair enough, has a strong impact on the experience of user.Respectively used when at present, in order to reduce self-timer Size difference of the face at family in group photo, user would generally carry out self-timer by self-shooting bar.But when taking this mode, due to Mobile terminal must support the use with self-shooting bar, that is, require that user must be equipped with and carry supporting self-shooting bar, so as to cause to move The use of dynamic terminal is more inconvenient.
The content of the invention
The embodiment of the present invention provides a kind of picture processing method and mobile terminal of camera, to solve currently in order to reducing Size difference of the face of each user in group photo during self-timer, user need by supporting self-shooting bar move caused by self-timer Terminal uses the problem of more inconvenient.
In order to solve the above technical problems, what the present invention was realized in:A kind of picture processing method of camera, is applied to Mobile terminal, including:
Face in the picture of camera intake is identified;
When the number for identifying the face in the picture is at least two, from all faces in the picture really Fixed reference face;
The distance of camera lens of remaining face in addition to the reference face to the camera in the picture is adjusted Save to be identical with the distance of the camera lens with reference to face to the camera.
In a first aspect, the embodiments of the invention provide a kind of picture processing method of camera, applied to mobile terminal, bag Include:
Face in the picture of camera intake is identified;
When the number for identifying the face in the picture is at least two, from all faces in the picture really Fixed reference face;
The distance of camera lens of remaining face in addition to the reference face to the camera in the picture is adjusted Save to be identical with the distance of the camera lens with reference to face to the camera.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Identification module, it is identified for the face in the picture that is absorbed to camera;
First determining module, for when the number for identifying the face in the picture be at least two when, from the picture Determined in all faces in face with reference to face;
First adjustment module, for by the picture except it is described with reference to face in addition to remaining face to the shooting The distance of the camera lens of head is adjusted to identical with the distance of the camera lens with reference to face to the camera.The third aspect, this hair Bright embodiment also provides a kind of mobile terminal, including processor, memory and is stored on the memory and can be at the place The computer program that runs on reason device, at the picture that above-mentioned camera is realized when the computer program is by the computing device The step of reason method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable recording medium, the computer-readable storage Computer program is stored with medium, the computer program realizes the picture processing side of above-mentioned camera when being executed by processor The step of method.
In embodiments of the present invention, the face in the picture of camera intake is identified;When identifying the picture In the number of face when being at least two, determined from all faces in the picture with reference to face;By in the picture Except it is described with reference to face in addition to the distance of camera lens of remaining face to the camera be adjusted to arrive with reference to face with described The distance of the camera lens of the camera is identical.Due to will be apart from different face regulations to same in the picture that is absorbed in camera Horizontal line, so as in the case of not by remaining corollary equipment, reduce size difference of the face of each user in group photo, Make size difference between each face in picture closer to truth, more fair, so mobile terminal can be improved Ease of use.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the picture processing method for the camera that one embodiment of the invention provides;
Fig. 2 is the flow chart of the picture processing method for the camera that another embodiment of the present invention provides;
Fig. 3 is one of structure chart of mobile terminal that one embodiment of the invention provides;
Fig. 4 is the two of the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 5 is the three of the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 6 is the structure chart for the mobile terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the flow chart of the picture processing method for the camera that one embodiment of the invention provides, such as Fig. 1 institutes Show, the picture processing method of the camera, applied to mobile terminal, comprise the following steps:
Step 101, the face in the picture of camera intake is identified;
Step 102, when the number for identifying the face in the picture is at least two, from all in the picture Determined in face with reference to face;
Step 103, the camera lens by remaining face in addition to the reference face in the picture to the camera Distance be adjusted to it is identical with the distance with reference to camera lens of the face to the camera.
Wherein, above-mentioned mobile terminal can be mobile phone, tablet personal computer (the Tablet Personal for including camera Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID), wearable device (Wearable Device) or other electronic equipments comprising camera etc..
And above-mentioned can be any one face in all faces in above-mentioned picture with reference to face or above-mentioned The face maximum with the distance between the camera lens of above-mentioned camera in picture, can also be in above-mentioned picture with above-mentioned camera The distance between camera lens is more than any one face in the face of predetermined threshold value, on the other hand, the embodiment of the present invention is not construed as limiting.
The picture processing method of the camera of the embodiment of the present invention, due to removing with reference to people in the picture that absorbs camera The distance of remaining face to the camera lens of camera outside face be adjusted to it is identical with the distance of the camera lens with reference to face to camera, Same horizontal line will be arrived apart from different face regulations i.e. in the picture of camera intake, so as to not match somebody with somebody by remaining In the case of complete equipment, i.e., user need not be equipped with and carry self-shooting bar, reduce size difference of the face of each user in group photo, make The size difference between each face in picture is closer to truth, more fair, so mobile terminal can be improved Ease of use.
Referring to Fig. 2, Fig. 2 be another embodiment of the present invention provide camera picture processing method flow chart, such as Fig. 2 It is shown, the picture processing method of the camera, applied to mobile terminal, comprise the following steps:
Step 201, the face in the picture of camera intake is identified;
Step 202, when the number for identifying the face in the picture is at least two, from all in the picture Determined in face with reference to face;
Step 203, determine all faces in the picture to the distance of the camera lens of the camera;
Step 204, the camera lens by remaining face in addition to the reference face in the picture to the camera Distance be adjusted to it is identical with the distance with reference to camera lens of the face to the camera.
Wherein, on above-mentioned mobile terminal and the above-mentioned explanation with reference to face be referred to Fig. 1 corresponding to phase in embodiment The explanation of part is answered, here is omitted.
And above-mentioned camera can be depth of field camera or dual camera, when above-mentioned camera images for the depth of field During head, energy consumption is lower, and when above-mentioned camera is dual camera, the imaging effect of picture is more preferable.And the above-mentioned determination picture All faces in face can be that the institute in the picture is determined by depth of field camera to the distance of the camera lens of the camera There is face to determine that all faces in the picture arrive to the distance of the camera lens of the camera or by dual camera The distance of the camera lens of the camera.
So, due to the distance of camera lens of all faces in the determination picture to the camera, camera is taken the photograph The distance of remaining face to the camera lens of camera in addition to reference to face in the picture taken be adjusted to with reference to face to taking the photograph As the distance of the camera lens of head is identical, i.e., same horizontal line will be arrived apart from different face regulations in the picture of camera intake, So as to which in the case of not by remaining corollary equipment, i.e., user need not be equipped with and carry self-shooting bar, reduce each user's Size difference of the face in group photo, make size difference between each face in picture closer to truth, more fair, So the ease of use of mobile terminal can be improved.
Optionally, it is described to be determined from least two face with reference to the step of face, including:
The maximum face of the distance between camera lens with the camera is defined as with reference to face.
So, because the size scaling degree of the maximum face of the distance between camera lens with above-mentioned camera is maximum, because And during as with reference to face, the size of all faces in the picture of above-mentioned camera intake can be made all smaller, from And more make picture effect more preferable, and then make the experience of user more preferable.
Optionally, in the above-described embodiments, by the picture except it is described with reference to face in addition to remaining face arrive The distance of the camera lens of the camera is adjusted to the step identical with the distance of the camera lens with reference to face to the camera Afterwards, in addition to:
The person corresponding to remaining face in addition to the reference face in the picture is arrived to the mirror of the camera The distance of head is adjusted to identical to the distance between the camera lens of the camera with the person with reference to corresponding to face.So, The bashful and personal big situation of people can be avoided the occurrence of, the portrait in picture and the ratio of the person is more coordinated, picture effect More preferably, and then make the experience of user more preferable.
Referring to Fig. 3, Fig. 3 is the structure chart for the mobile terminal that one embodiment of the invention provides, as shown in figure 3, mobile terminal 300 include:
Identification module 301, it is identified for the face in the picture that is absorbed to camera;
First determining module 302, for when the number for identifying the face in the picture is at least two, from described Determined in all faces in picture with reference to face;
First adjustment module 303, for by the picture described in described remaining face in addition to face arrives The distance of the camera lens of camera is adjusted to identical with the distance of the camera lens with reference to face to the camera.
Optionally, as shown in figure 4, the mobile terminal 300 also includes:
Second determining module 304, determine all faces in the picture to the distance of the camera lens of the camera.
Optionally, the camera is depth of field camera;
Second determining module 304, for determining that all faces in the picture arrive by the depth of field camera The distance of the camera lens of the camera.
Optionally, the camera is dual camera;
Second determining module 304, for determining all faces in the picture to institute by the dual camera State the distance of the camera lens of camera.
Optionally, first determining module 302, for by the maximum people of the distance between camera lens with the camera Face is defined as with reference to face.
Optionally, as shown in figure 5, the mobile terminal 300 also includes:
Second adjustment module 305, for by corresponding to remaining face in addition to the reference face in the picture The distance of the person to the camera lens of the camera is adjusted to the camera lens that the person corresponding with the reference face arrives the camera The distance between it is identical.
Mobile terminal 300 can realize each process that mobile terminal is realized in preceding method embodiment, to avoid repeating, Here repeat no more.
The mobile terminal 300 of the embodiment of the present invention, can be in the case of by remaining corollary equipment, i.e., user need not Self-shooting bar is equipped with and carried, reduces size difference of the face of each user in group photo, makes the chi between each face in picture Very little difference is closer to truth, more fair, so the ease of use of mobile terminal can be improved.
Fig. 6 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 600 Including but not limited to:It is radio frequency unit 601, mixed-media network modules mixed-media 602, audio output unit 603, input block 604, sensor 605, aobvious Show the parts such as unit 606, user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611. It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 6 does not form the restriction to mobile terminal, it is mobile whole End can be included than illustrating more or less parts, either combine some parts or different parts arrangement.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet personal computer, notebook computer, palm PC, car-mounted terminal, can worn Wear equipment and pedometer etc..
Wherein, processor 610, it is used for:Face in the picture of camera intake is identified;
When the number for identifying the face in the picture is at least two, from all faces in the picture really Fixed reference face;
The distance of camera lens of remaining face in addition to the reference face to the camera in the picture is adjusted Save to be identical with the distance of the camera lens with reference to face to the camera.
Optionally, mirror of described remaining face in addition to the reference face by the picture to the camera The distance of head is adjusted to before the step identical with the distance of the camera lens with reference to face to the camera, processor 610 It is additionally operable to:
Determine all faces in the picture to the distance of the camera lens of the camera.
Optionally, the camera is depth of field camera;
All faces in the determination picture that processor 610 performs are to the distance of the camera lens of the camera Step, including:
The distance of camera lens of all faces to the camera in the picture is determined by the depth of field camera.
Optionally, the camera is dual camera;
All faces in the determination picture that processor 610 performs are to the distance of the camera lens of the camera Step, including:
Determine all faces in the picture to the distance of the camera lens of the camera by the dual camera.
Optionally, described the step of reference face is determined from least two face that processor 610 performs, bag Include:
The maximum face of the distance between camera lens with the camera is defined as with reference to face.
Optionally, by the picture except it is described with reference to face in addition to remaining face to the camera camera lens Distance be adjusted to after the step identical with the distance with reference to camera lens of the face to the camera, processor 610 is held Capable is additionally operable to:
The person corresponding to remaining face in addition to the reference face in the picture is arrived to the mirror of the camera The distance of head is adjusted to identical to the distance between the camera lens of the camera with the person with reference to corresponding to face.It is mobile whole End 600 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, repeat no more here.
The mobile terminal 600 of the embodiment of the present invention, the face in the picture of camera intake is identified;When identifying When the number of face in the picture is at least two, determined from all faces in the picture with reference to face;By institute State in picture except it is described with reference to face in addition to the distance of camera lens of remaining face to the camera be adjusted to and the ginseng It is identical according to the distance of face to the camera lens of the camera.Due to will be adjusted in the picture that is absorbed in camera apart from different faces Same horizontal line is saved, so as in the case of not by remaining corollary equipment, reduce the face of each user in group photo Size difference, make size difference between each face in picture closer to truth, more fair, so can improve The ease of use of mobile terminal.
It should be understood that in the embodiment of the present invention, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 610;In addition, will be up Data are sent to base station.Generally, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 602 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be receiving by radio frequency unit 601 or mixed-media network modules mixed-media 602 or in memory 609 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 603 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 600 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input block 604 is used to receive audio or video signal.Input block 604 can include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 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) are carried out Reason.Picture frame after processing may be displayed on display unit 606.Picture frame after the processing of graphics processor 6041 can be deposited Storage is transmitted in memory 609 (or other storage mediums) or via radio frequency unit 601 or mixed-media network modules mixed-media 602.Mike Wind 6042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 601 by being converted in the case of telephone calling model.
Mobile terminal 600 also includes at least one sensor 605, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 6061, and proximity transducer can close when mobile terminal 600 is moved in one's ear Display panel 6061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 606 is used for the information for showing the information inputted by user or being supplied to user.Display unit 606 can wrap Display panel 6061 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 6061.
User input unit 607 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 relevant.Specifically, user input unit 607 include contact panel 6071 and Other input equipments 6072.Contact panel 6071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 6071 or in contact panel 6071 Neighbouring operation).Contact panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area Manage the order that device 610 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 6071.Except contact panel 6071, user input unit 607 can also include other input equipments 6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 6071 can be covered on display panel 6061, when contact panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touch The type for touching event provides corresponding visual output on display panel 6061.Although in figure 6, contact panel 6071 and display Panel 6061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 6071 and display panel 6061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 608 is the interface that external device (ED) is connected with mobile terminal 600.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 608 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 600 can be used in the He of mobile terminal 600 Data are transmitted between external device (ED).
Memory 609 can be used for storage software program and various data.Memory 609 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 609 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 610 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 609, and call and be stored in storage Data in device 609, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 610 may include one or more processing units;Preferably, processor 610 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 radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 600 can also include the power supply 611 (such as battery) to all parts power supply, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 600 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 610, memory 609, is stored in On memory 609 and the computer program that can be run on the processor 610, the computer program are performed by processor 610 Each process of the picture processing method embodiment of the above-mentioned cameras of Shi Shixian, and identical technique effect can be reached, to avoid Repeat, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each mistake of the picture processing method embodiment of above-mentioned camera when being executed by processor Journey, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, described computer-readable storage medium Matter, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
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 also include the other element being not expressly set out, or also include for 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 Other identical element also be present in the process of key element, method, article or device.
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 is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one 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 a lot Form, belong within the protection of the present invention.

Claims (14)

  1. A kind of 1. picture processing method of camera, applied to mobile terminal, it is characterised in that including:
    Face in the picture of camera intake is identified;
    When the number for identifying the face in the picture is at least two, ginseng is determined from all faces in the picture According to face;
    By in the picture except it is described with reference to face in addition to the distance of camera lens of remaining face to the camera be adjusted to It is identical with the distance of the camera lens with reference to face to the camera.
  2. 2. according to the method for claim 1, it is characterised in that it is described by the picture except described with reference in addition to face Remaining face to the camera lens of the camera distance be adjusted to it is described with reference to face to the camera lens of the camera away from Before identical step, in addition to:
    Determine all faces in the picture to the distance of the camera lens of the camera.
  3. 3. according to the method for claim 2, it is characterised in that the camera is depth of field camera;
    All faces determined in the picture to the camera lens of the camera apart from the step of, including:
    The distance of camera lens of all faces to the camera in the picture is determined by the depth of field camera.
  4. 4. according to the method for claim 2, it is characterised in that the camera is dual camera;
    All faces determined in the picture to the camera lens of the camera apart from the step of, including:
    Determine all faces in the picture to the distance of the camera lens of the camera by the dual camera.
  5. 5. according to the method for claim 2, it is characterised in that described to be determined from least two face with reference to face The step of, including:
    The maximum face of the distance between camera lens with the camera is defined as with reference to face.
  6. 6. according to the method described in any one of claim 1 to 5, it is characterised in that the reference will removed in the picture The distance of remaining face to the camera lens of the camera outside face is adjusted to described with reference to face to the camera After the identical step of the distance of camera lens, in addition to:
    By the person corresponding to remaining face in addition to the reference face in the picture to the camera lens of the camera Distance is adjusted to identical to the distance between the camera lens of the camera with the person with reference to corresponding to face.
  7. A kind of 7. mobile terminal, it is characterised in that including:
    Identification module, it is identified for the face in the picture that is absorbed to camera;
    First determining module, for when the number for identifying the face in the picture be at least two when, from the picture All faces in determine with reference to face;
    First adjustment module, for by the picture except it is described with reference to face in addition to remaining face to the camera The distance of camera lens is adjusted to identical with the distance of the camera lens with reference to face to the camera.
  8. 8. mobile terminal according to claim 7, it is characterised in that the mobile terminal also includes:
    Second determining module, determine all faces in the picture to the distance of the camera lens of the camera.
  9. 9. mobile terminal according to claim 8, it is characterised in that the camera is depth of field camera;
    Second determining module, for determining all faces in the picture to the shooting by the depth of field camera The distance of the camera lens of head.
  10. 10. mobile terminal according to claim 8, it is characterised in that the camera is dual camera;
    Second determining module, for determining all faces in the picture to the camera by the dual camera Camera lens distance.
  11. 11. mobile terminal according to claim 8, it is characterised in that first determining module, for will be taken the photograph with described The maximum face of the distance between camera lens as head is defined as with reference to face.
  12. 12. according to the mobile terminal described in any one of claim 7 to 11, it is characterised in that the mobile terminal also includes:
    Second adjustment module, for the person corresponding to remaining face in addition to the reference face in the picture to be arrived into institute State the camera lens of camera distance be adjusted to it is described with reference to face it is corresponding the person to the camera camera lens between away from From identical.
  13. 13. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 6 during the computing device Any one of camera picture processing method the step of.
  14. 14. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the picture of the camera as any one of claim 1 to 6 is realized when the computer program is executed by processor The step of processing method.
CN201711096789.5A 2017-11-09 2017-11-09 The picture processing method and mobile terminal of a kind of camera Pending CN107820007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711096789.5A CN107820007A (en) 2017-11-09 2017-11-09 The picture processing method and mobile terminal of a kind of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711096789.5A CN107820007A (en) 2017-11-09 2017-11-09 The picture processing method and mobile terminal of a kind of camera

Publications (1)

Publication Number Publication Date
CN107820007A true CN107820007A (en) 2018-03-20

Family

ID=61603187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711096789.5A Pending CN107820007A (en) 2017-11-09 2017-11-09 The picture processing method and mobile terminal of a kind of camera

Country Status (1)

Country Link
CN (1) CN107820007A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111103922A (en) * 2018-10-26 2020-05-05 华为技术有限公司 Camera, electronic equipment and identity verification method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478629A (en) * 2008-01-04 2009-07-08 华晶科技股份有限公司 Image processing process for regulating human face ratio
CN106231200A (en) * 2016-08-29 2016-12-14 广东欧珀移动通信有限公司 A kind of photographic method and device
CN107124543A (en) * 2017-02-20 2017-09-01 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107181913A (en) * 2017-05-25 2017-09-19 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478629A (en) * 2008-01-04 2009-07-08 华晶科技股份有限公司 Image processing process for regulating human face ratio
CN106231200A (en) * 2016-08-29 2016-12-14 广东欧珀移动通信有限公司 A kind of photographic method and device
CN107124543A (en) * 2017-02-20 2017-09-01 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107181913A (en) * 2017-05-25 2017-09-19 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111103922A (en) * 2018-10-26 2020-05-05 华为技术有限公司 Camera, electronic equipment and identity verification method
CN111103922B (en) * 2018-10-26 2023-08-25 华为技术有限公司 Camera, electronic equipment and identity verification method

Similar Documents

Publication Publication Date Title
CN108108007B (en) A kind of processing method and mobile terminal reducing power consumption
CN107608514A (en) Information processing method and mobile terminal
CN107509038A (en) A kind of image pickup method and mobile terminal
CN107613131A (en) A kind of application program disturbance-free method and mobile terminal
CN107682634A (en) A kind of facial image acquisition methods and mobile terminal
CN108803963A (en) A kind of screenshotss method and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN107742072A (en) Face identification method and mobile terminal
CN108628565A (en) A kind of mobile terminal operating method and mobile terminal
CN107734260A (en) A kind of image processing method and mobile terminal
CN107635110A (en) A kind of video interception method and terminal
CN107800821A (en) One kind prevents motor and shake sub-resonance method and mobile terminal
CN107608606A (en) A kind of image display method, mobile terminal and computer-readable recording medium
CN107679514A (en) A kind of face identification method and electronic equipment
CN107682637A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN107864336A (en) A kind of image processing method, mobile terminal
CN107704182A (en) A kind of barcode scanning method and mobile terminal
CN109451144A (en) A kind of message treatment method and terminal device
CN109192153A (en) A kind of terminal and terminal control method
CN107728877A (en) One kind applies recommendation method and mobile terminal
CN109858447A (en) A kind of information processing method and terminal
CN107800968A (en) A kind of image pickup method and mobile terminal

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: 20180320