Photographing Method, Photographing Apparatus, Electronic Device, and Readable Storage Medium

By using two cameras with different shooting ranges and dynamically adjusting the recording frame rate or activating continuous shooting when the subject enters the second camera's range, the electronic device reduces power consumption and file size, addressing the issue of wasted frames in slow motion and continuous shooting functions.

JP7681690B2Active Publication Date: 2025-05-22VIVO MOBILE COMM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023523194
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-14
Filing Date
2021-10-08
Publication Date
2025-05-22
Estimated Expiration
2041-10-08

AI Technical Summary

Technical Problem

Existing electronic devices consume high power and generate large storage files due to capturing numerous wasted frames when using slow motion or continuous shooting functions, especially when the subject is not within the camera's shooting range.

Method used

The implementation of two cameras with different shooting ranges, where the first camera has a larger range than the second camera. When the target object enters the shooting range of the first camera but not the second camera, the recording frame rate of the second camera is updated to a high frame rate mode or the continuous shooting function is activated, reducing power consumption and file size.

Benefits of technology

This solution effectively reduces power consumption and file size by minimizing the number of wasted frames captured before the subject enters the shooting range of the second camera, while maintaining a high frame rate or continuous shooting capability when the subject is in range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007681690000001
    Figure 0007681690000001
  • Figure 0007681690000002
    Figure 0007681690000002
  • Figure 0007681690000003
    Figure 0007681690000003
Patent Text Reader

Abstract

The present application discloses a photographing method, an apparatus, and an electronic device, which belong to the field of communication technology, and includes: activating a target photographing function of a second camera when a target object is within a photographing range of a first camera but not within a photographing range of a second camera; and acquiring an image of the target object collected by the second camera through the target photographing function when the target object is within the photographing range of the second camera, wherein the photographing range of the first camera is larger than and includes the photographing range of the second camera, and the target photographing function includes a continuous shooting function or a recording function at a first recording frame rate.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] TECHNICAL FIELD The present application relates to the field of communication technology, and in particular to an imaging method, apparatus, and electronic device. [Background technology]

[0002] 2. Description of the Related Art As the photographing functions of electronic devices improve, taking various photos and videos using electronic devices has become an important means for people to record beautiful moments in their lives.

[0003] In the related art, a user can use the slow motion function of an electronic device to capture a rapidly changing action, and can use the continuous shooting function to take continuous shots of a shooting object, such as the process of a balloon bursting, the process of a ball bouncing up after landing, etc. In general, after the user selects a corresponding shooting mode and taps the shooting button, the electronic device directly adjusts the camera parameters to the shooting parameters corresponding to the shooting mode selected by the user, for example, when the user switches the shooting mode to slow motion shooting, the electronic device sets the recording frame rate of the camera to a high frame rate recording mode, and after the user taps the shooting button, the camera uses the high frame rate recording mode to shoot.

[0004] However, when a user takes a photograph using a function selected by the user, the subject is not always within the camera's shooting range, so the above shooting method may generate many wasted frames (image frames without the subject), and further cause the shooting files to occupy a large memory space and the camera to consume a large amount of power. Summary of the Invention [Problem to be solved by the invention]

[0005] An object of the embodiments of the present application is to provide a shooting method, device, and electronic device that can solve problems in the related art, such as high power consumption due to capturing more wasted frames when an electronic device shoots slow motion or continuous shots, and large storage space taken up by the generated shooting files. [Means for solving the problem]

[0006] In order to solve the above technical problems, the present application is realized as follows.

[0007] According to a first aspect, an embodiment of the present application provides a photographing method, the method including: activating a target photographing function of a second camera when a target photographing object is within a photographing range of a first camera but not within a photographing range of a second camera; and acquiring an image of the target photographing object collected by the second camera through the target photographing function when the target photographing object is within the photographing range of the second camera, where the photographing range of the first camera is larger than the photographing range of the second camera, the photographing range of the first camera includes the photographing range of the second camera, and the target photographing function includes a continuous shooting function or a recording function with a first recording frame rate.

[0008] According to a second aspect, an embodiment of the present application further provides a photographing device, the device including an execution module and an acquisition module, the execution module is used to activate a target photographing function of a second camera when a target photographing object enters a photographing range of a first camera but not within a photographing range of a second camera, and the acquisition module is used by the second camera to acquire an image of the target photographing object collected by the target photographing function activated by the execution module when the target photographing object enters a photographing range of the second camera, where the photographing range of the first camera is larger than the photographing range of the second camera, the photographing range of the first camera includes the photographing range of the second camera, and the target photographing function includes a continuous shooting function or a recording function with a first recording frame rate.

