[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107172347B - Photographing method and terminal - Google Patents

Photographing method and terminal Download PDF

Info

Publication number
CN107172347B
CN107172347B CN201710338637.5A CN201710338637A CN107172347B CN 107172347 B CN107172347 B CN 107172347B CN 201710338637 A CN201710338637 A CN 201710338637A CN 107172347 B CN107172347 B CN 107172347B
Authority
CN
China
Prior art keywords
face
image
scaling
distance
camera
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.)
Active
Application number
CN201710338637.5A
Other languages
Chinese (zh)
Other versions
CN107172347A (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.)
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 CN201710338637.5A priority Critical patent/CN107172347B/en
Publication of CN107172347A publication Critical patent/CN107172347A/en
Application granted granted Critical
Publication of CN107172347B publication Critical patent/CN107172347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • 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

Landscapes

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

Abstract

The invention provides a photographing method and a terminal, wherein the method is applied to the terminal provided with a camera and comprises the following steps: acquiring at least one face in a preview image acquired by a camera, and determining the face distance between each face and the camera; zooming the face according to the face distance to obtain a zoomed face image; and generating a photographed image according to the zoomed human face image. The embodiment of the invention solves the problem that the face in the picture is too large or too small in the prior art, and improves the coordination sense of the picture and the photographing experience of the user.

Description

