Shooting method, device and electronic equipment

By using a retractable and moving continuous light camera in electronic devices, the shooting mode is judged based on the target shooting scene, and the camera interference is avoided, which solves the problem of subjects being easily disturbed and improves the shooting effect and success rate.

CN113873146BActive Publication Date: 2025-01-10VIVO MOBILE COMM HANGZHOU CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111066047.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-10
Publication Date
2025-01-10
Estimated Expiration
2041-09-10

AI Technical Summary

Technical Problem

When shooting subjects at different distances, the subjects are easily disturbed by the camera, resulting in poor shooting results.

Method used

By using a retractable and moving continuous optical camera in an electronic device, it is determined whether optical zoom shooting is enabled based on the target shooting scene, so as to avoid interference with the camera's telescopic movement and use non-optical zoom shooting to improve the shooting success rate.

Benefits of technology

It improves shooting effect and success rate and improves user experience. Especially in scenes where the subject is susceptible to interference, dynamically adjusts the zoom ratio of the camera to optimize the shooting effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113873146B_ABST
    Figure CN113873146B_ABST
Patent Text Reader

Abstract

The present application discloses a shooting method, device and electronic device, belonging to the field of communication technology. The method is applied to an electronic device, the electronic device includes a first camera, the electronic device includes a first camera, the first camera is a continuous optical variable camera that can be telescopically moved, and the method includes: when displaying a shooting preview interface, obtaining the target shooting scene corresponding to the shooting preview interface; when the target shooting scene is the first scene, according to the first shooting mode, processing the preview image displayed in the shooting preview interface; wherein the shooting object in the first scene is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not telescopically move.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a shooting method, device and electronic equipment. Background Art

[0002] With the rapid development of smartphone technology, the camera has become one of the most frequently used mobile phone hardware in daily life. In order to meet the growing and diverse needs of consumers, mobile phone manufacturers have developed more and more camera functions.

[0003] In the related art, when photographing objects at different distances, the photographed objects are easily disturbed by the camera during shooting, resulting in poor shooting effects. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a shooting method that can solve the problem in the prior art that the shooting object is easily disturbed by the camera, resulting in poor shooting effect.

[0005] In a first aspect, an embodiment of the present application provides a shooting method, which is applied to an electronic device, wherein the electronic device includes a first camera, and the first camera is a continuously variable optical camera that can be telescopically moved. The method includes:

[0006] When a shooting preview interface is displayed, obtaining a target shooting scene corresponding to the shooting preview interface;

[0007] When the target shooting scene is the first scene, processing the preview image displayed in the shooting preview interface according to the first shooting mode;

[0008] The first scene is a scene where the photographed object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically.

[0009] In a second aspect, an embodiment of the present application provides a shooting device, which is applied to an electronic device, wherein the electronic device includes a first camera, and the first camera is a continuously variable optical camera that can be telescopically moved. The device includes:

[0010] An acquisition module, used to acquire a target shooting scene corresponding to the shooting preview interface when the shooting preview interface is displayed;

[0011] A first processing module, configured to process the preview image displayed in the shooting preview interface according to the first shooting mode when the target shooting scene is a first scene;

[0012] The first scene is a scene where the photographed object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0016] In an embodiment of the present application, when the shooting preview interface is displayed, the target shooting scene corresponding to the shooting preview interface is obtained, and when the target shooting scene is the first scene, the preview image displayed in the shooting preview interface is processed according to the first shooting mode, wherein the first scene is a scene where the shooting object is easily disturbed. In this way, the zoom multiple of the camera can be dynamically adjusted based on the optical zoom method during the image shooting process, which can improve the shooting effect. In addition, when the target shooting scene is the first scene, the first camera is controlled to perform non-optical zoom shooting to avoid the telescopic movement of the first camera during the focusing process from interfering with the shooting object, which can improve the success rate of shooting and thus improve the shooting effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a shooting method provided by an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of a shooting preview interface provided in an embodiment of the present application;