[0009] According to a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instructions stored in the memory and operable to run on the processor, the program or instructions being operable, when executed by the processor, to implement the steps of the imaging method according to the first aspect.

[0010] According to a fourth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implements steps of the method according to the first aspect.

[0011] According to a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface coupled to the processor, the processor running a program or instructions and used to implement the method according to the first aspect. Effect of the Invention

[0012] In an embodiment of the present application, two cameras with different shooting ranges are installed, and when it is detected that a target object is within the shooting range of the first camera but not within the shooting range of the second camera, the recording frame rate of the second camera is updated to the first recording frame rate (high frame rate mode) or the continuous shooting function is turned on, so that before the target object enters the shooting range of the second camera, the second camera is in a low frame rate recording operation mode, and when the target object enters the shooting range of the second camera, the second camera can capture the target object in a high frame rate recording mode or can continuously capture the target object, thereby reducing the power consumption before the second camera takes a slow-motion shot or continuous shot of the target object, and reducing the file size of the generated shooting file. [Brief description of the drawings]

[0013] [Figure 1]FIG. 2 is a schematic diagram of an application of a photography method in the related art according to an embodiment of the present application; [Diagram 2] 1 is a flowchart of a photographing method according to an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of an application of the imaging method according to an embodiment of the present application. [Figure 4] 1 is a structural schematic diagram of a photographing device according to an embodiment of the present application; [Diagram 5] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The following clearly and completely describes the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application, and obviously, the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by those skilled in the art on the basis of the embodiments of the present application without any creative efforts are within the scope of protection of the present application.

[0015] The terms "first," "second," etc. in the specification and claims of the present application are intended to distinguish between similar objects and are not intended to describe a particular order or sequence. It is to be understood that data so used are interchangeable where appropriate, such that the embodiments of the present application may be performed in an order other than that shown or described herein, and that the objects distinguished by "first," "second," etc. are generally of the same type and are not limited in number, e.g., the first object may be one or more. Note that "and / or" in the specification and claims refers to at least one of the objects connected, and the character " / " generally refers to an "or" relationship between the related objects.

[0016] The photographing method according to the embodiment of the present application can be used for scenes photographed by a user using an electronic device.

[0017] For example, for a scene that a user uses an electronic device to shoot, in the related art, after the user selects a corresponding shooting mode and taps a shooting button, the electronic device directly adjusts the camera parameters to the shooting parameters corresponding to the shooting mode selected by the user. For example, when an electronic device shoots a slow-motion video, it generally adopts a fixed high frame rate recording mode for shooting, that is, the electronic device only turns on the slow-motion video shooting function, and the recording frame rate of the camera is set to the high frame rate mode. However, when the shooting object is not within the shooting range, the camera is also in the high frame rate recording mode, the camera is in the high power consumption mode for a long time, and the shooting file generated is also large.

[0018] For this problem, those skilled in the art can easily come up with the idea of ​​dynamically adjusting the recording frame rate of the camera by detecting whether the object is within the camera's shooting range in the related art, thereby solving the above problem. However, generally, when an electronic device performs slow-motion shooting, the moving speed of the object is fast, so if the recording frame rate of the camera is adjusted according to the above method, the recording frame rate of the camera may be adjusted to the high frame rate mode only when the object has already entered the shooting range for a certain period of time or is about to leave the shooting range, resulting in poor shooting effect. As shown in FIG. 1, the area 11 is the camera's shooting range, and the soccer ball moving at high speed is not in the camera's shooting preview range at time t1, at which time the camera may be in the low frame rate recording mode, and because the speed of the soccer ball is fast, the electronic device may detect that the soccer ball has entered the camera's shooting range only at time t2, and set the recording frame rate of the camera to the high frame rate, at which time the electronic device performs slow-motion shooting of the soccer ball only after time t2, and only performs normal shooting before time t2, resulting in poor shooting effect.