Photographing method and terminal
Technical Field
The present invention relates to the field of terminals, and in particular, to a photographing method and a terminal.
Background
The method has the advantages that the photographing is one of the most important functions of the smart phone, is popular with the users, and the mobile phone photographing becomes popular and fashionable along with the improvement of the manufacturing process and the pixels of the mobile phone camera. The camera, the beauty camera, the second shot, the beautiful picture, the show and other application programs customized by mobile phone manufacturers have strong photographing processing functions and can meet different user preferences. When a user self-shoots or a plurality of people simultaneously go into the mirror and self-shoot, the user can usually self-shoot by a self-shooting rod, a touch key, a touch front fingerprint module or a touch rear fingerprint module.
However, due to the inconvenience of carrying the selfie stick, in many scenes, a user usually needs to hold a mobile phone by hand, and clicks a volume key on the side of the mobile phone, a front fingerprint module or a rear fingerprint module to take a self-shoot after continuously adjusting and selecting a proper shooting angle. When shooting, due to the distance relationship between the user and the camera, the problem that the face in the picture is too large or too small can occur, the coordination sense of the picture is influenced, the satisfaction degree of the user on the picture is reduced, and the user needs to shoot for many times.
Disclosure of Invention
The embodiment of the invention aims to provide a photographing method and a terminal, and aims to solve the problem that the face of a person in a photo is too large or too small in the prior art.
In a first aspect, an embodiment of the present invention provides a photographing method, which is applied to a terminal provided with a camera, and the method includes:
acquiring at least one face in a preview image acquired by the camera, and determining the face distance between each face and the camera;
zooming the face according to the face distance to obtain a zoomed face image;
and generating a photographed image according to the zoomed human face image.
In a second aspect, an embodiment of the present invention provides a terminal, which is provided with a camera, and the terminal includes:
the acquisition module is used for acquiring at least one face in the preview image acquired by the camera and determining the face distance between each face and the camera;
the zooming module is used for zooming the face according to the face distance to obtain a zoomed face image;
and the generating module is used for generating a photographed image according to the zoomed human face image.
Therefore, in the embodiment of the invention, the corresponding face in the preview image is zoomed according to the face distance between each face in at least one face in the preview image and the camera, the zoomed face image is obtained, and the photographed image is generated according to the zoomed face image, so that the face in the preview image can be adjusted according to the face distance between the face and the camera, the problem that the face in the picture is too large or too small in the prior art is solved, and the coordination sense of the picture and the photographing experience of a user are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating the steps of a photographing method in an embodiment of the present invention;
FIG. 2 shows a flow chart of the steps of step 102 in an embodiment of the present invention;
fig. 3 shows one of the structural block diagrams of the terminal in the embodiment of the present invention;
fig. 4 shows a second block diagram of the structure of the terminal in the embodiment of the present invention;
fig. 5 shows a third block diagram of the structure of the terminal in the embodiment of the present invention;
fig. 6 shows a fourth block diagram of the terminal according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart illustrating steps of a method for taking a picture in an embodiment of the present invention, the method is applied to a terminal provided with a front camera, and the method includes:
step 101, acquiring at least one face in a preview image acquired by a camera, and determining a face distance between each face and the camera;
in this step, specifically, when the camera of the terminal is started, the terminal may obtain a preview image acquired by the camera, and obtain at least one face in the preview image. At this time, the terminal may determine a face distance between each face of the at least one face and the camera. Therefore, when the terminal acquires at least one face in the preview image acquired by the camera, when only one face exists in the preview image, the distance between the face and the camera only needs to be acquired, but when more than two faces exist in the preview image, the distance between each face and the camera needs to be acquired.
Specifically, when determining the face distance between each face in at least one face and the camera, an active mode and a passive mode in a currently common distance measurement method may be adopted. Of course, an existing face distance measurement application program may also be installed on the terminal, and a specific manner of measuring the face distance is not specifically limited herein.
Step 102, zooming the face according to the face distance to obtain a zoomed face image;
in this step, specifically, after the face distance between each face and the camera is acquired, the corresponding face may be scaled according to the face distance between each face and the camera, so as to obtain a scaled face image. This makes the face size of people's face in the preview image adjust according to the face distance between people's face and the camera, thereby when only there is a people's face in the preview image, can be according to user's demand adjustment user's face size when single shooing promptly, prevent the too big or undersize problem of people's face appearing in the photo, and when making when there are more than two people's faces in the preview image, can eliminate the many people face size problem of not coordinating mutually that leads to because the distance difference between everybody and the camera promptly when many people shoot, the harmony between many people's face when having increased many people and shooing has improved user's experience of shooing.
And 103, generating a photographed image according to the zoomed human face image.
In this step, specifically, after obtaining the scaled face image, the terminal may generate a photographed image according to the scaled face image. Wherein, in the image of shooing, because the face image after zooming is for carrying out the zooming according to the face distance between people's face and the camera, the image of shooing that consequently generates has eliminated many people when shooing because the many people face shape size inconsistent problem that the distance difference between everybody and the camera leads to, has increased the aesthetic property and the harmony of the image of shooing to the demand of face size when having satisfied single when shooing.
Therefore, in the implementation, the face is zoomed according to the face distance between each face and the camera in the preview image to obtain the zoomed face image, and the photographed image is generated according to the zoomed face image, so that the face in the preview image can be adjusted according to the face distance between the face and the camera, the problem that the face in the picture is too large or too small in the prior art is solved, and the coordination sense of the picture and the photographing experience of a user are improved.
Furthermore, in the embodiment of the present invention, referring to fig. 2, in step 102, when the face is scaled according to the face distance to obtain a scaled face image, the following steps may be performed:
step 201, calculating a distance ratio between a face distance corresponding to each face and a preset reference distance;
specifically, when the number of faces in the preview image is one, the preset reference distance may be a preset distance set by the user. When the number of the faces in the preview image is at least two, the preset reference distance may be a face distance between one of the at least two faces and the camera, for example, a face distance between a face closest to the camera and the camera; in addition, the preset reference distance may also be a preset distance set by a user. Of course, it should be noted that the reference distance is not specifically limited herein.
In this step, a distance ratio between the face distance corresponding to each face and a preset reference distance may be calculated according to the determined face distance between each face and the camera.
Step 202, taking the distance ratio corresponding to each face as the scaling ratio of the corresponding face, and scaling the corresponding face to obtain a scaled face image.
In this step, specifically, after the distance ratio between the face distance corresponding to each face in the preview image and the preset reference distance is obtained through calculation, the distance ratio corresponding to each face may be used as the scaling ratio of the corresponding face, and then the corresponding face is scaled according to the scaling ratio, and the scaled face image is obtained.
Specifically, when the distance scale corresponding to each face is used as the scaling scale of the corresponding face, scaling the corresponding face to obtain a scaled face image, and when the scaling scale of the first face in the preview image is greater than 1, performing amplification processing on the first face according to the scaling scale to obtain an amplified first face image; and/or when the scaling of the second face in the preview image is smaller than 1, carrying out reduction processing on the second face according to the scaling to obtain a reduced second face image. In this way, when the scaling of all the faces in the preview image is greater than 1, the faces can be amplified only according to the scaling to obtain an amplified first face image; in addition, when the scaling of all the faces in the preview image is less than 1, the faces can be reduced only according to the scaling, and a second face image after reduction is obtained; in addition, when the preview image has a scaling ratio of the first face greater than 1 and a scaling ratio of the second face less than 1, the first face needs to be enlarged according to the scaling ratio greater than 1, and the second face needs to be reduced according to the scaling ratio less than 1, so that the enlarged first face image and the reduced second face image are obtained.
The above embodiments are exemplified below.
For example, assume that three faces exist in the preview image, a face distance between a first face a and the camera is 25cm, a face distance between a second face B and the camera is 50cm, a face distance between a third face C and the camera is 100cm, and a preset reference distance is 50cm, then a distance ratio between the face distance corresponding to the first face a and the reference distance is 0.5, a distance ratio between the face distance corresponding to the second face B and the reference distance is 1, and a distance ratio between the face distance corresponding to the third face C and the reference distance is 2. At this time, when the distance scale corresponding to each face is taken as the scaling scale of the corresponding face, it can be obtained that the scaling scale of the first face a is the corresponding distance scale 0.5, the scaling scale of the second face B is the corresponding distance scale 1, and the scaling scale of the third face C is the corresponding distance scale 2. Then, the first face A can be reduced by 0.5 in scaling ratio, namely the face size of the first face A is reduced by 0.5 times; according to the scaling ratio 1, the face size of the second face B is maintained at the original face size; and according to the scaling ratio 2, amplifying the third face C, namely amplifying the face size of the third face C by 2 times.
Thus, before the face sizes of the three faces in the preview image are not zoomed, the face size of the first face A is larger than that of the second face B and the third face C due to the distance difference between the three faces and the camera, the face shape displayed in the preview image is also larger than that of the third face C, at the moment, after the three faces are zoomed according to the zoom ratio, the face size of the first face A is reduced by 0.5 times, and the face size of the third face C is enlarged by 2 times, so that the problem that the face size displayed in the first face A is larger than that of the second face B is avoided, and meanwhile, the problem that the face size displayed in the second face B is larger than that of the third face C is avoided due to the enlargement of the size of the third face C, finally, the sizes of the faces of the three faces are coordinated, so that the inconsistent face feeling of multiple persons existing when the multiple persons take pictures is reduced or even eliminated. Similarly, when a face exists in the preview image, the face is zoomed according to the distance proportion, so that the problem that the face of the user is displayed too big or too small due to the unreasonable distance between the user and the camera is solved, and the photographing satisfaction of the user is improved.
Therefore, the distance proportion corresponding to each face is used as the scaling proportion of the corresponding face, the corresponding face is scaled, and the scaled face image is obtained, so that the face size of the face in the preview image can be scaled according to the distance proportion between the distance of the corresponding face and the reference distance, when one face exists in the preview image, the problem that the face of the user is displayed too large or too small due to unreasonable distance between the user and the camera can be solved, and when more than two faces exist in the preview image, the problem that the face sizes of multiple persons are not coordinated due to the distance difference between the faces and the camera can be reduced or eliminated.
In addition, in the embodiment of the present invention, when performing the scaling process on the face, it is necessary to consider the problem of the relative positional relationship between the faces and the coordination between the faces and the background image, that is, when there are two or more faces in the preview image, if the face is enlarged, it is necessary to consider whether the relative positional relationship between the face and the adjacent face is greatly changed, and if the face is reduced, it is necessary to consider whether the incompatibility that generates a blank area occurs between the face and the background image.
Specifically, when the first face is enlarged and the second face is reduced according to the scaling ratio, the following processing may be performed:
firstly, when a first face is amplified according to a scaling ratio to obtain an amplified first face image, whether an overlapping part exists between the first face and an adjacent face can be judged; if the overlapped part exists, the first face is amplified according to the scaling ratio to obtain an amplified first face image; if the overlapped part does not exist, judging whether the first face and the adjacent face are overlapped or not after the first face and the adjacent face are amplified according to the scaling; if the first face image does not overlap with the second face image, the first face image is magnified according to the scaling ratio to obtain a magnified first face image; and if the overlap occurs, acquiring the overlap distance, setting the distance between the first face and the adjacent face according to the overlap distance, and amplifying the first face according to the scaling ratio to obtain an amplified first face image.
The adjacent faces of the first face are faces adjacent to the first face in each angle direction. Therefore, when the first face and the adjacent face have the overlapped part, whether the adjacent face is influenced by the amplification processing of the first face is not considered, and the first face can be amplified according to the scaling at the moment, so that the first image after the amplification processing is obtained. However, if there is no overlapping portion between the first face and the adjacent face, it needs to be considered whether the first face and the adjacent face after being amplified according to the scaling ratio will overlap, that is, whether the adjacent face will be blocked. Of course, if it is determined that no overlap occurs, the first face may be enlarged according to the scaling ratio to obtain an enlarged first face image; if the first face image is judged to be overlapped, in order to avoid the situation, the overlapped distance needs to be obtained, then the distance between the first face and the adjacent face is set, wherein the set distance between the first face and the adjacent face is the sum of the distance between the first face and the adjacent face before the setting and the overlapped distance, so that after the first face is amplified according to the scaling, the first face and the adjacent face cannot be overlapped, and the amplified first face image is obtained. Therefore, the position relation between the face images obtained after the first face is amplified cannot conflict with the position relation between the face images before the first face is amplified according to the scaling, and therefore the authenticity of the amplified face images is guaranteed to the maximum extent.
Secondly, when the second face is reduced according to the scaling to obtain a reduced second face image, whether a blank image is generated in the peripheral area of the second face after the second face is reduced according to the scaling can be judged; if no blank image is generated, carrying out reduction processing on the second face according to the scaling ratio to obtain a reduced second face image; and if a blank image is generated, acquiring the size of the blank image, reducing the second face according to the scaling, and rendering the background image adjacent to the peripheral area according to the size of the blank image.
Therefore, when the surrounding area of the second face subjected to the reduction processing according to the scaling is judged not to generate blank images, the second face can be reduced according to the scaling, so that the reduced second face image is obtained, and at the moment, no blank area exists between the second face image and the background image in the preview image, so that the coordination of the images in the preview image can be ensured. In addition, when it is determined that a blank image is generated in the peripheral area of the second face after the second face is reduced according to the scaling, the size of the blank image may be obtained, and then, after the second face is reduced according to the scaling, the background image adjacent to the peripheral area of the second face is rendered to the peripheral area according to the size of the blank image, so that the peripheral area does not generate the blank image after the second face is reduced, and the aesthetic property and the harmony of the picture in the preview image are ensured.
In addition, further, in the embodiment of the present invention, before the photographed image is generated according to the zoomed face image, the eye state of the face in the preview image may be further identified, so that when the photographed image is generated according to the zoomed face image, the photographed image may be generated according to the zoomed face image when the eye state is the lens focusing state and the duration of the eye state in the lens focusing state reaches the preset duration. Specifically, when the eye state of the face in the preview image is identified, the eye state of the face closest to the camera in the preview image may be identified.
In addition, specifically, in order to improve the success rate of eye state identification, the eye state of the human face may be identified for a preset number of times. Of course, if the eye state is not yet in the lens focusing state and the duration of the eye state in the lens focusing state reaches the preset duration when the number of times of recognizing the eye state of the face reaches the preset number of times, the eye state recognition may be exited.
Like this for the terminal can directly shoot the user according to the eyes state is automatic, and need not shoot through the mode of clicking the button or touching fingerprint module again, has improved the convenience of shooing, because the problem of the influence effect of shooing that the terminal shake leads to when having avoided manual button or touching terminal, has strengthened the stability of shooing, has improved the effect of shooing and has reduced invalid photo, has promoted the efficiency of shooing.
The embodiment of the invention takes the distance ratio between the face distance corresponding to each face in the preview image and the preset reference distance as the scaling ratio of the corresponding face, then scales the face according to the scaling ratio, identifies the eye state of the face after obtaining the scaled face image, and then generates a photographed image according to the scaled face image when the eye state is the lens focusing state and the duration of the eye state in the lens focusing state reaches the preset duration. Therefore, the face size of the face in the preview image can be zoomed according to the distance proportion, the problem that the face in the picture is too large or too small in the prior art is solved, the coordination sense of the picture and the photographing experience of a user are improved, the terminal can automatically photograph the user according to the eye state without photographing in a mode of clicking a key or touching a fingerprint module, the photographing convenience is improved, the problem that the photographing effect is influenced due to terminal shaking when the terminal is manually pressed or touched is avoided, the photographing stability is enhanced, the photographing effect is improved, invalid pictures are reduced, and the photographing efficiency is improved.
On the other hand, as shown in fig. 3, an embodiment of the present invention further provides a terminal, where the terminal is provided with a camera, and the terminal further includes:
an obtaining module 301, configured to obtain at least one face in a preview image acquired by the camera, and determine a face distance between each face and the camera;
a scaling module 302, configured to scale a face according to the face distance to obtain a scaled face image;
and a generating module 303, configured to generate a photographed image according to the zoomed face image.
Therefore, in the embodiment of the invention, the acquisition module acquires at least one face in the preview image acquired by the camera, the face distance between each face and the camera is determined, then the zooming module zooms the face according to the face distance to obtain a zoomed face image, and finally the generation module generates a photographed image according to the zoomed face image, so that the face in the preview image can be adjusted according to the face distance between the face and the camera, the problem that the face in the picture is too large or too small in the prior art is solved, and the coordination sense of the picture and the photographing experience of a user are improved.
Further, referring to fig. 4, the scaling module 302 includes: a calculating unit 3021, configured to calculate a distance ratio between a face distance corresponding to each face and a preset reference distance; the scaling unit 3022 is configured to scale the corresponding face by using the distance scale corresponding to each face as the scaling scale of the corresponding face, so as to obtain a scaled face image.
Further, the scaling unit 3022 includes: a first scaling unit 3122, configured to, when a scaling ratio of a first face in the preview image is greater than 1, perform amplification processing on the first face according to the scaling ratio, to obtain an amplified first face image; the second scaling unit 3222 is configured to, when the scaling of the second face in the preview image is smaller than 1, perform scaling processing on the second face according to the scaling, so as to obtain a scaled-down second face image.
Further, the first scaling unit 3122 includes: a first judging subunit 31221, configured to judge whether there is an overlapping portion between the first face and an adjacent face; a first processing subunit 31222, configured to, if there is an overlapping portion, perform an enlargement process on the first face according to the scaling ratio, to obtain an enlarged first face image; a second processing subunit 31223, configured to, if there is no overlapping portion, determine whether an overlap occurs between the first face and an adjacent face after being amplified according to the scaling; if the first face image does not overlap with the second face image, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; and if the overlap is generated, acquiring the overlapped distance, setting the distance between the first face and the adjacent face according to the overlapped distance, and amplifying the first face according to the scaling ratio to obtain an amplified first face image.
Further, the second zooming unit 3222 includes: a second determining subunit 32221, configured to determine whether a blank image will be generated in a peripheral area of the second face after the reduction processing is performed on the second face according to the scaling; a third processing subunit 32222, configured to, if no blank image is generated, perform reduction processing on the second face according to the scaling ratio to obtain a reduced second face image; a fourth processing subunit 32223, configured to, if a blank image is generated, obtain a size of the blank image, perform reduction processing on the second face according to the scaling, and render, according to the size of the blank image, a background image adjacent to the peripheral area.
Further, the terminal further includes: an identifying module 304, configured to identify an eye state of a human face in the preview image; the generating module 303 is specifically configured to generate a photographed image according to the zoomed human face image when the eye state in the identifying module is a lens focusing state and the duration of the eye state in the lens focusing state reaches a preset duration.
Further, the recognition module 304 is specifically configured to recognize an eye state of a face closest to a camera in the preview image.
In this way, the terminal in the embodiment of the present invention uses the distance ratio between the face distance corresponding to each face in the preview image and the preset reference distance as the scaling ratio of the corresponding face, then scales the face according to the scaling ratio, and after obtaining the scaled face image, identifies the eye state of the face, and then generates a photographed image according to the scaled face image when the eye state is the lens focusing state and the duration of the eye state in the lens focusing state reaches the preset duration. Therefore, the face size of the face in the preview image can be zoomed according to the distance proportion, the problem that the face in the picture is too large or too small in the prior art is solved, the coordination sense of the picture and the picture taking experience of a user are improved, the face size of the user can be adjusted according to the requirement of the user when a single person takes the picture, the problem that the face sizes of multiple persons are not coordinated due to the distance difference between the face and a camera can be reduced or even eliminated when the multiple persons take the picture, the terminal can automatically take the picture of the user according to the eye state without taking the picture by clicking a key or touching a fingerprint module, the convenience of taking the picture is improved, the problem that the picture taking effect is influenced due to the shake of the terminal when the terminal is manually pressed or touched is avoided, the stability of taking the picture is enhanced, the picture taking effect is improved, and invalid pictures are reduced, the photographing efficiency is improved.
On the other hand, as shown in fig. 5, it is a third block diagram of the terminal in the embodiment of the present invention. The terminal 500 shown in fig. 5 includes: at least one processor 501, a memory 502, at least one network interface 504, a user interface 503, and further a camera 506. The various components in terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 502 of the subject systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022. Specifically, the memory 502 stores a setting module and a configuration file.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, the program or the instruction stored in the memory 502 may be specifically a program or an instruction stored in the application 5022. Wherein, the processor 501 is configured to: acquiring at least one face in a preview image acquired by the camera, and determining the face distance between each face and the camera; zooming the face according to the face distance to obtain a zoomed face image; and generating a photographed image according to the zoomed human face image.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware. The memory 502 stores therein the correspondence relationships and the like used in the above-described method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions of the present Application, or a combination thereof.
For a software implementation, the techniques of an embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions of the embodiments of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 501 is further configured to: calculating the distance proportion between the face distance corresponding to each face and a preset reference distance; and taking the distance proportion corresponding to each face as the scaling proportion of the corresponding face, and scaling the corresponding face to obtain a scaled face image.
Optionally, as another embodiment, the processor 501 is further configured to: when the scaling of a first face in the preview image is larger than 1, carrying out amplification processing on the first face according to the scaling to obtain an amplified first face image; and/or when the scaling of the second face in the preview image is smaller than 1, carrying out reduction processing on the second face according to the scaling to obtain a reduced second face image.
Optionally, as another embodiment, the processor 501 is further configured to: judging whether an overlapping part exists between the first face and an adjacent face; if the overlapped part exists, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; if the overlapped part does not exist, judging whether the first face and the adjacent face are overlapped or not after the first face and the adjacent face are amplified according to the scaling; if the first face image does not overlap with the second face image, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; and if the overlap is generated, acquiring the overlapped distance, setting the distance between the first face and the adjacent face according to the overlapped distance, and amplifying the first face according to the scaling ratio to obtain an amplified first face image.
Optionally, as another embodiment, the processor 501 is further configured to: judging whether a blank image is generated in the peripheral area of the second face after the second face is reduced according to the scaling; if no blank image is generated, carrying out reduction processing on the second face according to the scaling ratio to obtain a reduced second face image; and if a blank image is generated, acquiring the size of the blank image, reducing the second face according to the scaling, and rendering a background image adjacent to the peripheral area according to the size of the blank image.
Optionally, as another embodiment, the processor 501 is further configured to: identifying the eye state of the face in the preview image; the step of generating a photographed image based on the zoomed face image includes: and when the eye state is a lens focusing state and the duration of the eye state in the lens focusing state reaches a preset duration, generating a photographed image according to the zoomed human face image.
Optionally, as another embodiment, the processor 501 is further configured to: and identifying the eye state of the face closest to the camera in the preview image.
The terminal 500 can implement the processes implemented by the terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The terminal provided in the above embodiment of the present invention uses a distance ratio between a face distance corresponding to each face in the preview image and a preset reference distance as a scaling ratio of the corresponding face, then scales the face according to the scaling ratio, and after obtaining the scaled face image, identifies an eye state of the face, and then generates a photographed image according to the scaled face image when the eye state is a lens focusing state and a duration of the eye state in the lens focusing state reaches a preset duration. Therefore, the face size of the face in the preview image can be zoomed according to the distance proportion, the problem that the face in the picture is too large or too small in the prior art is solved, the coordination sense of the picture and the picture taking experience of a user are improved, the face size of the user can be adjusted according to the requirement of the user when a single person takes the picture, the problem that the face sizes of multiple persons are not coordinated due to the distance difference between the face and a camera can be reduced or even eliminated when the multiple persons take the picture, the terminal can automatically take the picture of the user according to the eye state without taking the picture by clicking a key or touching a fingerprint module, the convenience of taking the picture is improved, the problem that the picture taking effect is influenced due to the shake of the terminal when the terminal is manually pressed or touched is avoided, the stability of taking the picture is enhanced, the picture taking effect is improved, and invalid pictures are reduced, the photographing efficiency is improved.
On the other hand, as shown in fig. 6, it is a fourth structural block diagram of the terminal in the embodiment of the present invention. Specifically, the terminal 600 in fig. 6 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The terminal 600 in fig. 6 includes a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a wifi (wireless fidelity) module 680, and a power supply 690. In addition, the terminal further includes a camera 650.
The input unit 630 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the terminal 600. Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 640 may be used to display information input by a user or information provided to the user and various menu interfaces of the terminal 600. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 631 may cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 660 is a control center of the terminal 600, connects various parts of the entire mobile phone by using various interfaces and lines, and executes various functions and processes data of the terminal 600 by running or executing software programs and/or modules stored in the first memory 621 and calling data stored in the second memory 622, thereby integrally monitoring the terminal 600. Optionally, processor 660 may include one or more processing units.
In the embodiment of the present invention, the software programs and/or modules stored in the first storage 621 and/or the data stored in the second storage 622 are called, wherein the first storage 621 includes a setting module and a configuration file. Processor 660 is configured to: acquiring at least one face in a preview image acquired by the camera, and determining the face distance between each face and the camera; zooming the face according to the face distance to obtain a zoomed face image; and generating a photographed image according to the zoomed human face image.
Optionally, as another embodiment, the processor 660 is further configured to: calculating the distance proportion between the face distance corresponding to each face and a preset reference distance; and taking the distance proportion corresponding to each face as the scaling proportion of the corresponding face, and scaling the corresponding face to obtain a scaled face image.
Optionally, as another embodiment, the processor 660 is further configured to: when the scaling of a first face in the preview image is larger than 1, carrying out amplification processing on the first face according to the scaling to obtain an amplified first face image; and/or when the scaling of the second face in the preview image is smaller than 1, carrying out reduction processing on the second face according to the scaling to obtain a reduced second face image.
Optionally, as another embodiment, the processor 660 is further configured to: judging whether an overlapping part exists between the first face and an adjacent face; if the overlapped part exists, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; if the overlapped part does not exist, judging whether the first face and the adjacent face are overlapped or not after the first face and the adjacent face are amplified according to the scaling; if the first face image does not overlap with the second face image, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; and if the overlap is generated, acquiring the overlapped distance, setting the distance between the first face and the adjacent face according to the overlapped distance, and amplifying the first face according to the scaling ratio to obtain an amplified first face image.
Optionally, as another embodiment, the processor 660 is further configured to: judging whether a blank image is generated in the peripheral area of the second face after the second face is reduced according to the scaling; if no blank image is generated, carrying out reduction processing on the second face according to the scaling ratio to obtain a reduced second face image; and if a blank image is generated, acquiring the size of the blank image, reducing the second face according to the scaling, and rendering a background image adjacent to the peripheral area according to the size of the blank image.
Optionally, as another embodiment, the processor 660 is further configured to: identifying the eye state of the face in the preview image; the step of generating a photographed image based on the zoomed face image includes: and when the eye state is a lens focusing state and the duration of the eye state in the lens focusing state reaches a preset duration, generating a photographed image according to the zoomed human face image.
Optionally, as another embodiment, the processor 660 is further configured to: and identifying the eye state of the face closest to the camera in the preview image.
The terminal provided in the above embodiment of the present invention uses a distance ratio between a face distance corresponding to each face in the preview image and a preset reference distance as a scaling ratio of the corresponding face, then scales the face according to the scaling ratio, and after obtaining the scaled face image, identifies an eye state of the face, and then generates a photographed image according to the scaled face image when the eye state is a lens focusing state and a duration of the eye state in the lens focusing state reaches a preset duration. Therefore, the face size of the face in the preview image can be zoomed according to the distance proportion, the problem that the face in the picture is too large or too small in the prior art is solved, the coordination sense of the picture and the picture taking experience of a user are improved, the face size of the user can be adjusted according to the requirement of the user when a single person takes the picture, the problem that the face sizes of multiple persons are not coordinated due to the distance difference between the face and a camera can be reduced or even eliminated when the multiple persons take the picture, the terminal can automatically take the picture of the user according to the eye state without taking the picture by clicking a key or touching a fingerprint module, the convenience of taking the picture is improved, the problem that the picture taking effect is influenced due to the shake of the terminal when the terminal is manually pressed or touched is avoided, the stability of taking the picture is enhanced, the picture taking effect is improved, and invalid pictures are reduced, the photographing efficiency is improved.
The terminal 600 can implement each process implemented by the terminal in the foregoing embodiments, and is not described here again to avoid repetition.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A photographing method is applied to a terminal provided with a camera, and is characterized by comprising the following steps:
acquiring at least two faces in a preview image acquired by the camera, and determining the face distance between each face and the camera;
zooming the face according to the face distance to obtain a zoomed face image;
generating a photographed image according to the zoomed human face image;
the step of zooming the face according to the face distance to obtain a zoomed face image comprises the following steps:
calculating the distance proportion between the face distance corresponding to each face and a preset reference distance;
taking the distance proportion corresponding to each face as the scaling proportion of the corresponding face, and scaling the corresponding face to obtain a scaled face image;
the step of scaling the corresponding face by taking the distance scale corresponding to each face as the scaling scale of the corresponding face to obtain a scaled face image comprises the following steps:
when the scaling of a first face in the preview image is larger than 1, carrying out amplification processing on the first face according to the scaling to obtain an amplified first face image; and/or
When the scaling of a second face in the preview image is smaller than 1, carrying out reduction processing on the second face according to the scaling to obtain a reduced second face image;
the step of performing enlargement processing on the first face according to the scaling ratio to obtain an enlarged first face image includes:
judging whether an overlapping part exists between the first face and an adjacent face;
if the overlapped part exists, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image;
if the overlapped part does not exist, judging whether the first face and the adjacent face are overlapped or not after the first face and the adjacent face are amplified according to the scaling; if the first face image does not overlap with the second face image, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; and if the overlap is generated, acquiring the overlapped distance, setting the distance between the first face and the adjacent face according to the overlapped distance, and amplifying the first face according to the scaling ratio to obtain an amplified first face image.
2. The photographing method according to claim 1, wherein the step of performing reduction processing on the second face according to the scaling ratio to obtain a reduced second face image comprises:
judging whether a blank image is generated in the peripheral area of the second face after the second face is reduced according to the scaling;
if no blank image is generated, carrying out reduction processing on the second face according to the scaling ratio to obtain a reduced second face image;
and if a blank image is generated, acquiring the size of the blank image, reducing the second face according to the scaling, and rendering a background image adjacent to the peripheral area according to the size of the blank image.
3. The method of claim 1, wherein before the step of generating the photographed image from the scaled face image, the method further comprises:
identifying the eye state of the face in the preview image;
the step of generating a photographed image based on the zoomed face image includes:
and when the eye state is a lens focusing state and the duration of the eye state in the lens focusing state reaches a preset duration, generating a photographed image according to the zoomed human face image.
4. The photographing method according to claim 3, wherein the recognizing the eye state of the face in the preview image comprises:
and identifying the eye state of the face closest to the camera in the preview image.
5. A terminal is provided with a camera, and is characterized by comprising:
the acquisition module is used for acquiring at least two faces in the preview image acquired by the camera and determining the face distance between each face and the camera;
the zooming module is used for zooming the face according to the face distance to obtain a zoomed face image;
the generating module is used for generating a photographed image according to the zoomed human face image;
the scaling module comprises:
the calculating unit is used for calculating the distance proportion between the face distance corresponding to each face and a preset reference distance;
the zooming unit is used for zooming the corresponding face by taking the distance proportion corresponding to each face as the zooming proportion of the corresponding face to obtain a zoomed face image;
the scaling unit includes:
the first zooming unit is used for magnifying the first human face according to the zooming ratio when the zooming ratio of the first human face in the preview image is larger than 1 to obtain a magnified first human face image; and/or
The second zooming unit is used for zooming out the second face according to the zooming ratio when the zooming ratio of the second face in the preview image is smaller than 1 to obtain a zoomed out second face image;
the first scaling unit includes:
the first judging subunit is used for judging whether an overlapping part exists between the first face and an adjacent face;
the first processing subunit is configured to, if there is an overlapping portion, perform amplification processing on the first face according to the scaling ratio to obtain an amplified first face image;
the second processing subunit is configured to, if there is no overlapping portion, determine whether the first face and the adjacent face that have been subjected to the amplification processing according to the scaling ratio overlap; if the first face image does not overlap with the second face image, carrying out amplification processing on the first face according to the scaling ratio to obtain an amplified first face image; and if the overlap is generated, acquiring the overlapped distance, setting the distance between the first face and the adjacent face according to the overlapped distance, and amplifying the first face according to the scaling ratio to obtain an amplified first face image.
6. The terminal of claim 5, wherein the second scaling unit comprises:
a second judging subunit, configured to judge whether a blank image will be generated in a peripheral area of the second face after the reduction processing is performed on the second face according to the scaling;
a third processing subunit, configured to, if no blank image is generated, perform reduction processing on the second face according to the scaling ratio to obtain a reduced second face image;
and the fourth processing subunit is configured to, if a blank image is generated, obtain a size of the blank image, perform reduction processing on the second face according to the scaling, and render a background image adjacent to the peripheral area according to the size of the blank image.
7. The terminal of claim 5, further comprising:
the recognition module is used for recognizing the eye state of the human face in the preview image;
the generation module is specifically configured to generate a photographed image according to the zoomed face image when the eye state in the recognition module is a lens focusing state and the duration of the eye state in the lens focusing state reaches a preset duration.
8. The terminal according to claim 7, wherein the recognition module is specifically configured to recognize an eye state of a face closest to a camera in the preview image.
CN201710338637.5A 2017-05-12 2017-05-12 Photographing method and terminal Active CN107172347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710338637.5A CN107172347B (en) 2017-05-12 2017-05-12 Photographing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710338637.5A CN107172347B (en) 2017-05-12 2017-05-12 Photographing method and terminal

