CN111031248A - Shooting method and electronic equipment - Google Patents

Shooting method and electronic equipment Download PDF

Info

Publication number
CN111031248A
CN111031248A CN201911356338.XA CN201911356338A CN111031248A CN 111031248 A CN111031248 A CN 111031248A CN 201911356338 A CN201911356338 A CN 201911356338A CN 111031248 A CN111031248 A CN 111031248A
Authority
CN
China
Prior art keywords
target
area
display
shooting area
preview
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
CN201911356338.XA
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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN201911356338.XA priority Critical patent/CN111031248A/en
Publication of CN111031248A publication Critical patent/CN111031248A/en
Pending legal-status Critical Current

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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a shooting method and electronic equipment, belonging to the technical field of shooting, wherein the method comprises the following steps: receiving a first input of a user; selecting a target photographing region in a first preview screen in response to the first input; receiving a first operation of a user; changing a display position of the target photographing region in the first preview screen in response to the first operation; and when the target shooting area is displayed in the target display area, displaying a second preview picture, wherein the second preview picture displays the amplified target shooting area. According to the embodiment of the invention, the user does not need to adjust the magnification for multiple times to select the target shooting area, the operation is simple and convenient, the shooting time can be greatly shortened, and the shooting experience of the user is improved.

Description

Shooting method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of photographing, in particular to a photographing method and electronic equipment.
Background
With the development of science and technology, various electronic devices are rapidly popularized, and become essential tools for daily life of people. The shooting capability of the electronic device is also greatly developed along with the needs of people, for example, people can adjust the preview interface to the magnification ratio desired by the user in the preview process, and then shoot the area concerned by the user. However, in the conventional shooting method, after the preview interface is adjusted to the magnification desired by the user, the region of interest of the user is not necessarily displayed in the preview interface, and therefore, it is inconvenient for the user to select and shoot the region of interest.
Disclosure of Invention
The embodiment of the invention provides a shooting method and electronic equipment, and aims to solve the problem that when a user adjusts the magnification, a concerned area is difficult to select and shoot in the existing shooting method applied to the electronic equipment.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shooting method applied to an electronic device, including:
receiving a first input of a user;
selecting a target photographing region in a first preview screen in response to the first input;
receiving a first operation of a user;
changing a display position of the target photographing region in the first preview screen in response to the first operation;
and when the target shooting area is displayed in the target display area, displaying a second preview picture, wherein the second preview picture displays the amplified target shooting area.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the first receiving module is used for receiving a first input of a user;
the selection module is used for responding to the first input and selecting a target shooting area in the first preview picture;
the second receiving module is used for receiving the first operation of the user;
a display position updating module, configured to change a display position of the target shooting area in the first preview screen in response to the first operation;
and the display switching module is used for displaying a second preview picture when the target shooting area is displayed in the target display area, wherein the second preview picture displays the amplified target shooting area.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned shooting method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the shooting method are implemented.
In the embodiment of the invention, a user can select the target shooting area by using the first preview picture with low magnification, then the electronic equipment automatically identifies whether the target shooting area is displayed in the target display area, and if the target shooting area is displayed in the target display area, the target shooting area is automatically switched to the second preview picture, and the amplified target shooting area is displayed in the second preview picture, so that the user does not need to adjust the magnification many times to select the target shooting area, the operation is simple and convenient, the shooting time can be greatly shortened, and the shooting experience of the user is improved.
Drawings
Fig. 1 is a schematic flow chart of a shooting method according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating a first preview screen according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a selected target capture area according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a display of guiding information according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a second preview screen according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device in a third embodiment of the invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
The existing electronic equipment is generally provided with a group of cameras, namely a plurality of lenses, so that the increasingly rich shooting requirements of people are met.
There is typically a telephoto lens among the multiple cameras of the electronic device so that the user can take a farther picture. Telephoto lenses, such as periscopic zoom lenses, in combination with digital zoom, can achieve zoom magnifications of up to 50 times.
In general, a main lens used by default by an electronic apparatus configured with multiple cameras is not a telephoto lens, and therefore the following occurs: when the default main shooting lens is used for previewing, the target to be shot is already at the center of the screen, but after the zoom lens is switched to the telephoto lens with high magnification, the target to be shot is not displayed in the previewed screen after the zoom lens is switched. The main reasons are hand trembling of the user and registration problems between the two cameras during the handover. When this occurs, the user needs to move the electronic apparatus with high magnification to move the object to be photographed, which the user originally desires to photograph, into the preview screen. However, in the case of high magnification, a small movement of the electronic device is reflected on the screen and is a huge movement, which causes a secondary composition under the telephoto lens (i.e., selecting the object to be photographed again) to be troublesome. Therefore, when a main shooting lens previewing picture is shot by using a telephoto lens at present, a common shooting method is to enlarge the picture step by step, namely, a user enlarges the picture a little by a little and ensures that the target to be shot is kept in the current previewing picture. In summary, the existing shooting methods have been unable to meet the increasing shooting requirements of users.
Referring to fig. 1, fig. 1 is a schematic flow chart of a shooting method according to an embodiment of the present invention, where the method is applied to an electronic device, and includes:
step 11: receiving a first input of a user;
step 12: selecting a target photographing region in a first preview screen in response to the first input;
step 13: receiving a first operation of a user;
step 14: changing a display position of the target photographing region in the first preview screen in response to the first operation;
step 15: and when the target shooting area is displayed in the target display area, displaying a second preview picture, wherein the second preview picture displays the amplified target shooting area. Thus, the user can finish shooting at a high magnification based on the second preview screen.
In the embodiment of the invention, a user can select the target shooting area by using low magnification, then the electronic equipment automatically identifies whether the target shooting area is displayed in the target display area, and if the target shooting area is displayed in the target display area, the target shooting area is automatically switched to the second preview picture, and the amplified target shooting area is displayed in the second preview picture, so that the user does not need to adjust the magnification many times to select the target shooting area, the operation is simple and convenient, the shooting time can be greatly shortened, and the shooting experience of the user is improved.
The above-described photographing method is exemplified below.
Optionally, the first input may be a sliding input on a screen, and a line connecting starting points of the sliding input is a diagonal line of the target shooting area. The first input may also be a click input, and a position of the click is a central point of the target photographing region. The first operation may specifically be an operation of moving the electronic device.
Optionally, before the step of receiving the first input of the user, the method further includes:
receiving a second input;
in response to the second input, a target shooting mode is initiated that assists in selecting a target shooting region, also referred to as assisting in high magnification composition.
Specifically, referring to fig. 2, after starting the shooting function of the electronic device, the user enters a preview interface, a first preview screen is displayed, then the user selects a target shooting mode, and finally, referring to fig. 3, the user defines a target shooting area 1 on the first preview screen.
Optionally, after the target photographing region is selected in the first preview screen, the method further includes:
and displaying guide information according to the relative position relation between the target shooting area and the target display area.
The guiding information is used for guiding a user to move the electronic equipment until the target shooting area is displayed in the target display area.
Specifically, in the embodiment of the present invention, after the user selects the target shooting area in the first preview screen (specifically, the wide-angle preview screen), the electronic device guides the user to move the electronic device to a corresponding position by displaying the guidance information, so that the target shooting area (specifically, the corresponding object to be shot) is displayed in the target display area. Therefore, when the shooting is switched to the high-magnification shooting, the object to be shot corresponding to the target shooting area can be displayed in the switched preview picture, and the problem that a user needs to repeatedly move the electronic equipment to move the object to be shot into the picture after the switching is avoided. In addition, the magnification can be directly adjusted to the target magnification capable of magnifying the target shooting area to the whole preview picture without progressive magnification, so that the shooting time can be greatly shortened, and the shooting experience of a user is improved.
Optionally, referring to fig. 4, the display guidance information may specifically be a display guidance arrow 2 and/or a calibration frame 3 of the target display area, where a direction of the arrow is consistent with a direction in which the electronic device needs to move.
In addition, the target display area may be determined according to the target photographing area, for example, the size of the target display area may coincide with the size of the target photographing area.
Optionally, the electronic device includes a first lens and a second lens, the first preview screen is captured by the first lens, and the second preview screen is captured by the second lens. The first lens may be a main camera lens of the electronic device, and is generally a wide-angle lens. The second lens may be a telephoto lens. And the magnification of the second lens when the second preview picture is collected is larger than that of the first lens when the first preview picture is collected.
That is, the embodiment of the present invention provides a method for shooting a target shooting area (specifically, shooting an object to be shot displayed in the target shooting area) in a preview picture of another lens (that is, a first lens) by using a lens (that is, a second lens) with a high magnification, and when an electronic device is switched from a first lens to a second lens with a high magnification, it can be ensured that the object to be shot displayed in a preview picture (a first preview picture) corresponding to the first lens can be displayed in the preview picture (a second preview picture) after the preview picture is switched to the second lens.
In the embodiment of the invention, the electronic equipment comprises a plurality of lenses, and the first preview image and the second preview image are acquired by different lenses respectively. The shooting capability of the electronic equipment can be greatly enhanced by arranging a plurality of lenses.
It should be noted that, when determining the target display area, the target display area needs to be determined by combining the calibration information of the first lens and the second lens.
Optionally, before displaying the second preview screen when the target shooting area is displayed in the target display area, the method further includes:
and determining the magnification of the target shooting area according to the size of the target shooting area in the first preview picture and the size of the display screen of the electronic equipment.
In the embodiment of the present invention, the length-width ratio of the target shooting area is consistent with the length-width ratio of the display screen of the electronic device, that is, the length-width ratio of the preview image. Specifically, a size ratio of the display screen of the electronic device to the target shooting area may be acquired as a magnification of the target shooting area. For example, the magnification of the target photographing region may be calculated according to the following formula:
Ratio_all=Ori_width/Roi_width
wherein Ratio _ all is a total magnification, that is, a magnification of the target shooting area; ori _ width is the width of a display screen of the electronic equipment; and Roi _ width is the display width of the target shooting area. Of course, the magnification of the target shooting area can also be obtained by calculating the ratio of the length (height) of the display screen of the electronic device to the length (height) of the display of the target shooting area.
In another optional embodiment, the magnification of the target capturing area may be obtained according to a ratio of an area of a display screen of the electronic device to an area of the target capturing area in the first preview screen.
In the embodiment of the present invention, the magnification of the target shooting area is a relative magnification, that is, the magnification of the second preview screen is relative to the magnification of the first preview screen, and if the magnification of the first preview screen is greater than 1, the absolute magnification of the target shooting area is the magnification of the target shooting area multiplied by the magnification of the first preview screen.
Optionally, acquiring the magnification of the second lens when the second preview screen is displayed as a target lens magnification;
the second lens has at least one first magnification, the first magnification is smaller than or equal to the magnification of the target shooting area (which may also be referred to as a target magnification), and the target lens magnification is the largest first magnification among the at least one first magnification.
In the embodiment of the present invention, the target magnification ratio is not necessarily equal to the target magnification ratio, that is, the target magnification ratio is not necessarily achieved by zooming the second lens, and digital zooming may be combined. For example, if the magnification of the second lens is only 2 times, 3 times and 5 times selectable, and the target magnification is 4 times, the target lens magnification is determined to be 3 times, and the remainder is filled in by the digital zoom. If the magnification of the second lens is only 2 times, 3 times and 5 times selectable, and the target magnification is 5 times, the target lens magnification is determined to be 5 times without being magnified through digital zooming. If the magnification of the second lens is only 2 times, 3 times and 5 times selectable, and the target magnification is 8 times, the target lens magnification is determined to be 5 times, and the rest is filled up through digital zooming. The magnification of the digital zoom can be calculated by the following formula:
Ratio_digit=Ratio_all/Ratio_lens
wherein Ratio _ digit is the magnification of the digital zoom, Ratio _ all is the target magnification, and Ratio _ lens is the target lens magnification. That is, the target magnification is equal to the magnification of the digital zoom multiplied by the target lens magnification.
In addition, when the electronic device includes a first lens and a second lens, the first preview image is captured by the first lens, the second preview image is captured by the second lens, and the second lens has at least one first magnification, if the default magnification when the second lens is started is not the target lens magnification, the magnification of the second lens is directly switched from the default magnification to the target lens magnification.
In the embodiment of the invention, the magnification of the second lens can be directly adjusted to the magnification of the target lens without amplifying step by step, so that the shooting time can be greatly shortened, and the shooting experience of a user can be improved. In addition, while switching the second lens, if the target magnification includes a magnification of the digital zoom, the digital zoom of a corresponding magnification is also required.
Optionally, the method further includes:
and when the target shooting area is displayed in the target display area, displaying first indication information.
Therefore, the user can judge whether to stop moving the electronic equipment according to the guide information and can stop moving the electronic equipment in time according to the displayed first indication information.
Optionally, the method further includes:
in a first operation process of receiving a user, namely in a moving process of the electronic device, displaying second indication information, wherein the second indication information is used for indicating a current display position of the target shooting area (specifically, a corresponding object to be shot).
Specifically, the object to be photographed in the target photographing region is tracked by calculating orb (organized FAST and Rotated bright) features of a preview screen. The second indication information may be a frame that moves with the movement of the display position of the object to be photographed.
In the embodiment of the invention, the second indication information for indicating the current display position of the object to be shot corresponding to the target shooting area is displayed, so that a user can visually see the real-time display position of the object to be shot in the process of moving the electronic equipment.
In addition, if the second indication information is a box, it may be indicated whether the target photographing region is displayed in the target display region by a change in box color, that is, the box color of the second indication information may be used as the first indication information. Specifically, when the object to be photographed is not displayed in the target display area, the color of the square frame is green, and once the object to be photographed is displayed in the target display area, the color of the square frame is switched to red.
Further optionally, when the target shooting area is displayed in the target display area, displaying a second preview screen specifically includes:
and displaying the second preview picture when the target shooting area is displayed in the target display area and the continuous display duration meets a preset condition.
Wherein, the continuous display duration may be used as the first indication information. Specifically, when it is detected that the target shooting area is displayed in the target display area, the display of timing information is started, and the timer is counting up or counting down.
In another optional embodiment of the present invention, when the target shooting area is displayed in the target display area, the displaying a second preview screen specifically includes:
when N continuous frames of target preview pictures are detected, switching to the second preview picture;
the target preview picture is a first preview picture in which an object to be shot corresponding to the target shooting area is displayed in the target display area.
For example, when it is detected that the target display area contains the object to be photographed on the first preview screen of 5 continuous frames, the second preview screen is automatically switched to. Specifically, a lens is switched from a first lens to a second lens, the magnification of the second lens is the target lens magnification, and if the target magnification includes the digital zoom magnification, the digital zoom with the corresponding magnification is also required.
In the embodiment of the invention, on the detected continuous multi-frame first preview picture, if the target display area contains the object to be shot, the second preview picture is automatically switched to. Therefore, the switching speed is high, the situation that the object to be shot deviates from the target display area after being displayed in the target display area due to hand trembling of a user can be prevented, the object to be shot corresponding to the target shooting area can be further ensured to be displayed in the switched preview picture when the shooting is switched to the high magnification ratio, and the problem that the user needs to repeatedly move the electronic equipment to move the object to be shot into the picture after the switching is avoided.
According to the embodiment of the invention, the target shooting area defined by the user in the first preview picture can be enlarged to the whole preview picture. Specifically, please refer to fig. 5, the object to be photographed corresponding to the target photographing region is enlarged to the whole preview screen, so that the user does not need to perform the recomposition on in the second preview screen, that is, does not need to reselect the object to be photographed in the second preview screen.
Of course, since the display size of the target photographing region is small when the user demarcates the target photographing region in the first preview screen, the composition may not be accurate. Therefore, after switching to the second preview screen, if the user is not satisfied with the composition, the user can perform fine adjustment by moving the electronic device, and click to shoot after the fine adjustment is completed.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention, where the electronic device includes:
a first receiving module 61, configured to receive a first input of a user;
a selection module 62, configured to select a target shooting area in the first preview screen in response to the first input;
a second receiving module 63, configured to receive a first operation of a user;
a display position updating module 64 configured to change a display position of the target shooting area in the first preview screen in response to the first operation;
and a display switching module 65, configured to display a second preview screen when the target shooting area is displayed in the target display area, where the second preview screen displays the enlarged target shooting area.
In the embodiment of the invention, a user can select the target shooting area by using the first preview picture with low magnification, then the electronic equipment automatically identifies whether the target shooting area is displayed in the target display area, and if the target shooting area is displayed in the target display area, the target shooting area is automatically switched to the second preview picture, and the amplified target shooting area is displayed in the second preview picture, so that the user does not need to adjust the magnification many times to select the target shooting area, the operation is simple and convenient, the shooting time can be greatly shortened, and the shooting experience of the user is improved.
The electronic apparatus described above is exemplified below.
Optionally, the electronic device further includes:
and the guide information display module is used for displaying guide information according to the relative position relation between the target shooting area and the target display area.
Optionally, the electronic device includes a first lens and a second lens, the first preview screen is captured by the first lens, and the second preview screen is captured by the second lens.
Optionally, the electronic device further includes:
and the magnification determining module is used for determining the magnification of the target shooting area according to the size of the target shooting area in the first preview picture and the size of the display screen of the electronic equipment.
Optionally, the electronic device further includes:
and the indication information display module is used for displaying first indication information when the target shooting area is displayed in the target display area.
Optionally, the display switching module 65 is configured to display the second preview image when the target shooting area is displayed in the target display area and the continuous display duration meets a preset condition.
The electronic device provided by the embodiment of the present invention can implement each process in the method embodiments corresponding to fig. 1 to fig. 5, and is not described here again to avoid repetition.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention, where the electronic device 70 includes a processor 71, a memory 72, and a computer program stored in the memory 72 and capable of running on the processor 71, and when the computer program is executed by the processor 71, the following steps are implemented:
receiving a first input of a user;
selecting a target photographing region in a first preview screen in response to the first input;
receiving a first operation of a user;
changing a display position of the target photographing region in the first preview screen in response to the first operation;
and when the target shooting area is displayed in the target display area, displaying a second preview picture, wherein the second preview picture displays the amplified target shooting area.
In the embodiment of the invention, a user can select the target shooting area by using the first preview picture with low magnification, then the electronic equipment automatically identifies whether the target shooting area is displayed in the target display area, and if the target shooting area is displayed in the target display area, the target shooting area is automatically switched to the second preview picture, and the amplified target shooting area is displayed in the second preview picture, so that the user does not need to adjust the magnification many times to select the target shooting area, the operation is simple and convenient, the shooting time can be greatly shortened, and the shooting experience of the user is improved.
Optionally, the computer program when executed by the processor 71 may further implement the steps of:
after the target photographing region is selected in the first preview screen, the method further includes:
and displaying guide information according to the relative position relation between the target shooting area and the target display area.
Optionally, the electronic device includes a first lens and a second lens, the first preview screen is captured by the first lens, and the second preview screen is captured by the second lens.
Optionally, the computer program when executed by the processor 71 may further implement the steps of:
before displaying the second preview screen when the target shooting area is displayed in the target display area, the method further includes:
and determining the magnification of the target shooting area according to the size of the target shooting area in the first preview picture and the size of the display screen of the electronic equipment.
Optionally, the computer program when executed by the processor 71 may further implement the steps of:
and when the target shooting area is displayed in the target display area, displaying first indication information.
Optionally, the computer program when executed by the processor 71 may further implement the steps of:
when the target shooting area is displayed in the target display area, displaying a second preview picture, specifically including:
and displaying the second preview picture when the target shooting area is displayed in the target display area and the continuous display duration meets a preset condition.
The electronic device can implement each process of the first method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the user input unit 807 is used for receiving a first input of a user;
a processor 810 for selecting a target photographing region in a first preview screen in response to the first input;
receiving a first operation of a user; changing a display position of the target photographing region in the first preview screen in response to the first operation; and when the target shooting area is displayed in the target display area, displaying a second preview picture, wherein the second preview picture displays the amplified target shooting area.
In the embodiment of the invention, a user can select the target shooting area by using the first preview picture with low magnification, then the electronic equipment automatically identifies whether the target shooting area is displayed in the target display area, and if the target shooting area is displayed in the target display area, the target shooting area is automatically switched to the second preview picture, and the amplified target shooting area is displayed in the second preview picture, so that the user does not need to adjust the magnification many times to select the target shooting area, the operation is simple and convenient, the shooting time can be greatly shortened, and the shooting experience of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
The electronic device 800 further includes a first lens (not shown in the figure) for capturing the first preview image and a second lens (not shown in the figure) for capturing the second preview image.
In addition, the electronic device 800 includes some other functional modules that are not shown, and are not described in detail herein.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A shooting method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input of a user;
selecting a target photographing region in a first preview screen in response to the first input;
receiving a first operation of a user;
changing a display position of the target photographing region in the first preview screen in response to the first operation;
and when the target shooting area is displayed in the target display area, displaying a second preview picture, wherein the second preview picture displays the amplified target shooting area.
2. The method according to claim 1, wherein after the target photographing region is selected in the first preview screen, the method further comprises:
and displaying guide information according to the relative position relation between the target shooting area and the target display area.
3. The method of claim 1, wherein the electronic device comprises a first shot and a second shot, wherein the first preview screen is captured by the first shot, and wherein the second preview screen is captured by the second shot.
4. The method according to claim 1, wherein before displaying the second preview screen when the target photographing region is displayed in the target display region, the method further comprises:
and determining the magnification of the target shooting area according to the size of the target shooting area in the first preview picture and the size of the display screen of the electronic equipment.
5. The method of claim 1, further comprising:
and when the target shooting area is displayed in the target display area, displaying first indication information.
6. The method according to claim 1, wherein the displaying the second preview screen when the target capture area is displayed in the target display area specifically comprises:
and displaying the second preview picture when the target shooting area is displayed in the target display area and the continuous display duration meets a preset condition.
7. An electronic device, comprising:
the first receiving module is used for receiving a first input of a user;
the selection module is used for responding to the first input and selecting a target shooting area in the first preview picture;
the second receiving module is used for receiving the first operation of the user;
a display position updating module, configured to change a display position of the target shooting area in the first preview screen in response to the first operation;
and the display switching module is used for displaying a second preview picture when the target shooting area is displayed in the target display area, wherein the second preview picture displays the amplified target shooting area.
8. The electronic device of claim 7, further comprising:
and the guide information display module is used for displaying guide information according to the relative position relation between the target shooting area and the target display area.
9. The electronic device of claim 7, wherein the electronic device comprises a first shot and a second shot, wherein the first preview screen is captured by the first shot, and wherein the second preview screen is captured by the second shot.
10. The electronic device of claim 7, further comprising:
and the magnification determining module is used for determining the magnification of the target shooting area according to the size of the target shooting area in the first preview picture and the size of the display screen of the electronic equipment.
11. The electronic device of claim 7, further comprising:
and the indication information display module is used for displaying first indication information when the target shooting area is displayed in the target display area.
12. The electronic device of claim 7, wherein the display switching module is configured to display the second preview image when the target shooting area is displayed in a target display area and a continuous display duration meets a preset condition.
13. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the photographing method according to any of claims 1 to 6.
14. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the photographing method according to any one of claims 1 to 6.
CN201911356338.XA 2019-12-25 2019-12-25 Shooting method and electronic equipment Pending CN111031248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911356338.XA CN111031248A (en) 2019-12-25 2019-12-25 Shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911356338.XA CN111031248A (en) 2019-12-25 2019-12-25 Shooting method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111031248A true CN111031248A (en) 2020-04-17