[0019] Therefore, the embodiment of the present application provides a shooting method, which can solve all the above-mentioned possible problems. In the technical solution according to the embodiment of the present application, by detecting the collected images of two cameras with different shooting ranges, when it is not detected that any shooting object enters the shooting range of the first camera with a larger shooting range, the second camera with a smaller shooting range is in the operation mode of the second recording frame rate (low frame rate mode), and when it is detected that the target shooting object enters the shooting range of the first camera but is not in the shooting range of the second camera, the recording frame rate of the second camera is updated from the second recording frame rate to the first recording frame rate (high frame rate mode) or the continuous shooting function is turned on, so that before the target shooting object enters the shooting range of the second camera, the second camera is in the operation mode of the low frame rate recording, and when the target shooting object enters the shooting range of the second camera, the second camera can shoot the target shooting object in the high frame rate recording mode or can continuously shoot the target shooting object, reducing the power consumption when the second camera is not shooting the target shooting object in slow motion or before continuous shooting, and reducing the file size of the generated shooting file.

[0020] Hereinafter, the photographing method according to the embodiment of the present application will be described in detail with reference to specific examples and application scenarios in conjunction with the drawings.

[0021] As shown in FIG. 2, an embodiment of the present application provides an imaging method, which may include steps 201 and 202 as follows.

[0022] In step 201, when a target object is within the shooting range of the first camera but not within the shooting range of the second camera, the photographing device activates the target photographing function of the second camera.

[0023] Illustratively, the first camera may be a camera with a dynamic vision sensor (DVS), which is mainly used to detect moving objects, and the second camera is a camera that can dynamically adjust the recording frame rate, which is mainly used to capture slow-motion videos or continuous photos. It should be noted that the dynamic vision sensor's operating mechanism is that the dynamic vision sensor based on address-event representation mimics the operating mechanism of biological vision, but the traditional visual image collection method is based on "frames" collected at a fixed frequency, and has defects such as high redundancy, high delay, high noise, low dynamic range and high data volume, that is, the traditional RGB camera needs to first collect image frames, then perform image identification on the image frames, and then determine whether there is an object that has entered the camera's shooting range, and the identification speed is slow. The dynamic vision sensor is a pixel asynchronous operation, and only outputs the address and information of pixels whose light intensity has changed, rather than passively reading out each pixel information in the "frame" sequentially, and removes redundant data from the source, and has the characteristics of real-time dynamic response to scene changes, ultra-sparse representation of images, asynchronous output of events, etc. Therefore, compared with an RGB camera, the above-mentioned DVS camera not only has a wider shooting range, but also has a faster response speed, and can identify an object that enters the shooting range of the DVS camera before the object enters the shooting range of the second camera, and further allows the electronic device to timely turn on the high frame rate recording mode or continuous shooting mode of the second camera.

[0024] In step 202, when the target object enters the shooting range of the second camera, the shooting device acquires an image of the target object collected by the second camera through the target shooting function.

[0025] Exemplarily, after the electronic device activates a corresponding photographing function, it acquires an image of the target photographing object collected by the second camera through the photographing function. The image may be a slow-motion video or a continuous shot image. Specifically, when the target photographing function is continuous shooting, the electronic device acquires a continuous shot image collected by the second camera for the target photographing object. When the target photographing function is slow-motion shooting, the electronic device acquires a plurality of slow-motion video frames collected by the second camera for the target photographing object, and generates a slow-motion video.

[0026] Here, the shooting range of the first camera is larger than the shooting range of the second camera, and the shooting range of the first camera includes the shooting range of the second camera. The target shooting function includes a continuous shooting function or a recording function at a first recording frame rate.

[0027] For example, in the embodiment of the present application, two cameras with different shooting ranges are installed in the electronic device, and the shooting range of the first camera is larger than that of the second camera, and the moving target object first enters the shooting range of the first camera and triggers the corresponding function of the second camera, and then the target object enters the shooting range of the second camera, so that the electronic device has enough time to adjust the working mode of the second camera, avoiding the problem occurring in FIG. 1, and obtaining a better shooting effect.

[0028] Exemplarily, in an embodiment of the present application, the electronic device sets two cameras with different shooting ranges, and when a target shooting object enters the shooting range of the first camera but is not within the shooting range of the second camera, the electronic device triggers the adjustment of the operating mode of the second camera, which may specifically include the following two operating modes:

[0029] Operation mode 1: Optionally, in an embodiment of the present application, operation mode 1 is a high frame rate recording mode.

[0030] For example, when the target subject is not within the range of the first camera, the recording frame rate of the second camera is the second recording frame rate, i.e., when the target subject is not within the range of the first camera, the second camera is in a low frame rate recording mode.

[0031] Exemplarily, the above step 201 may include the following step 202a.