Publications (2)

Publication Number Publication Date
CN107172347A CN107172347A (en) 2017-09-15
CN107172347B true CN107172347B (en) 2020-04-14

Family

ID=59816044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710338637.5A Active CN107172347B (en) 2017-05-12 2017-05-12 Photographing method and terminal

Country Status (1)

Country Link
CN (1) CN107172347B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11748508B2 (en) 2017-11-16 2023-09-05 Huawei Technologies Co., Ltd. Display method and apparatus, and terminal
CN109947236B (en) * 2017-12-21 2024-05-28 艾力普提实验室公司 Method and device for controlling content on a display of an electronic device
CN108600647A (en) * 2018-07-24 2018-09-28 努比亚技术有限公司 Shooting preview method, mobile terminal and storage medium
CN110266947B (en) * 2019-06-26 2021-05-04 Oppo广东移动通信有限公司 Photographing method and related device
WO2021259063A1 (en) * 2020-06-23 2021-12-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for automatically zooming one or more objects present in a camera preview frame
WO2022001630A1 (en) * 2020-06-29 2022-01-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for capturing at least one smart media

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6791584B1 (en) * 2000-09-05 2004-09-14 Yiling Xie Method of scaling face image with spectacle frame image through computer
CN1946139A (en) * 2006-10-20 2007-04-11 北京中星微电子有限公司 Method and device for processing image in view finder
CN101478629A (en) * 2008-01-04 2009-07-08 华晶科技股份有限公司 Image processing process for regulating human face ratio
CN101610359A (en) * 2008-06-17 2009-12-23 华晶科技股份有限公司 Digital photographic device and control method thereof
CN102714761A (en) * 2009-12-29 2012-10-03 夏普株式会社 Image processing device, image processing method, and image processing program
CN102833486A (en) * 2012-07-05 2012-12-19 深圳泰山在线科技有限公司 Method and device for real-time adjusting face display scale in video image
CN103945121A (en) * 2014-03-24 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN106488126A (en) * 2016-10-26 2017-03-08 惠州Tcl移动通信有限公司 A kind of can the photographic method of auto zoom picture size, system and its mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6791584B1 (en) * 2000-09-05 2004-09-14 Yiling Xie Method of scaling face image with spectacle frame image through computer
CN1946139A (en) * 2006-10-20 2007-04-11 北京中星微电子有限公司 Method and device for processing image in view finder
CN101478629A (en) * 2008-01-04 2009-07-08 华晶科技股份有限公司 Image processing process for regulating human face ratio
CN101610359A (en) * 2008-06-17 2009-12-23 华晶科技股份有限公司 Digital photographic device and control method thereof
CN102714761A (en) * 2009-12-29 2012-10-03 夏普株式会社 Image processing device, image processing method, and image processing program
CN102833486A (en) * 2012-07-05 2012-12-19 深圳泰山在线科技有限公司 Method and device for real-time adjusting face display scale in video image
CN103945121A (en) * 2014-03-24 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN106488126A (en) * 2016-10-26 2017-03-08 惠州Tcl移动通信有限公司 A kind of can the photographic method of auto zoom picture size, system and its mobile terminal