[0019] Figure 3 is a structural schematic diagram of a photographing device provided in an embodiment of the present application;

[0020] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0021] Figure 5 It is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0024] Before introducing a photographing method provided in an embodiment of the present application, an electronic device for implementing the photographing method is first introduced.

[0025] The shooting method is applied to an electronic device. The electronic device has a first shooting mode and a second shooting mode. The first shooting mode may be a non-optical zoom shooting mode, for example, a fixed-focus shooting mode or a digital zoom shooting mode, that is, when the electronic device is in the first shooting mode, the camera of the electronic device does not move telescopically. The second shooting mode may be an optical zoom shooting mode, that is, when the electronic device is in the second shooting mode, the camera of the electronic device may move telescopically.

[0026] The electronic device may include at least one camera.

[0027] Exemplarily, the electronic device may include a first camera, wherein the first camera may be a continuous optical zoom camera. The first camera may move telescopically to adjust the zoom factor. For example, when the zoom factor of the continuous optical zoom camera is 2x to 4x, the continuous optical zoom camera moves telescopically. However, when the zoom factor of the continuous optical zoom camera is 1x to 2x, the continuous optical zoom camera does not move telescopically.

[0028] In the case where the electronic device includes a first camera, when the electronic device is in a first shooting mode, the first camera is started, but the first camera is controlled not to move telescopically to perform non-optical zoom shooting. For example, the zoom ratio of the first camera is controlled to be 1 to 2 times. When the electronic device is in a second shooting mode, the first camera is started, and the first camera is controlled to move telescopically to perform optical zoom shooting. For example, the zoom ratio of the first camera is controlled to be 2 to 4 times.

[0029] Exemplarily, the electronic device may include a first camera and a second camera, wherein the first camera may be a continuous optical zoom camera, and the second camera may be a common camera, that is, a fixed-focus camera.

[0030] In the case where the electronic device includes a first camera and a second camera, when the electronic device is in the first shooting mode, the first camera is turned off and the second camera is activated to perform non-optical zoom shooting. When the electronic device is in the second shooting mode, the second camera is turned off, the first camera is activated, and the first camera is controlled to move telescopically to perform optical zoom shooting. For example, the zoom ratio of the first camera is controlled to be 2 times to 4 times.

[0031] It is understandable that when the first camera is activated for optical zoom shooting, the telescopic movement of the first camera will interfere with the shooting object and cause shooting failure. Based on this, this embodiment can determine whether to enable the first camera for optical zoom shooting according to the target shooting scene to avoid the telescopic movement of the first camera affecting the shooting and improve the user experience.

[0032] The following is a detailed description of the shooting method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0033] Please see Figure 1 , which is a flow chart of a shooting method provided by an embodiment of the present application. The method can be applied to an electronic device, and the electronic device can include a first camera, and the first camera is a continuous optical zoom camera that can be telescopically moved. The electronic device can be a mobile phone, a tablet computer, a laptop computer, etc. Figure 1 As shown, the method may include steps 1100 to 1200, which are described in detail below.

[0034] Step 1100: when a shooting preview interface is displayed, obtain a target shooting scene corresponding to the shooting preview interface.

[0035] The shooting preview interface may be a photo taking interface of a camera application of an electronic device.

[0036] The target shooting scene may be a shooting scene corresponding to the preview image displayed in the shooting preview interface.

[0037] In a specific implementation, the user can enter the camera application and obtain the target shooting scene corresponding to the shooting preview interface when the shooting preview interface is displayed. For example, see Figure 2 , which is a schematic diagram of a shooting preview interface of an embodiment of the present application. The shooting preview interface includes a control 201 marked with "shooting". In response to a user clicking operation on the control 201, a target shooting scene corresponding to the shooting preview interface is obtained.

[0038] In this embodiment, the target shooting scene corresponding to the shooting preview interface can be identified based on the preview image displayed in the shooting preview interface. In this embodiment, the target shooting scene corresponding to the shooting preview interface can also be identified based on sound information.