[0032] In step 202a, when the target object is within the shooting range of the first camera but not within the shooting range of the second camera, update the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate; Here, the second recording frame rate is lower than the first recording frame rate.

[0033] Illustratively, when a target object is within the range of the first camera but not within the range of the second camera, the electronic device sets the recording frame rate of the second camera from a low frame rate to a high frame rate.

[0034] To explain by way of example, as shown in FIG. 3, the shooting ranges of two cameras of an electronic device are as follows: the shooting range 20 of camera 1 (i.e., the first camera) is larger than the shooting range 21 of camera 2 (i.e., the second camera); when the soccer ball (i.e., the target shooting subject) is not within the shooting range 20 (i.e., time T1), camera 2 is in an operating state of a low frame rate recording mode; when the soccer ball enters the shooting range 20 but is not within the shooting range 21 (i.e., time T2), the electronic device updates the recording frame rate of camera 2 from a low frame rate to a high frame rate; so that when the soccer ball enters the shooting range 21 (i.e., time T3), the electronic device can perform slow-motion shooting of the soccer ball using camera 2.

[0035] In this manner, the electronics may set the second camera into a high frame rate recording mode when the target subject comes within the field of view of the first camera, and further enable the second camera to capture slow motion video of the complete process of the target subject when the target subject comes within the field of view of the second camera.

[0036] Operation mode 2: Optionally, in an embodiment of the present application, operation mode 2 is a continuous shooting mode.

[0037] For example, when the target object is not within the shooting range of the second camera, the second camera is in a non-shooting operating state, and the user can only observe the shooting preview screen collected by the second camera. That is, the electronic device adjusts the operating mode of the second camera to a continuous shooting mode, and after the user taps the shooting button, the first camera is in a real-time detection state, and the second camera is in a continuous shooting mode but in a non-shooting state.

[0038] For example, when the target object is within the shooting range of the first camera but not within the shooting range of the second camera, the electronic device controls the second camera to take continuous photographs.

[0039] In this way, when it is detected that the target subject has entered the shooting range of the first camera but is not within the shooting range of the second camera, the recording frame rate of the second camera is updated to the first recording frame rate (high frame rate mode) or the continuous shooting function is turned on, so that before the target subject enters the shooting range of the second camera, the second camera is in a low frame rate recording operation mode, and when the target subject enters the shooting range of the second camera, the second camera can capture the target subject in a high frame rate recording mode or can continuously capture the target subject, thereby reducing power consumption when the second camera is not capturing slow motion images of the target subject or before continuous shooting, and reducing the file size of the generated shooting file.

[0040] Optionally, in an embodiment of the present application, when the second camera is shooting slow motion video, in order to minimize the power consumption of the second camera and the size of the shooting file, the electronic device may reduce the recording frame rate of the second camera when the target object moves away from the camera's shooting range.

[0041] Illustratively, after the above step 202, the photographing method according to the embodiment of the present application may further include step 202b as follows.

[0042] In step 202b, when the target subject leaves the shooting range of the first camera or the second camera, the shooting device updates the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate.

[0043] For example, the electronic device may use the movement of the target subject out of the shooting range of the second camera as a trigger condition that triggers updating the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate, and may use the movement of the target subject out of the shooting range of the first camera as a trigger condition that triggers updating the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate.

[0044] For example, when there are multiple target shooting objects and only some of the multiple target shooting objects move away from the shooting range of the first camera or the second camera, the electronic device does not execute the above operation.When all of the multiple target shooting objects move away from the shooting range of the first camera or the second camera, the electronic device updates the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate.

[0045] It should be noted that when the first camera is a DVS camera, the DVS camera outputs only the address and information of the pixel whose light intensity has changed, and does not passively read out each pixel information in the "frame" sequentially, so that the electronic device can only obtain the position coordinate point of the target in the shooting range of the DVS camera at each time, and the multiple coordinate points at multiple times constitute the movement trajectory of the target. Therefore, for the same target, the movement trajectory is generally a curve that conforms to a certain change rule, and the electronic device can determine information such as the movement direction of the target and whether the target has left the shooting range of the DVS camera based on the tendency of this curve. For different targets, when multiple different targets are all located within the shooting range of the DVS camera, the different targets have different movement curves. In the embodiment of the present application, the electronic device can determine whether the parameters of the second camera are adjusted, only by identifying whether the target is included in the shooting range of the second camera, and does not need to distinguish whether the target is the same or not.

