CN110830713A - Zooming method and electronic equipment - Google Patents

Zooming method and electronic equipment Download PDF

Info

Publication number
CN110830713A
CN110830713A CN201911045050.0A CN201911045050A CN110830713A CN 110830713 A CN110830713 A CN 110830713A CN 201911045050 A CN201911045050 A CN 201911045050A CN 110830713 A CN110830713 A CN 110830713A
Authority
CN
China
Prior art keywords
area
camera
image
target object
display
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
CN201911045050.0A
Other languages
Chinese (zh)
Inventor
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911045050.0A priority Critical patent/CN110830713A/en
Publication of CN110830713A publication Critical patent/CN110830713A/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/67Focus control based on electronic image sensor signals
    • 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/62Control of parameters via user interfaces
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a zooming method and electronic equipment, relates to the technical field of communication, and aims to solve the problem of how to quickly find a target object when the object in a preview image acquired after zooming is not the target object. The method comprises the following steps: receiving a first input to a target object in a first image under the condition that the first area displays a first image acquired through a first camera and the second area displays a second image acquired through a second camera; responding to the first input, and displaying prompt information, wherein the prompt information is used for prompting a user to move the electronic equipment to move the target object to a target position of the first area; after the target object moves to the target position of the first area, displaying a third image acquired by a second camera in a second area, wherein the third image comprises the target object; and the zooming multiple of the second camera is greater than that of the first camera.

Description