[0039] In some embodiments of the present application, when displaying a shooting preview interface, obtaining a target shooting scene corresponding to the shooting preview interface may further include: steps 2100 to 2200.

[0040] Step 2100: When a shooting preview interface is displayed, obtain a preview image displayed on the shooting preview interface.

[0041] Step 2200: Perform scene recognition on the preview image to obtain a target shooting scene corresponding to the shooting preview interface.

[0042] When performing scene recognition on the preview image, the recognition may be performed based on the type of the photographed object in the preview image. The type of the photographed object may be, for example, a person, an animal, a building, or the like. For example, assuming that the type of the photographed object is an animal type, the corresponding target photographing scene is an animal photographing scene. For another example, assuming that the type of the photographed object is a person type, the corresponding target photographing scene is a person photographing scene. For another example, assuming that the type of the photographed object is a building type, the corresponding target photographing scene is a building photographing scene. For another example, assuming that the type of the photographed object is a baby, the corresponding target photographing scene is a baby photographing scene.

[0043] When performing scene recognition on the preview image, the recognition may be performed based on the shooting location in the preview image. The shooting location may be, for example, a park, a cinema, a subway, etc. For example, if the shooting location is a cinema, then the corresponding target shooting scene is a cinema shooting scene. For another example, if the shooting location is a subway, then the corresponding target shooting scene is a subway shooting scene.

[0044] In this embodiment, the target shooting scene can be determined based on the preview image displayed in the shooting preview interface, and the target shooting scene can be quickly obtained, so as to combine with subsequent steps to further determine whether the target shooting scene is the first scene, thereby determining whether to enable the first camera to shoot in the first shooting mode.

[0045] In some embodiments of the present application, when displaying a shooting preview interface, obtaining a target shooting scene corresponding to the shooting preview interface may further include: steps 3100 to 3200.

[0046] Step 3100: When the preview image displayed on the shooting preview interface includes a target object, a sound signal emitted by the target object is obtained.

[0047] Step 3200: Determine and obtain a target shooting scene corresponding to the shooting preview interface according to the frequency of the sound signal.

[0048] Different target shooting objects emit sound signals with different frequencies. Based on this, the type of the target shooting object in the preview image displayed on the shooting preview interface can be determined according to the frequency of the sound signal, thereby determining the target shooting scene corresponding to the shooting preview interface.

[0049] In this embodiment, the target shooting scene can be determined according to the sound signal emitted by the target shooting object, which can improve the accuracy of scene recognition.

[0050] In this embodiment, when the shooting preview interface is displayed, after acquiring the target shooting scene corresponding to the shooting preview interface, the method further includes: determining whether the target shooting scene is the first scene.

[0051] In some embodiments, the scene type of the first scene may be preset, for example, an animal shooting scene, a baby shooting scene, a thief stealing scene, a movie theater shooting scene, etc. Based on this, combined with the aforementioned step of acquiring the target shooting scene, after acquiring the target shooting scene, the type of the target shooting scene is compared with the type of the preset first scene to determine whether the target shooting scene is the first scene.

[0052] In other embodiments, it may be determined whether the target shooting scene is the first scene according to the frequency of the sound signal of the shooting object in the preview image displayed in the shooting preview interface.

[0053] For example, when an animal makes a call, the sound of the first camera moving in a telescopic manner will attract the attention of the animal. Based on this, the frequency of the sound signal of the photographed object is obtained, and when the frequency of the sound signal is within the first frequency range, the target shooting scene is determined to be the first scene. The first frequency range can be determined according to the frequency of the animal's call, and the embodiments of the present application do not specifically limit this.

[0054] After step 1100, step 1200 is executed, and when the target shooting scene is the first scene, the preview image displayed in the shooting preview interface is processed according to the first shooting mode; wherein the first scene is a scene in which the shooting object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically.