[0046] In this manner, the electronic device may adjust the operation mode of the camera when the target subject leaves the camera's shooting range, further minimizing the power consumption of the second camera and the size of the shooting file.

[0047] Further optionally, in an embodiment of the present application, the electronics only detects objects in foreground areas captured by the camera, and does not detect objects in background areas captured by the camera, preventing the electronics from erroneously adjusting the operating mode of the second camera.

[0048] Illustratively, before the above step 201, the imaging method according to the embodiment of the present disclosure may include step 201a.

[0049] In step 201a, the photographing device detects the photographing preview screen of the first camera.

[0050] Here, the shooting preview screen includes a foreground region and a background region, and the target shooting object is a shooting object that enters the foreground region at a speed exceeding a preset speed, the preset speed being greater than a moving speed of any object in the background region.

[0051] For example, the foreground region is an area that can be clearly captured by the second camera at the current focal length, whereas the background region is an area other than the foreground region on the capture preview screen. The above-mentioned region is an area in three-dimensional space.

[0052] For example, since subjects captured in slow motion are generally fast-moving objects, when the electronic device detects the presence of an object entering the foreground area at a speed greater than a preset speed, the electronic device may trigger an update of the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate.

[0053] In this way, the electronic device may trigger an adjustment of the recording frame rate of the second camera when an object that enters the shooting range satisfies certain conditions, further reducing the occurrence of false triggers.

[0054] Optionally, in an embodiment of the present application, in order to avoid generating many blank photos when a user uses an electronic device to take continuous shots, the electronic device may automatically turn off the continuous shooting function of the second camera after the target subject leaves the shooting range of the first camera.

[0055] Illustratively, the first camera may have a motion detection function such that the first camera triggers the electronics to turn off the continuous shooting function of the second camera.

[0056] Illustratively, after the above step 202, the photographing method according to the embodiment of the present application may further include step 202c as follows.

[0057] Step 202c: when the target object to be photographed leaves the photographing range of the first camera, the photographing device stops the continuous shooting function of the second camera.

[0058] For example, the electronic device can detect in real time using the first camera whether or not there is a moving object within its shooting range (including the shooting range of the second camera) and the direction of movement of the object, and when the electronic device detects that the target shooting subject has left the shooting range of the first camera, it turns off the continuous shooting function of the second camera to prevent the generation of multiple blank images (where there is no target shooting subject).

[0059] In this way, the electronic device may turn off the continuous shooting function of the second camera after detecting that the target subject has left the shooting range of the first camera, thereby reducing the occurrence of blank images.

[0060] In the photographing method according to the embodiment of the present application, when the electronic device does not detect that any photographing object has entered the photographing range of the first camera having a large photographing range, the second camera having a small photographing range is in an operation mode (low frame rate mode) with a second recording frame rate, and when the electronic device detects that the target photographing object has entered the photographing range of the first camera and is not in the photographing range of the second camera, the electronic device updates the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate (high frame rate mode) or turns on the continuous shooting function, so that the second camera is in a low frame rate recording operation mode before the target photographing object enters the photographing range of the second camera. When the target photographing object enters the photographing range of the second camera, the second camera can photograph the target photographing object in a high frame rate recording mode or can continuously shoot the target photographing object, reducing the power consumption when the second camera is not taking a slow-motion photograph of the target photographing object or before taking a continuous shot, and reducing the file size of the generated photographing file.

[0061] It should be noted that for the shooting method according to the embodiments of the present application, the execution entity may be a shooting device or a control module for executing the shooting method in this shooting device. In the embodiments of the present application, taking the shooting device executing the shooting method as an example, the shooting device according to the embodiments of the present application will be described.

[0062] It should be noted that in the embodiments of the present application, the shooting methods shown in the drawings of the above methods are all exemplarily described by associating with one drawing in the embodiments of the present application as an example. When specifically realized, the shooting methods shown in the drawings of the above methods may also be realized by associating with any other attached drawings that can be associated as shown in the above embodiments, and will not be described further here.