Also Published As

Publication number Publication date
CN107172347A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
EP3661187B1 (en) Photography method and mobile terminal
CN106406710B (en) Screen recording method and mobile terminal
AU2022228121B2 (en) User interfaces for simulated depth effects
CN107172347B (en) Photographing method and terminal
CN105959553B (en) A kind of switching method and terminal of camera
CN107528938B (en) Video call method, terminal and computer readable storage medium
CN105827952B (en) A kind of photographic method and mobile terminal removing specified object
CN106060406B (en) Photographing method and mobile terminal
WO2019001152A1 (en) Photographing method and mobile terminal
CN107390990B (en) Image adjusting method and mobile terminal
CN106056533B (en) A kind of method and terminal taken pictures
CN106657793B (en) A kind of image processing method and mobile terminal
CN107124543B (en) Shooting method and mobile terminal
CN107509030B (en) focusing method and mobile terminal
CN107613203B (en) Image processing method and mobile terminal
CN106250021B (en) Photographing control method and mobile terminal
CN106454086B (en) Image processing method and mobile terminal
EP2887648B1 (en) Method of performing previewing and electronic device for implementing the same
CN106168894B (en) Content display method and mobile terminal
CN107592458B (en) Shooting method and mobile terminal
CN107360375B (en) Shooting method and mobile terminal
CN107959789B (en) Image processing method and mobile terminal
CN107346332A (en) A kind of image processing method and mobile terminal
CN106940597A (en) A kind of camera starts control method and mobile terminal
CN106791422A (en) A kind of image processing 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
GR01 Patent grant
GR01 Patent grant