[0055] The first scene is a scene where the photographed object is susceptible to interference. Exemplarily, the first scene may be an animal photographing scene, for example, a user photographing insects, butterflies, birds, etc. Exemplarily, the first scene may be a baby photographing scene. Exemplarily, the first scene may be a public place photographing scene, for example, a user photographing an image in a movie theater, or a user photographing an image in a subway car, etc. Exemplarily, the first scene may be a theft scene, for example, a user photographing a thief in the act of stealing.

[0056] Exemplarily, in the case where the electronic device includes a first camera, processing the preview image displayed in the shooting preview interface according to the first shooting mode may be to start the first camera but control the first camera not to perform telescopic movement so as to perform non-optical zoom processing on the preview image displayed in the shooting preview interface.

[0057] Exemplarily, in the case where the electronic device includes a first camera and a second camera, according to the first shooting mode, processing the preview image displayed in the shooting preview interface may be to start the second camera to perform non-optical zoom processing on the preview image displayed in the shooting preview interface.

[0058] In an embodiment of the present application, when the shooting preview interface is displayed, the target shooting scene corresponding to the shooting preview interface is obtained, and when the target shooting scene is the first scene, the preview image displayed in the shooting preview interface is processed according to the first shooting mode, wherein the first scene is a scene where the shooting object is easily disturbed. In this way, the zoom multiple of the camera can be dynamically adjusted based on the optical zoom method during the image shooting process, which can improve the shooting effect. In addition, when the target shooting scene is the first scene, the first camera is controlled to perform non-optical zoom shooting to avoid the telescopic movement of the first camera during the focusing process from interfering with the shooting object, which can improve the success rate of shooting and thus improve the shooting effect.

[0059] In some embodiments of the present application, when the target shooting scene is the first scene, processing the preview image displayed in the shooting preview interface according to the first shooting mode may further include: steps 4100 to 4300.

[0060] Step 4100: When the target shooting scene is a first scene, obtain the distance between the target shooting object and the electronic device.

[0061] The target shooting object is the shooting object included in the preview image displayed in the shooting preview interface.

[0062] In a specific implementation, the distance between the target object and the electronic device can be determined based on the preview image, or the distance between the target object and the electronic device can be obtained through a distance sensor of the electronic device.

[0063] Step 4200: When the distance is less than or equal to a first threshold, the preview image displayed in the shooting preview interface is processed according to the first shooting mode.

[0064] Step 4200, when the distance is greater than the first threshold, the preview image displayed in the shooting preview interface is processed according to the second shooting mode; wherein, when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

[0065] The first threshold is used to measure whether the target object is close to the electronic device. When the distance between the target object and the electronic device is less than or equal to the first threshold, it means that the target object is very close to the electronic device, and when the first camera of the electronic device is telescopically moved, it is easy to interfere with the target object and affect the shooting. In this case, according to the first shooting mode, the preview image displayed in the shooting preview interface is processed, that is, the first camera is not started for optical zoom shooting, so as to avoid the telescopic movement of the first camera affecting the target object.

[0066] When the distance between the target object and the electronic device is greater than the first threshold, it means that the target object is far away from the electronic device, and the first camera of the electronic device is not likely to interfere with the target object and affect the shooting when it is telescopically moved. In this case, the preview image displayed in the shooting preview interface is processed according to the second shooting mode, that is, the first camera is started to perform optical zoom shooting, which can improve the shooting effect.

[0067] It should be noted that the first threshold value can be set by those skilled in the art based on practical experience. For example, the first threshold value is 30 cm, and the embodiments of the present application do not specifically limit this.

[0068] In this embodiment, when the target shooting scene is the first scene, further judging whether to enable the first camera for optical zoom shooting according to the distance between the target shooting object and the electronic device can improve the accuracy of the judgment. Moreover, when the distance between the target shooting object and the electronic device is less than or equal to the first threshold, the preview image displayed in the shooting preview interface is processed according to the first shooting mode to avoid the telescopic movement of the first camera interfering with the target shooting object and affecting the shooting of the image. In addition, when the distance between the target shooting object and the electronic device is greater than the first threshold, the preview image displayed in the shooting preview interface is processed according to the second shooting mode to improve the shooting effect.