[0063] Figure 4 is a schematic structural diagram of a shooting device that can be realized according to the embodiments of the present application. As shown in Figure 4, the shooting device 600 includes an execution module 601 and an acquisition module 602. The execution module 601 is used to activate the target shooting function of the second camera when the target shooting object enters the shooting range of the first camera and does not enter the shooting range of the second camera. The acquisition module 602 is used to acquire the image of the target shooting object collected by the target shooting function activated by the execution module 601 by the second camera when the target shooting object enters the shooting range of the second camera. Here, the shooting range of the first camera is larger than the shooting range of the second camera, the shooting range of the first camera includes the shooting range of the second camera, and the target shooting function includes a continuous shooting function or a recording function with a first recording frame rate.

[0064] Optionally, when the target object is not within the shooting range of the first camera, the recording frame rate of the second camera is a second recording frame rate, and the execution module 601 is specifically used for updating the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate when the target object is within the shooting range of the first camera but not within the shooting range of the second camera, where the second recording frame rate is smaller than the first recording frame rate.

[0065] Optionally, the execution module 601 is further used to update the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate when the target object leaves the shooting range of the first camera or the second camera.

[0066] Optionally, the device further includes a detection module 603 for detecting a shooting preview screen of the first camera, where the shooting preview screen includes a foreground area and a background area, and the target shooting object is a shooting object entering the foreground area at a speed exceeding a preset speed, and the preset speed is greater than the moving speed of any object in the background area.

[0067] Optionally, the execution module 601 is further used for stopping the continuous shooting function of the second camera when the target object leaves the shooting range of the first camera.

[0068] The photographing device in the embodiment of the present application may be a device, or may be 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 notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a deposit machine, or a self-service machine, and the embodiment of the present application is not specifically limited.

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

[0070] The imaging device according to the embodiment of the present application can realize each process realized by the imaging device in the method embodiment of Figures 2 and 3, and will not be further described here to avoid repetition of description.

[0071] In the photographing device according to an embodiment of the present application, when the electronic device does not detect that any photographing object has entered the shooting range of the first camera having a larger shooting range, the second camera having a smaller shooting range is in an operating mode with a second recording frame rate (low frame rate mode), and when the electronic device detects that the target photographing object has entered the shooting range of the first camera but not the shooting range of the second camera, the electronic device updates the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate (high frame rate mode) or turns on the continuous shooting function, so that before the target photographing object enters the shooting range of the second camera, the second camera is in a low frame rate recording operating mode, and when the target photographing object enters the shooting range of the second camera, the second camera can photograph the target photographing object in the high frame rate recording mode or can continuously photograph the target photographing object, thereby reducing power consumption when the second camera is not performing slow motion shooting of the target photographing object or before continuous shooting, and reducing the file size of the generated photographed file.

[0072] Optionally, the embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, and a program or instruction stored in the memory 109 and operable on the processor 110, which, when executed by the processor 110, can realize each process of the embodiment of the above-mentioned photographing method and achieve the same technical effect. In order to avoid repetition, no further description will be given here.

[0073] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices described above.

[0074] FIG. 5 is a schematic diagram of the hardware structure of an electronic device for implementing each embodiment of the present application.

[0075] The electronic device 100 includes components such as, but not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0076] As can be understood by those skilled in the art, the electronic device 100 may further include a power source (e.g., a battery) for powering each component, and the power source may be logically connected to the processor 110 by a power management system, so that the power management system can realize functions such as charge / discharge management and power consumption management. The electronic device structure shown in FIG. 5 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the number of components shown, or a combination of some components, or a different arrangement of components, which will not be further described here.

[0077] Here, the processor 110 is used to activate the target shooting function of the second camera when the target shooting object is within the shooting range of the first camera but not within the shooting range of the second camera, and the camera in the sensor 105 is used by the second camera to acquire an image of the target shooting object collected by the target shooting function activated by the processor 110 when the target shooting object is within the shooting range of the second camera, where the shooting range of the first camera is larger than the shooting range of the second camera and the shooting range of the first camera includes the shooting range of the second camera, and the target shooting function includes a continuous shooting function or a recording function at a first recording frame rate.

[0078] In this way, when it is detected that the target subject has entered the shooting range of the first camera but is not within the shooting range of the second camera, the recording frame rate of the second camera is updated to the first recording frame rate (high frame rate mode) or the continuous shooting function is turned on, so that before the target subject enters the shooting range of the second camera, the second camera is in a low frame rate recording operation mode, and when the target subject enters the shooting range of the second camera, the second camera can capture the target subject in a high frame rate recording mode or can continuously capture the target subject, thereby reducing power consumption when the second camera is not capturing slow motion images of the target subject or before continuous shooting, and reducing the file size of the generated shooting file.