Family

ID=70213159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911356338.XA Pending CN111031248A (en) 2019-12-25 2019-12-25 Shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111031248A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835972A (en) * 2020-07-21 2020-10-27 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN112954193A (en) * 2021-01-27 2021-06-11 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium
CN114125256A (en) * 2020-08-25 2022-03-01 宁波舜宇光电信息有限公司 Shooting method for multi-camera module with built-in pan-tilt
CN115278048A (en) * 2020-11-30 2022-11-01 华为技术有限公司 Video shooting method and electronic equipment
WO2023035868A1 (en) * 2021-09-08 2023-03-16 华为技术有限公司 Photographing method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110063446A1 (en) * 2009-09-14 2011-03-17 Mcmordie David Saccadic dual-resolution video analytics camera
CN107465856A (en) * 2017-08-31 2017-12-12 广东欧珀移动通信有限公司 Image capture method, device and terminal device
CN110493454A (en) * 2019-07-11 2019-11-22 维沃移动通信(杭州)有限公司 A kind of image pickup method and terminal device
CN110602409A (en) * 2019-10-23 2019-12-20 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110063446A1 (en) * 2009-09-14 2011-03-17 Mcmordie David Saccadic dual-resolution video analytics camera
CN107465856A (en) * 2017-08-31 2017-12-12 广东欧珀移动通信有限公司 Image capture method, device and terminal device
CN110493454A (en) * 2019-07-11 2019-11-22 维沃移动通信(杭州)有限公司 A kind of image pickup method and terminal device
CN110602409A (en) * 2019-10-23 2019-12-20 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835972A (en) * 2020-07-21 2020-10-27 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN111835972B (en) * 2020-07-21 2023-04-18 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN114125256A (en) * 2020-08-25 2022-03-01 宁波舜宇光电信息有限公司 Shooting method for multi-camera module with built-in pan-tilt
CN115278048A (en) * 2020-11-30 2022-11-01 华为技术有限公司 Video shooting method and electronic equipment
CN115278048B (en) * 2020-11-30 2023-08-22 华为技术有限公司 Video shooting method and electronic equipment
CN112954193A (en) * 2021-01-27 2021-06-11 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium
WO2022161240A1 (en) * 2021-01-27 2022-08-04 维沃移动通信有限公司 Photographing method and apparatus, electronic device, and medium
WO2023035868A1 (en) * 2021-09-08 2023-03-16 华为技术有限公司 Photographing method and electronic device

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN111541845B (en) Image processing method and device and electronic equipment
CN108668083B (en) Photographing method and terminal
US11451706B2 (en) Photographing method and mobile terminal
CN111182205B (en) Photographing method, electronic device, and medium
CN111093023B (en) Video shooting method and electronic equipment
CN111031248A (en) Shooting method and electronic equipment
WO2021104227A1 (en) Photographing method and electronic device
CN110933303B (en) Photographing method and electronic equipment
CN108174103B (en) Shooting prompting method and mobile terminal
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN110266957B (en) Image shooting method and mobile terminal
CN110769174B (en) Video viewing method and electronic equipment
CN111083375B (en) Focusing method and electronic equipment
WO2021104226A1 (en) Photographing method and electronic device
CN111225154B (en) Photographing method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN110769156A (en) Picture display method and electronic equipment
CN110798621A (en) Image processing method and electronic equipment
CN109005337B (en) Photographing method and terminal
CN110913133B (en) Shooting method and electronic equipment
CN111246101B (en) Photographing method and electronic equipment
CN108391050B (en) Image processing method and mobile terminal
CN111327820B (en) Shooting method and electronic equipment
CN110830724B (en) Shooting method and electronic equipment

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