[0069] In some embodiments of the present application, when displaying a shooting preview interface, after obtaining a target shooting scene corresponding to the shooting preview interface, the method may further include: when the target shooting scene is a second scene, processing the preview image displayed in the shooting preview interface according to a second shooting mode, wherein the second scene is a scene in which the shooting object is a moving object, and when the electronic device is in the second shooting mode, the first camera may be telescopically moved.

[0070] In this embodiment, when the target shooting scene is the second scene, the preview image displayed in the shooting preview interface is processed according to the second shooting mode. The zoom factor of the first camera can be dynamically adjusted according to the change in the distance of the target shooting object in the preview image, so that the target shooting object is always in the best proportion in the shooting picture, thereby further improving the shooting effect.

[0071] In some embodiments of the present application, when the target shooting scene is the first scene, after processing the preview image displayed in the shooting preview interface according to the first shooting mode, the method may further include: when an instruction to confirm shooting is received, shooting the target image based on the display content in the shooting preview interface.

[0072] In a specific implementation, when displaying a shooting preview interface, the target shooting scene is obtained, and it is determined whether the target shooting scene is the first scene. If the target shooting scene is the first scene, an instruction to confirm the shooting is received. After receiving the instruction to confirm the shooting, shooting is performed according to the first shooting mode to obtain a target image.

[0073] In this embodiment, when the shooting preview interface is displayed, the target shooting scene is identified and it is determined whether the target shooting scene is the first scene. Thereafter, when the target shooting scene is the first scene and an instruction to confirm the shooting is received, the first camera is started to perform optical zoom shooting. This can improve the shooting effect while reducing the power consumption of the device and providing a better user experience.

[0074] It should be noted that the shooting method provided in the embodiment of the present application can be executed by a shooting device or a control module in the shooting device for executing the shooting method. In the embodiment of the present application, the shooting method executed by the shooting device is taken as an example to illustrate the shooting device provided in the embodiment of the present application.

[0075] Corresponding to the above embodiment, see Figure 3 The embodiment of the present application also provides a shooting device 300, which is applied to an electronic device. The electronic device includes a first camera, which is a continuous optical zoom camera that can be telescopically moved. The shooting device 300 includes an acquisition module 301 and a first processing module 302.

[0076] The acquisition module 301 is used to acquire the target shooting scene corresponding to the shooting preview interface when the shooting preview interface is displayed;

[0077] The first processing module 302 is used to process the preview image displayed in the shooting preview interface according to the first shooting mode when the target shooting scene is the first scene;

[0078] The first scene is a scene where the photographed object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically.

[0079] In some embodiments, the electronic device further includes a second camera, which is a camera that cannot be telescopically moved; when the electronic device is in a first shooting mode, the first camera is turned off and the second camera is started for shooting.

[0080] In some embodiments, the acquisition module 301 includes: a first acquisition unit, used to acquire a preview image displayed on the shooting preview interface when the shooting preview interface is displayed; and an identification unit, used to perform scene recognition on the preview image to obtain a target shooting scene corresponding to the shooting preview interface.

[0081] In some embodiments, the acquisition module 301 includes: a second acquisition unit, used to acquire a sound signal emitted by the target shooting object when the preview image displayed on the shooting preview interface includes the target shooting object; a determination unit, used to determine the target shooting scene corresponding to the shooting preview interface based on the frequency of the sound signal.

[0082] In some embodiments, the first processing module 302 includes: a third acquisition unit, used to acquire the distance between the target shooting object and the electronic device when the target shooting scene is the first scene, wherein the target shooting object is the shooting object included in the preview image displayed in the shooting preview interface; a first processing unit, used to process the preview image displayed in the shooting preview interface according to the first shooting mode when the distance is less than or equal to the first threshold; a second processing unit, used to process the preview image displayed in the shooting preview interface according to the second shooting mode when the distance is greater than the first threshold; wherein, when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