[0079] Optionally, when the target object is not within the shooting range of the first camera, the recording frame rate of the second camera is a second recording frame rate, and the processor 110 is specifically used for updating the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate when the target object is within the shooting range of the first camera but not within the shooting range of the second camera, where the second recording frame rate is smaller than the first recording frame rate.

[0080] In this manner, the electronics may set the second camera into a high frame rate recording mode when the target subject comes within the field of view of the first camera, and further enable the second camera to capture slow motion video of the complete process of the target subject when the target subject comes within the field of view of the second camera.

[0081] Optionally, the processor 110 is further used to update the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate when the target object leaves the field of view of the first camera or the second camera.

[0082] In this manner, the electronic device may adjust the operation mode of the camera when the target subject leaves the camera's shooting range, further minimizing the power consumption of the second camera and the size of the shooting file.

[0083] Optionally, the processor 110 is used to detect a shooting preview screen of the first camera, where the shooting preview screen includes a foreground area and a background area, and the target shooting object is a shooting object that enters the foreground area at a speed exceeding a preset speed, the preset speed being greater than a moving speed of any object in the background area.

[0084] In this way, the electronic device may trigger an adjustment of the recording frame rate of the second camera when an object that enters the shooting range satisfies certain conditions, further reducing the occurrence of false triggers.

[0085] Optionally, the processor 110 is further adapted to stop the continuous shooting function of the second camera when the target subject moves out of the shooting range of the first camera.

[0086] In this way, the electronic device may turn off the continuous shooting function of the second camera after detecting that the target subject has left the shooting range of the first camera, thereby reducing the occurrence of blank images.

[0087] An electronic device according to an embodiment of the present application, in which when the electronic device does not detect that any object has entered the shooting range of a first camera having a larger shooting range, a second camera having a smaller shooting range is in an operating mode with a second recording frame rate (low frame rate mode), and when the electronic device detects that a target object has entered the shooting range of the first camera but not the shooting range of the second camera, the electronic device updates the recording frame rate of the second camera from the second recording frame rate to the first recording frame rate (high frame rate mode) or turns on a continuous shooting function, so that before the target object enters the shooting range of the second camera, the second camera is in a low frame rate recording operating mode, and when the target object enters the shooting range of the second camera, the second camera can shoot the target object in a high frame rate recording mode or can continuously shoot the target object, reducing power consumption when the second camera is not shooting the target object in slow motion or before continuous shooting, and reducing the file size of the generated shooting file.

[0088] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of still or video images obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be arranged in the form of a liquid crystal display, an organic light emitting diode, and the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control buttons, switch buttons, etc.), a trackball, a mouse, and a control lever, and will not be described further herein. The memory 109 may be used to store software programs and various data, including but not limited to application programs and an operating system. The processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication. As can be understood, the modem processor may not be integrated into the processor 110.

[0089] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored, which, when executed by a processor, can realize each process of the above-mentioned photographing method embodiment and achieve the same technical effect. In order to avoid repetition, no further description will be given here.

[0090] Here, the processor is the 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.

[0091] The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or instruction, so as to realize each process of the embodiment of the above-mentioned photographing method, and achieve the same technical effect. In order to avoid repetition, no further description will be given here.

[0092] It should be understood that the chips referred to in the embodiments of the present application may be referred to as system level chips, system chips, chip systems, or systems on chips.

[0093] It should be explained that in this specification, the terms "comprise", "include", or any other variants thereof are intended to cover the non-exclusive "comprise", whereby a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also other elements not expressly listed or inherent to such process, method, article, or apparatus. In the absence of further limitations, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes this element. It should be pointed out that the scope of the method and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may include performing functions in an essentially simultaneous manner or in reverse order based on the functions involved, for example, the described method can be performed in a different order than described, and various steps can be added, omitted, or combined. Also, features described with reference to some examples can be combined in other examples.

[0094] From the above description of the embodiments, it is clear to those skilled in the art that the methods of the above embodiments can be realized in the form of software and a necessary general-purpose hardware platform. Of course, they can also be realized in hardware, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solution of the present application may be substantially or in part embodied in the form of a software product. The computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes some instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0095] The above describes the embodiments of the present application in conjunction with the drawings, but the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not limiting. Those skilled in the art can take the suggestions of this application and make many forms without departing from the spirit and scope of protection of the claims, all of which belong to the protection scope of this application.