Zooming method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a zooming method and electronic equipment.
Background
With the development of electronic technology and shooting technology, people have higher and higher requirements on the shooting quality of images. For a shot object located at a far position, a zooming technology can be generally adopted to increase the size of an imaging area of the shot object. However, after the user triggers the electronic device to zoom, if the object in the preview image captured by the camera is not the target object desired by the user, the user needs to find the target object.
Currently, in the case that the electronic device keeps zooming, a user can search for a target object by moving the camera, but moving the camera slightly by the user may cause the object in the preview image to move for a long distance, so that the user may need to repeatedly move the camera to find the target object, which is time-consuming. Therefore, when the object in the preview image acquired after zooming is not the target object, how to quickly find the target object becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a zooming method and electronic equipment, and aims to solve the problem of how to quickly find a target object when the object in a preview image acquired after zooming is not the target object.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, embodiments of the present invention provide a zooming method. The method comprises the following steps: receiving a first input to a target object in a first image under the condition that the first area displays a first image acquired through a first camera and the second area displays a second image acquired through a second camera; responding to the first input, and displaying prompt information, wherein the prompt information is used for prompting a user to move the electronic equipment to move the target object to a target position of the first area; after the target object moves to the target position of the first area, displaying a third image acquired by a second camera in a second area, wherein the third image comprises the target object; and the zooming multiple of the second camera is greater than that of the second camera.
In a second aspect, an embodiment of the present invention provides an electronic device. The electronic device comprises a receiving module and a display module. The receiving module is used for receiving first input of a target object in the first image under the condition that the first image acquired by the first camera is displayed in the first area and the second image acquired by the second camera is displayed in the second area. And the display module is used for responding to the first input received by the receiving module and displaying prompt information, and the prompt information is used for prompting a user to move the electronic equipment to move the target object to the target position of the first area. And the display module is further used for displaying a third image acquired by the second camera in the second area after the target object moves to the target position of the first area, wherein the third image comprises the target object. And the zooming multiple of the second camera is greater than that of the first camera.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the zoom method provided in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the zooming method provided in the first aspect.
In an embodiment of the present invention, in a case where a first area displays a first image captured by a first camera and a second area displays a second image captured by a second camera, a first input to a target object in the first image may be received; responding to the first input, and displaying prompt information, wherein the prompt information is used for prompting a user to move the electronic equipment to move the target object to the target position of the first area; and after the target object moves to the target position of the first area, displaying a third image acquired by a second camera in the second area, wherein the third image comprises the target object; and the zooming multiple of the second camera is greater than that of the second camera. According to the scheme, the electronic equipment can respectively display the images acquired by the cameras with different zoom multiples in different areas, so that when an object in the image acquired by the high-power zoom camera is not a target object desired by a user, the user can select the target object in the image acquired by the normal zoom camera and move the target object to a target position according to the prompt of the electronic equipment, and therefore the image acquired by the high-power zoom camera can be updated to be the image of the target object. Therefore, the embodiment of the invention can quickly find the target object and improve the operation experience of the user.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a zooming method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an operation of a user on a target object according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a prompt message displayed in a first area according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of displaying an image including a target object in a second area according to an embodiment of the present invention;
FIG. 6 is a second schematic diagram illustrating a zooming method according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a user adjusting a zoom factor of a second camera according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 10 is a hardware schematic diagram of an electronic device according to an 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.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first camera, the second camera, etc. are used to distinguish between different cameras, rather than to describe a particular order of the cameras.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention should not be construed as advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
Some terms/nouns referred to in the embodiments of the present invention are explained below.
Normally zoom the camera: is a conventional camera provided in an electronic device. Typically, the normal zoom camera may be a main camera.
High power zoom camera: a camera provided in an electronic apparatus, which has a higher zoom capability and a larger shooting angle of view than a main camera, can be used, for example, to shoot a landscape at a longer distance. Typically, the high power zoom camera may be a wide angle camera. Here, the shooting angle of view is referred to as a field angle. At present, a high-power zoom camera with wide market application has 50 times of zoom capability at most.
Zooming: the english name zoom can change the size of an image on a screen by zooming, i.e., can zoom in on objects that are farther away from the camera. Currently, common zooming methods include optical zooming (optical zoom), digital zooming (digital zoom), and telephoto zooming (telephoto zoom). The optical zoom supports the imaging of an image main body, the scene to be shot is enlarged and reduced through the movement of the lens, the larger the optical zoom multiple is, the farther the scene can be shot, and the resolution and the image quality cannot be changed; digital zooming can only cut down the original image size to make the image larger on the screen, but does not make the image quality clearer.
The embodiment of the invention provides a zooming method and electronic equipment, wherein under the condition that a first area displays a first image acquired by a first camera and a second area displays a second image acquired by a second camera, a first input of a target object in the first image can be received; responding to the first input, and displaying prompt information, wherein the prompt information is used for prompting a user to move the electronic equipment to move the target object to the target position of the first area; and after the target object moves to the target position of the first area, displaying a third image acquired by a second camera in the second area, wherein the third image comprises the target object; and the zooming multiple of the second camera is greater than that of the second camera. According to the scheme, the electronic equipment can respectively display the images acquired by the cameras with different zoom multiples in different areas, so that when an object in the image acquired by the high-power zoom camera is not a target object desired by a user, the user can select the target object in the image acquired by the normal zoom camera and move the target object to a target position according to the prompt of the electronic equipment, and therefore the image acquired by the high-power zoom camera can be updated to be the image of the target object. Therefore, the embodiment of the invention can quickly find the target object and improve the operation experience of the user.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Next, a software environment applied to the zooming method provided by the embodiment of the present invention is described by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: the system comprises an application program layer, an application program framework layer, a system operation library layer and a kernel layer, wherein the kernel layer can be a Linux kernel layer.
The application program layer comprises all application programs in an android operating system, including system application programs and third-party application programs.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system running library layer comprises a system library and an android operating system running environment. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the zoom method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the zoom method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the zoom method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a terminal device. The terminal device may be a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA), and the embodiments of the present invention are not limited in particular.
An execution subject of the zoom method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the zoom method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily explain a zooming method provided by an embodiment of the present invention.
In the embodiment of the invention, the electronic device can display the first image acquired by the first camera with the lower zoom multiple in the first area, and display the second image acquired by the second camera with the higher zoom multiple in the second area. When the object in the second image acquired by the second camera is not the object desired by the user, the embodiment of the present invention provides the following zooming method, so that the user can quickly find the object desired by the user.
As shown in fig. 2, an embodiment of the present invention provides a zooming method. The method can be applied to electronic devices. The method may include S101 to S103 described below.
S101, under the condition that a first image acquired through a first camera is displayed in a first area and a second image acquired through a second camera is displayed in a second area, the electronic equipment receives a first input of a target object in the first image.
In the embodiment of the present invention, the electronic device may include at least a first camera and a second camera, and a zoom multiple of the second camera may be greater than a zoom multiple of the first camera.
For example, the first camera may be a normal zoom camera and the second camera may be a high zoom camera. Accordingly, the field angle of the first image captured by the first camera is smaller than the field angle of the first image captured by the second camera.
Optionally, the optical axis of the first camera and the optical axis of the second camera may be parallel.
Optionally, the plane where the first camera is located and the plane where the second camera is located are the same plane, or the plane where the first camera is located and the plane where the second camera is located are parallel.
Alternatively, the first area and the second area may be two different display areas of the electronic device. Illustratively, the first region and the second region may be in any one of the following manners:
in a first mode, the first area and the second area are different display areas in one screen of the electronic device.
In this case, the first camera and the second camera may be disposed on the same plane. For example, the first camera and the second camera may be disposed on a plane on which the screen is disposed, or on a plane opposite to the screen.
In a second mode, the first area is a display area in the first screen, and the second area is a display area in the second screen.
In this case, the first camera and the second camera may be disposed on different planes. For example, when the electronic device is a folding screen including a first screen and a second screen, the first camera may be disposed on a plane where a screen of the first screen is located, and the second camera may be disposed on a plane where a screen of the second screen is located; alternatively, the first camera may be disposed on the back side with the first screen, and the second camera may be disposed on the back side with the second screen.
Alternatively, the first image and the second image may be images acquired for the same subject, and the image content at the target position of the first image is the same as the image content at the second image. It can be understood that, since the zoom factor of the second camera is greater than that of the first camera, when the user uses the electronic device to capture the same subject, the image content included in the second image is a partial image content of the image content included in the first image.
Alternatively, the target position may be a center position of the first image, or other possible positions of the first image, and the embodiment of the present invention is not limited.
Optionally, the first input may be a touch input or a gesture input on the target object in the first image. The touch input may be click input, double-click input, long-press input, circle selection input, or the like for the target object, and may be specifically determined according to actual use requirements.
Illustratively, as shown in fig. 3, the electronic device includes a first screen and a second screen, and an angle between the first screen and the second screen may be 180 degrees. When a user opens the camera application program to take a picture, the electronic equipment can acquire a first image through the first camera of the first screen and acquire a second image through the second camera of the second screen. Then, the electronic device may display a first image in a first area 01 of the first screen, where a target position of the first image is a house 03, and a position of an upper left corner of the first image is a pupil 05; the electronic device may display a second image in the second area 02 of the second screen, the image content of the second image being the house 04, and the size of the house 04 being larger than the size of the house 03. If the user wants the object displayed in the second area 02 to be a pupil instead of the house 04, the user can click on the location of the pupil 05 in the first area 01, so that the electronic device can receive the user's first input of the target object in the first image. Wherein, the pupil 05 is the target object.
It should be noted that, when the electronic device receives the first input from the user, the target object is not included in the second image, or only a part of the target object is included in the second image.
And S102, the electronic equipment responds to the first input and displays prompt information.
The prompt message may be used to prompt the user to move the electronic device so as to move the target object to the target position of the first area.
In an embodiment of the present invention, the target position of the first area may be a target position of the first image. It will be appreciated that the target position of the first area remains unchanged during the movement of the electronic device by the user.
Optionally, the prompt message may include a first frame, a second frame, and the target content. Wherein the target content may be used to prompt the user to move the electronic device in the target direction.
Optionally, the displaying the prompt information may include: and displaying prompt information in the first area.
Optionally, the displaying the prompt information specifically may include: and displaying a first frame at the target position of the first area, displaying a second frame at the position of the target object in the first area, and displaying target content in the first area.
Optionally, the first frame and the second frame may have the same size or different sizes.
Optionally, the shapes of the first frame and the second frame may be the same or different.
Alternatively, the target content may be a combination of graphics and text. For example, the target content may be a combination of arrow graphics of the cue direction and text of the cue direction.
Optionally, the target direction may be a direction calculated by the electronic device according to a position of the target object in the first image and a target position of the first area.
For example, after the electronic device receives a first input as shown in fig. 3, as shown in fig. 4, the electronic device may display a second frame 06 at a location where the pupil is located in the first image of the first area 01, display a first frame 07 at a location where the house is located in the first image of the first area 01, and display an arrow 08 indicating a moving direction, i.e., target content, in the first image of the first area 01 in response to the first input. At the same time, the electronic device may keep displaying the second image in the second area 02.
Optionally, after displaying the prompt message, the user may move the electronic device according to the prompt message. For example, the user may move the electronic device up and down, left and right, front and back, and the like in the space along the target direction to move the target object to the target position of the first area.
Optionally, in the process that the target object in the first image moves to the target position in the first area, the display position of the first frame in the first area remains unchanged, and the display position of the second frame in the first area moves along with the movement of the target object. It can be understood that, in the process of moving the electronic device by the user, since the display position of the second frame remains unchanged, if the user correctly moves the electronic device according to the target direction, the target object gradually approaches the target position of the first area, and the first frame gradually approaches the target position of the first area along with the target object. When the display position of the first frame is located at the target position of the first area, it may be determined that the target object is also located at the target position of the first area.
And S103, after the target object moves to the target position of the first area, the electronic equipment displays a third image acquired by a second camera in a second area, wherein the third image comprises the target object.
Optionally, after the target object moves to the target position of the first area, the zoom method provided in the embodiment of the present invention may further include: the electronic equipment displays a fourth image acquired through the first camera in the first area, wherein the fourth image comprises the target object.
It should be noted that the size of the target object in the third image is larger than the size of the target object in the fourth image.
Illustratively, if the user moves the pupil to the target position of the first area according to the prompt information as shown in fig. 4, the electronic device may display a third image including the pupil 09 in the second area 02 and a fourth image including the pupil 05 in the first area 01 as shown in fig. 5. Wherein the size of pupil 09 in the third image is larger than the size of pupil 05 in the fourth image.
Optionally, after S103, the zoom method provided in the embodiment of the present invention may further include: the electronic equipment cancels the display of the prompt message.
Optionally, after S103, the zooming method provided in the embodiment of the present invention may further include at least one of: the electronic equipment responds to the received input of the user and controls the first camera to take a picture; the electronic equipment responds to the received input of the user and controls the second camera to take the picture; the electronic device controls the first camera and the second camera to take pictures in response to the received input of the user.
The embodiment of the invention provides a zooming method, because electronic equipment can respectively display images acquired by cameras with different zooming multiples in different areas, when an object in the image acquired by a high-power zooming camera is not a target object desired by a user, the user can select the target object in the image acquired by a normal zooming camera and move the target object to a target position according to the prompt of the electronic equipment, so that the image acquired by the high-power zooming camera can be updated to be the image of the target object. Therefore, the embodiment of the invention can quickly find the target object and improve the operation experience of the user.
Optionally, with reference to fig. 2, as shown in fig. 6, before S101, the zoom method provided in the embodiment of the present invention may further include S104 to S106 described below.
And S104, the electronic equipment receives a second input.
The second input may be used to adjust a zoom factor of the second camera.
Optionally, the second input may be touch input, voice input, key input, gravity input, gesture input, or the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, before the electronic device receives the second input, the zoom method provided in the embodiment of the present invention may further include: the electronic equipment responds to the input of a user, operates the camera application program, controls the first camera to collect images and displays the images collected by the first camera.
For example, as shown in fig. 7, after the user opens the camera application, the electronic device may capture a first image through a first camera of the first screen and display the first image in a first area 01 of the first screen, while not capturing an image through a second camera of the second screen and not displaying an image in a second area 02 of the second screen. If the user wants to capture a high zoom image, the user can click on the zoom control 10. As such, the electronic device may receive a click input of the user, i.e., a second input, and perform S105 and S106 described below.
And S105, the electronic equipment responds to the second input, controls the first camera to acquire the first image according to the first zooming multiple, and controls the second camera to acquire the second image according to the second zooming multiple.
The first zoom factor may be smaller than the second zoom factor.
For example, the first zoom factor may be 2 times, and the second zoom factor may be 50 times.
Optionally, the first zoom factor and the second zoom factor may be preset by the electronic device or may be selected by the user.
S106, the electronic equipment displays the first image in the first area and displays the second image in the second area.
For example, after the electronic device receives the second input as shown in fig. 7, the electronic device may control the first camera to capture the first image at a zoom multiple of 2 and control the second camera to capture the second image at a zoom multiple of 50 in response to the second input. Then, as shown in fig. 3, the electronic device may display the first image in the first area 01 and the second image in the second area 02.
Optionally, the zoom method provided in the embodiment of the present invention may further include: and if the electronic equipment does not receive the second input of the user, the electronic equipment controls the first camera to take pictures.
According to the zooming method provided by the embodiment of the invention, the electronic equipment can respond to the second input of the user and control the images respectively acquired by the two cameras with different zooming multiples, so that the user can acquire the prompt operation of the moving direction of the electronic equipment through the operation of the target object in the image acquired by the normal zooming camera, and the user can better control the moving direction and position of the electronic equipment, thereby improving the experience of zooming operation.
As shown in fig. 8, an embodiment of the invention provides an electronic device 800. The electronic device may include a receiving module 801 and a display module 802. The receiving module 801 may be configured to receive a first input to a target object in a first image when the first area displays a first image captured by a first camera and a second area displays a second image captured by a second camera. A display module 802, which may be configured to display a prompt message in response to the first input received by the receiving module 801, where the prompt message may be configured to prompt a user to move an electronic device to move the target object to a target location of the first area. The display module 802 may be further configured to display a third image captured by a second camera in the second area after the target object moves to the target position in the first area, where the third image includes the target object.
And the zooming multiple of the second camera is greater than that of the first camera.
Optionally, the optical axis of the first camera is parallel to the optical axis of the second camera.
Optionally, the plane where the first camera is located and the plane where the second camera is located are the same plane, or the plane where the first camera is located and the plane where the second camera is located are parallel.
Optionally, the prompt message may include a first frame, a second frame, and target content, where the target content may be used to prompt the user to move the electronic device in the target direction. The display module 802 may be specifically configured to, in response to the first input received by the receiving module 801, display a first frame at a target position in the first area, display a second frame at a position of a target object in the first area, and display target content in the first area.
Optionally, in the process that the target object moves to the target position in the first area, the display position of the first frame in the first area remains unchanged, and the display position of the second frame in the first area moves along with the movement of the target object.
Optionally, with reference to fig. 8, as shown in fig. 9, the electronic device provided in the embodiment of the present invention may further include a control module 803. The receiving module 801 may further be configured to receive a second input before receiving the first input for the target object in the first image, where the second input may be used to adjust the zoom factor of the second camera. The control module 803 may be configured to control the first camera to capture the first image according to the first zoom factor and control the second camera to capture the second image according to the second zoom factor in response to the second input received by the receiving module 801. The display module 802 may be further configured to display a first image in the first area and a second image in the second area. Wherein, the first zooming multiple is smaller than the second zooming multiple.
Optionally, the first area and the second area are different display areas in one screen of the electronic device; or the first area is a display area in the first screen, and the second area is a display area in the second screen.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides electronic equipment, which can respectively display images acquired by cameras with different zoom factors in different areas, so that when an object in the image acquired by a high-power zoom camera is not a target object desired by a user, the user can select the target object in the image acquired by a normal zoom camera and move the target object to a target position according to the prompt of the electronic equipment, and the image acquired by the high-power zoom camera can be updated to be the image of the target object. Therefore, the electronic equipment provided by the embodiment of the invention can quickly find the target object and improve the operation experience of the user.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device may be a mobile terminal, such as a cell phone. As shown in fig. 10, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 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 electronic device, a wearable device, a pedometer, and the like.
The processor 210 is configured to control the user input unit 207 to receive a first input to a target object in a first image when the first area displays a first image captured by a first camera and the second area displays a second image captured by a second camera.
The processor 210 may be further configured to control the display unit 206 to display the prompt information in response to the first input received by the control user input unit 207. The prompting information can be used for prompting the user to move the electronic equipment to move the target object to the target position of the first area.
The processor 210 may be further configured to control the display unit 206 to display a third image captured by the second camera in the second area after the target object moves to the target position in the first area, where the third image includes the target object.
The embodiment of the invention provides electronic equipment, which can respectively display images acquired by cameras with different zoom factors in different areas, so that when an object in the image acquired by a high-power zoom camera is not a target object desired by a user, the user can select the target object in the image acquired by a normal zoom camera and move the target object to a target position according to the prompt of the electronic equipment, and the image acquired by the high-power zoom camera can be updated to be the image of the target object. Therefore, the electronic equipment provided by the embodiment of the invention can quickly find the target object and improve the operation experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 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. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device 200 provides the user with wireless broadband internet access via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200, for example, a call signal reception sound, a message reception sound, and the like. The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 or other storage medium or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing 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 201 in case of a phone call mode.
The electronic device 200 also includes at least one sensor 205, 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 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 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 205 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 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 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 207 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 device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 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 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 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 further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 10 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. 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 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 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 for 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 209 may include high speed random access memory, and may 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 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may also include a power source 211, such as a battery, to power the various components. Optionally, the power supply 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and thus are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 210 as shown in fig. 10, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
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 the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and 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 (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for causing an electronic device to execute the methods described in 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 zooming method applied to an electronic device, the method comprising:
receiving a first input to a target object in a first image under the condition that the first area displays a first image acquired through a first camera and a second area displays a second image acquired through a second camera;
in response to the first input, displaying prompt information for prompting a user to move the electronic device to move the target object to a target position of the first area;
after the target object moves to the target position of the first area, displaying a third image acquired by the second camera in the second area, wherein the third image comprises the target object;
and the zooming multiple of the second camera is greater than that of the first camera.
2. The method of claim 1, wherein an optical axis of the first camera and an optical axis of the second camera are parallel;
the plane where the first camera is located and the plane where the second camera is located are the same plane, or the plane where the first camera is located and the plane where the second camera is located are parallel.
3. The method according to claim 1 or 2, wherein the prompt message comprises a first frame, a second frame and a target content, and the target content is used for prompting the user to move the electronic device along a target direction;
the displaying the prompt message comprises:
and displaying the first frame at the target position of the first area, displaying the second frame at the position of the target object in the first area, and displaying the target content in the first area.
4. The method according to claim 3, wherein during the process of moving the target object to the target position of the first area, the display position of the first frame in the first area remains unchanged, and the display position of the second frame in the first area moves with the movement of the target object.
5. The method of claim 1 or 2, wherein prior to said receiving a first input to a target object in said first image, the method further comprises:
receiving a second input, wherein the second input is used for adjusting the zoom multiple of the second camera;
responding to the second input, controlling the first camera to acquire the first image according to a first zooming multiple, and controlling the second camera to acquire the second image according to a second zooming multiple;
displaying the first image in the first area and the second image in the second area;
wherein the first zoom factor is less than the second zoom factor.
6. The method according to claim 1 or 2, wherein the first area and the second area are different display areas in one screen of the electronic device; or, the first area is a display area in a first screen, and the second area is a display area in a second screen.
7. An electronic device, comprising a receiving module and a display module;
the receiving module is used for receiving first input of a target object in a first image under the condition that the first image acquired by a first camera is displayed in a first area and a second image acquired by a second camera is displayed in a second area;
the display module is used for responding to the first input received by the receiving module and displaying prompt information, and the prompt information is used for prompting a user to move the electronic equipment to move the target object to the target position of the first area;
the display module is further configured to display a third image acquired by the second camera in the second area after the target object moves to the target position in the first area, where the third image includes the target object;
and the zooming multiple of the second camera is greater than that of the first camera.
8. The electronic device of claim 7, wherein an optical axis of the first camera and an optical axis of the second camera are parallel;
the plane where the first camera is located and the plane where the second camera is located are the same plane, or the plane where the first camera is located and the plane where the second camera is located are parallel.
9. The electronic device of claim 7 or 8, wherein the prompt message comprises a first frame, a second frame, and target content for prompting a user to move the electronic device in a target direction;
the display module is specifically configured to, in response to the first input received by the receiving module, display the first frame at a target position in the first area, display the second frame at a position of the target object in the first area, and display the target content in the first area.
10. The electronic device according to claim 9, wherein during the process of moving the target object to the target position of the first area, the display position of the first frame in the first area remains unchanged, and the display position of the second frame in the first area moves with the movement of the target object.
11. The electronic device of claim 7 or 8, further comprising a control module;
the receiving module is further configured to receive a second input before the receiving of the first input for the target object in the first image, where the second input is used to adjust a zoom multiple of the second camera;
the control module is configured to control the first camera to acquire the first image according to a first zoom multiple and control the second camera to acquire the second image according to a second zoom multiple in response to the second input received by the receiving module;
the display module is further configured to display the first image in the first area and display the second image in the second area;
wherein the first zoom factor is less than the second zoom factor.
12. The electronic device according to claim 7 or 8, wherein the first area and the second area are different display areas in one screen of the electronic device; or, the first area is a display area in a first screen, and the second area is a display area in a second screen.
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 zooming method of any of claims 1-6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the zooming method according to any one of claims 1 to 6.
CN201911045050.0A 2019-10-30 2019-10-30 Zooming method and electronic equipment Pending CN110830713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911045050.0A CN110830713A (en) 2019-10-30 2019-10-30 Zooming method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911045050.0A CN110830713A (en) 2019-10-30 2019-10-30 Zooming method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110830713A true CN110830713A (en) 2020-02-21

Family

ID=69551374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911045050.0A Pending CN110830713A (en) 2019-10-30 2019-10-30 Zooming method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110830713A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447598A (en) * 2020-03-23 2020-07-24 维沃移动通信有限公司 Interaction method and display device
CN111614891A (en) * 2020-04-24 2020-09-01 深圳传音控股股份有限公司 Camera application function switching method, terminal and computer readable storage medium
CN112702530A (en) * 2020-12-29 2021-04-23 维沃移动通信(杭州)有限公司 Algorithm control method and electronic equipment
CN113849104A (en) * 2020-06-28 2021-12-28 华为技术有限公司 Graphic control method, apparatus, terminal device and readable storage medium
WO2022228274A1 (en) * 2021-04-27 2022-11-03 华为技术有限公司 Preview image display method in zoom photographing scenario, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348059A (en) * 2010-07-27 2012-02-08 三洋电机株式会社 Image pickup apparatus
US20120268641A1 (en) * 2011-04-21 2012-10-25 Yasuhiro Kazama Image apparatus
CN107079087A (en) * 2014-10-31 2017-08-18 富士胶片株式会社 Camera device and object recognition methods
CN108289174A (en) * 2018-01-25 2018-07-17 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium
CN108429881A (en) * 2018-05-08 2018-08-21 山东超景深信息科技有限公司 Exempt from the focal length shooting tripod head camera system application process by zoom view repeatedly

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348059A (en) * 2010-07-27 2012-02-08 三洋电机株式会社 Image pickup apparatus
US20120268641A1 (en) * 2011-04-21 2012-10-25 Yasuhiro Kazama Image apparatus
CN107079087A (en) * 2014-10-31 2017-08-18 富士胶片株式会社 Camera device and object recognition methods
CN108289174A (en) * 2018-01-25 2018-07-17 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium
CN108429881A (en) * 2018-05-08 2018-08-21 山东超景深信息科技有限公司 Exempt from the focal length shooting tripod head camera system application process by zoom view repeatedly

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447598A (en) * 2020-03-23 2020-07-24 维沃移动通信有限公司 Interaction method and display device
WO2021190353A1 (en) * 2020-03-23 2021-09-30 维沃移动通信有限公司 Interaction method and display device
CN111447598B (en) * 2020-03-23 2023-06-20 维沃移动通信有限公司 Interaction method and display device
CN111614891A (en) * 2020-04-24 2020-09-01 深圳传音控股股份有限公司 Camera application function switching method, terminal and computer readable storage medium
CN111614891B (en) * 2020-04-24 2022-09-16 深圳传音控股股份有限公司 Camera application function switching method, terminal and computer readable storage medium
CN113849104A (en) * 2020-06-28 2021-12-28 华为技术有限公司 Graphic control method, apparatus, terminal device and readable storage medium
CN112702530A (en) * 2020-12-29 2021-04-23 维沃移动通信(杭州)有限公司 Algorithm control method and electronic equipment
WO2022228274A1 (en) * 2021-04-27 2022-11-03 华为技术有限公司 Preview image display method in zoom photographing scenario, and electronic device

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
US20220279116A1 (en) Object tracking method and electronic device
CN110891144B (en) Image display method and electronic equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110896451B (en) Preview picture display method, electronic device and computer readable storage medium
CN110874147B (en) Display method and electronic equipment
CN110505400B (en) Preview image display adjustment method and terminal
CN109032445B (en) Screen display control method and terminal equipment
CN111562896B (en) Screen projection method and electronic equipment
CN110769174B (en) Video viewing method and electronic equipment
CN110830713A (en) Zooming method and electronic equipment
CN110908558A (en) Image display method and electronic equipment
KR20220092937A (en) Screen display control method and electronic device
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN111050109B (en) Electronic equipment control method and electronic equipment
EP3731506A1 (en) Image display method and mobile terminal
CN111124227A (en) Image display method and electronic equipment
CN110968229A (en) Wallpaper setting method and electronic equipment
CN111596990A (en) Picture display method and device
CN110769156A (en) Picture display method and electronic equipment
CN110769154B (en) Shooting method and electronic equipment
CN110536005B (en) Object display adjustment method and terminal
CN109104573B (en) Method for determining focusing point and terminal equipment
CN111064896A (en) Device control method and electronic device
CN110750200A (en) Screenshot picture processing method and terminal 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

Application publication date: 20200221

RJ01 Rejection of invention patent application after publication