[0083] In some embodiments, the device also includes: a second processing module, used to process the preview image displayed in the shooting preview interface according to a second shooting mode when the target shooting scene is a second scene; wherein, the second scene is a scene in which the shooting object is a moving object, and when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

[0084] In an embodiment of the present application, when the shooting preview interface is displayed, the target shooting scene corresponding to the shooting preview interface is obtained, and when the target shooting scene is the first scene, the preview image displayed in the shooting preview interface is processed according to the first shooting mode, wherein the first scene is a scene where the shooting object is easily disturbed. In this way, the zoom multiple of the camera can be dynamically adjusted based on the optical zoom method during the image shooting process, which can improve the shooting effect. In addition, when the target shooting scene is the first scene, the first camera is controlled to perform non-optical zoom shooting to avoid the telescopic movement of the first camera during the focusing process from interfering with the shooting object, which can improve the success rate of shooting and thus improve the shooting effect.

[0085] The photographing device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., which is not specifically limited in the embodiment of the present application.

[0086] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0087] The shooting device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0088] Corresponding to the above embodiment, optionally, as Figure 4 As shown, an embodiment of the present application also provides an electronic device 400, including a processor 401, a memory 402, and a program or instruction stored in the memory 402 and executable on the processor 401. When the program or instruction is executed by the processor 401, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0089] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device described above.

[0090] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0091] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.

[0092] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0093] The electronic device 500 includes a first camera, which is a continuously variable optical camera that can be telescopically moved.

[0094] Among them, the processor 510 is used to obtain the target shooting scene corresponding to the shooting preview interface when the shooting preview interface is displayed; when the target shooting scene is the first scene, the preview image displayed in the shooting preview interface is processed according to the first shooting mode; wherein the first scene is a scene where the shooting object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically.

[0095] In some embodiments, the electronic device further includes a second camera, which is a camera that cannot be telescopically moved; when the electronic device is in a first shooting mode, the first camera is turned off and the second camera is started for shooting.

[0096] In some embodiments, when the processor 510 displays a shooting preview interface and obtains a target shooting scene corresponding to the shooting preview interface, it is used to: when the shooting preview interface is displayed, obtain a preview image displayed on the shooting preview interface; perform scene recognition on the preview image to obtain the target shooting scene corresponding to the shooting preview interface.

[0097] In some embodiments, when the processor 510 displays a shooting preview interface and obtains a target shooting scene corresponding to the shooting preview interface, it is used to: when the preview image displayed on the shooting preview interface includes a target shooting object, obtain a sound signal emitted by the target shooting object; and determine the target shooting scene corresponding to the shooting preview interface based on the frequency of the sound signal.

[0098] In some embodiments, when the processor 510 processes the preview image displayed in the shooting preview interface according to the first shooting mode when the target shooting scene is the first scene, it is used to: obtain the distance between the target shooting object and the electronic device when the target shooting scene is the first scene, wherein the target shooting object is the shooting object included in the preview image displayed in the shooting preview interface; when the distance is less than or equal to the first threshold, process the preview image displayed in the shooting preview interface according to the first shooting mode; when the distance is greater than the first threshold, process the preview image displayed in the shooting preview interface according to the second shooting mode; wherein, when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

[0099] In some embodiments, when displaying a shooting preview interface, the processor 510 obtains the target shooting scene corresponding to the shooting preview interface and is further used to: when the target shooting scene is a second scene, process the preview image displayed in the shooting preview interface according to a second shooting mode; wherein the second scene is a scene in which the shooting object is a moving object, and when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

[0100] In an embodiment of the present application, when the shooting preview interface is displayed, the target shooting scene corresponding to the shooting preview interface is obtained, and when the target shooting scene is the first scene, the preview image displayed in the shooting preview interface is processed according to the first shooting mode, wherein the first scene is a scene where the shooting object is easily disturbed. In this way, the zoom multiple of the camera can be dynamically adjusted based on the optical zoom method during the image shooting process, which can improve the shooting effect. In addition, when the target shooting scene is the first scene, the first camera is controlled to perform non-optical zoom shooting to avoid the telescopic movement of the first camera during the focusing process from interfering with the shooting object, which can improve the success rate of shooting and thus improve the shooting effect.