[0096] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to China Patent Application No. 202011099089.3, filed in China on October 14, 2020, the entire contents of which are incorporated herein by reference.

Claims

1. A method of photographing, comprising: When a target photographing object is within a photographing range of the first camera but not within a photographing range of the second camera, activating a target photographing function of the second camera; When the target photographing object comes within a photographing range of the second camera, the second camera acquires an image of the target photographing object collected by the target photographing function; The shooting range of the first camera is larger than the shooting range of the second camera, and the shooting range of the first camera includes the shooting range of the second camera, and the target shooting function includes a continuous shooting function or a recording function at a first recording frame rate; Before starting the target shooting function of the second camera, The method further includes detecting a subject to be photographed on a preview screen of the first camera; the photographing preview screen includes a foreground region and a background region, the foreground region being a region that can be clearly photographed by the second camera at a current focal length, and the background region being a region on the photographing preview screen other than the foreground region; The target object is an object that enters the foreground area at a speed exceeding a preset speed, the preset speed is greater than a moving speed of any object in the background area; How to shoot.

2. When the target is not within the shooting range of the first camera, the recording frame rate of the second camera is a second recording frame rate; activating a target photographing function of the second camera when the target photographing object is within a photographing range of the first camera and is not within a photographing range of the second camera; updating a recording frame rate of the second camera from the second recording frame rate to the first recording frame rate when a target object is within a shooting range of the first camera but not within a shooting range of the second camera; The imaging method according to claim 1 , wherein the second recording frame rate is lower than the first recording frame rate.

3. After acquiring the image of the target photographing object collected by the second camera, the photographing method includes: The photographing method according to claim 2, further comprising updating a recording frame rate of the second camera from the first recording frame rate to the second recording frame rate when the target photographing subject leaves the photographing range of the first camera or the second camera.

4. After the second camera acquires an image of the target object collected by the target photographing function, the photographing method includes:

2. The method of claim 1, further comprising: stopping the continuous shooting function of the second camera when the target subject leaves the shooting range of the first camera.

5. An imaging device, the imaging device including: an execution module and an acquisition module; The execution module is used to activate a target photographing function of the second camera when a target photographing object is within a photographing range of the first camera but is not within a photographing range of the second camera; The acquisition module is used by the second camera to acquire an image of the target object collected by a target photographing function activated by the execution module when the target object enters a photographing range of the second camera; The shooting range of the first camera is larger than the shooting range of the second camera, and the shooting range of the first camera includes the shooting range of the second camera, and the target shooting function includes a continuous shooting function or a recording function at a first recording frame rate; Further comprising a detection module for detecting a subject on a preview screen of the first camera; the photographing preview screen includes a foreground region and a background region, the foreground region being a region that can be clearly photographed by the second camera at a current focal length, and the background region being a region on the photographing preview screen other than the foreground region; The target object is an object that enters the foreground area at a speed exceeding a preset speed, the preset speed is greater than a moving speed of any object in the background area; Filming equipment.

6. When the target is not within the shooting range of the first camera, the recording frame rate of the second camera is a second recording frame rate; The execution module is used for updating a recording frame rate of the second camera from the second recording frame rate to the first recording frame rate when a target photographing object is within a photographing range of the first camera but is not within a photographing range of the second camera; The image capturing apparatus according to claim 5 , wherein the second recording frame rate is lower than the first recording frame rate.

7. The photographing device of claim 6, wherein the execution module is further used to update the recording frame rate of the second camera from the first recording frame rate to the second recording frame rate when the target photographing object leaves the photographing range of the first camera or the second camera.

8. 6. The photographing device according to claim 5, wherein the execution module is further used for stopping a continuous shooting function of the second camera when the target object moves out of a photographing range of the first camera.

9. An electronic device comprising a processor, a memory, and a program or instructions stored in the memory and operable on the processor, the electronic device realizing the steps of the photographing method according to any one of claims 1 to 4 when the program or instructions are executed by the processor.

10. A readable storage medium having a program or instructions stored therein, the program or instructions being executed by a processor to implement the steps of the imaging method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Imaging device

    JP2009075398A

  • Imaging apparatus, imaging processing method, and program

    JP2012151706A

  • Electronic apparatus and imaging method

    JP2017069618A

  • Slow-motion video capture based on object tracking

    JP2020522943A

  • Electronic device for taking moving picture by adjusting threshold associated with movement of object in region of interest according to movement of electronic device and method for operating same

    US20190260914A1