[0101] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 509 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 510 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 510.

[0102] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0103] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0104] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0105] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0106] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0108] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A shooting method, applied to an electronic device, characterized in that: The electronic device includes a first camera, the first camera is a continuously variable optical camera capable of telescopic movement, and the method includes: When a shooting preview interface is displayed, obtaining a target shooting scene corresponding to the shooting preview interface; When the target shooting scene is the first scene, processing the preview image displayed in the shooting preview interface according to the first shooting mode; The first scene is a scene where the photographed object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically; When the target shooting scene is the second scene, processing the preview image displayed in the shooting preview interface according to the second shooting mode; Wherein, when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

2. The method according to claim 1, characterized in that The electronic device further comprises a second camera, wherein the second camera is a camera that cannot be telescopically moved; When the electronic device is in the first shooting mode, the first camera is turned off and the second camera is started to shoot.

3. The method according to claim 1, characterized in that In the case where the shooting preview interface is displayed, obtaining a target shooting scene corresponding to the shooting preview interface includes: When a shooting preview interface is displayed, obtaining a preview image displayed on the shooting preview interface; Perform scene recognition on the preview image to obtain a target shooting scene corresponding to the shooting preview interface.

4. The method according to claim 1, characterized in that In the case where the shooting preview interface is displayed, obtaining a target shooting scene corresponding to the shooting preview interface includes: When the preview image displayed on the shooting preview interface includes a target shooting object, obtaining a sound signal emitted by the target shooting object; A target shooting scene corresponding to the shooting preview interface is determined according to the frequency of the sound signal.

5. The method according to claim 1, characterized in that When the target shooting scene is the first scene, processing the preview image displayed in the shooting preview interface according to the first shooting mode includes: When the target shooting scene is the first scene, obtaining a distance between a target shooting object and the electronic device, wherein the target shooting object is a shooting object included in a preview image displayed in a shooting preview interface; When the distance is less than or equal to a first threshold, processing the preview image displayed in the shooting preview interface according to the first shooting mode; When the distance is greater than the first threshold, processing the preview image displayed in the shooting preview interface according to the second shooting mode; Wherein, when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

6. The method according to claim 1, characterized in that The second scene is a scene in which the photographed object is a moving object.

7. A photographing device, applied to electronic equipment, characterized in that: The electronic device includes a first camera, the first camera is a continuously variable optical camera capable of telescopic movement, and the device includes: An acquisition module, used to acquire a target shooting scene corresponding to the shooting preview interface when the shooting preview interface is displayed; A first processing module, configured to process the preview image displayed in the shooting preview interface according to a first shooting mode when the target shooting scene is a first scene; The first scene is a scene where the photographed object is susceptible to interference, and when the electronic device is in the first shooting mode, the first camera does not move telescopically; A second processing module, configured to process the preview image displayed in the shooting preview interface according to a second shooting mode when the target shooting scene is a second scene; Wherein, when the electronic device is in the second shooting mode, the first camera can be telescopically moved.

8. The device according to claim 7, characterized in that The acquisition module comprises: A first acquisition unit, configured to acquire a preview image displayed on the shooting preview interface when the shooting preview interface is displayed; The recognition unit is used to perform scene recognition on the preview image to obtain a target shooting scene corresponding to the shooting preview interface.

9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the shooting method according to any one of claims 1 to 6.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the shooting method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method and device for realizing automatic shooting

    CN104125395A

  • Image processing method, image processing program, recording medium for recording the image processing program, image processing apparatus, and image recording apparatus

    JP2003244627A

  • Photographing device, photographed image processing method, and program

    JP2013046217A

  • Mobile terminal and operation control method thereof

    KR1020120048397A