Shooting method, device and system, storage medium and computer program product
By obtaining the motion parameters of the target object and dynamically adjusting the frame rate, the clarity and smoothness issues of the shooting equipment at high and low frame rates are solved, and efficient, clear and smooth video shooting is achieved.
Patent Information
- Application Number
- CN202410257743.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2025-09-09
AI Technical Summary
When existing shooting equipment shoots moving targets, high frame rates lead to increased power consumption, while low frame rates lead to loss of motion information, making it impossible to simultaneously guarantee video clarity and smoothness.
By obtaining the motion parameters of the target object, determining the corresponding target frame rate, and adjusting the preset frame rate to the target frame rate for shooting, the dynamic vision sensor DVS event camera is used to obtain asynchronous events and inertial data, and the frame rate is dynamically adjusted to adapt to the target motion.
It improves the clarity and smoothness of video shooting, reduces power consumption, and fully captures target motion information.
Smart Images

Figure CN120614532A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image processing technology, and in particular to a shooting method, device, system, storage medium, and computer program product. Background Art
[0002] Frame rate indicates the frequency of video frames captured by a camera. Frame rate is measured in frames per second (FPS). The higher the frame rate, the smoother the video appears to the human eye. Conversely, the lower the frame rate, the more severe the video's perceived stuttering.
[0003] At present, under normal circumstances, shooting equipment will use a fixed frame rate to shoot the target and collect video. However, during the shooting process, if a high frame rate is used to shoot a target object with a slower movement speed, more redundant images will be collected, increasing the power consumption of the shooting equipment. Alternatively, if a low frame rate is used to shoot a target object with high-speed movement, it will not be possible to fully capture the target's motion information, resulting in the target's movement in the collected video being unsmooth. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides a shooting method, device, system, storage medium and computer program product.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a shooting method, comprising obtaining motion parameters of a target object when shooting the target object at a preset frame rate;
[0006] Determining a target frame rate corresponding to the motion parameters;
[0007] The preset frame rate is adjusted to the target frame rate, and the video is shot at the target frame rate. Optionally, the motion parameter includes a relative motion speed of the target object relative to the terminal; and determining the target frame rate corresponding to the motion parameter includes:
[0008] Determining a target speed range corresponding to the relative motion speed from a plurality of preset speed ranges;
[0009] The target frame rate corresponding to the target speed range is determined from a plurality of preset frame rates through a preset corresponding relationship, wherein the preset corresponding relationship includes a corresponding relationship between the plurality of preset speed ranges and preset frame rates.
[0010] Optionally, the terminal includes a first camera and a second camera, and when shooting the target object at a preset frame rate, obtaining the motion parameters of the target object includes:
[0011] In a case where the first camera shoots the target object using a preset frame rate, the first camera is used to obtain the motion parameters determined by the second camera.
[0012] Optionally, when the first camera shoots the target object at a preset frame rate, the first camera obtaining the motion parameters determined by the second camera includes:
[0013] Obtaining an asynchronous event determined by the second camera;
[0014] According to the asynchronous event output by the second camera, a motion parameter of a target object in the asynchronous event is determined, where the motion parameter is used to represent a relative motion speed between the target object and the second camera.
[0015] Optionally, the determining, according to the asynchronous event output by the second camera, a motion parameter of a target object in the asynchronous event includes:
[0016] Acquire inertial data corresponding to the second camera;
[0017] When the event duration corresponding to the asynchronous event is greater than or equal to a preset time threshold, the motion parameter of the target object in the asynchronous event is determined according to the event speed corresponding to the asynchronous event and the inertia data.
[0018] Optionally, the method further includes:
[0019] In response to the motion stop instruction sent by the second camera, the target frame rate is switched to the preset frame rate.
[0020] Optionally, the second camera comprises a dynamic vision sensor DVS event camera.
[0021] According to a second aspect of an embodiment of the present disclosure, there is provided a photographing device, including:
[0022] an acquisition module, configured to acquire motion parameters of the target object when shooting the target object at a preset frame rate;
[0023] a determination module, configured to determine a target frame rate corresponding to the motion parameter;
[0024] The shooting module is configured to adjust the preset frame rate to the target frame rate and shoot according to the target frame rate.
[0025] Optionally, the motion parameter includes a relative motion speed of the target object relative to the terminal; and the determining module includes:
[0026] A first determining submodule is configured to determine a target speed range corresponding to the relative motion speed from a plurality of preset speed ranges;
[0027] The second determining submodule is configured to determine the target frame rate corresponding to the target speed range from a plurality of preset frame rates through a preset correspondence relationship, wherein the preset correspondence relationship includes a correspondence relationship between the plurality of preset speed ranges and preset frame rates.
[0028] Optionally, the terminal includes a first camera and a second camera, and the acquisition module is configured to use the first camera to acquire the motion parameters determined by the second camera when the first camera shoots the target object at a preset frame rate.
[0029] Optionally, the acquisition module includes:
[0030] an acquisition submodule, configured to acquire an asynchronous event determined by the second camera;
[0031] The third determining submodule is configured to determine, based on the asynchronous event output by the second camera, a motion parameter of the target object in the asynchronous event, where the motion parameter is used to represent a relative motion speed between the target object and the second camera.
[0032] Optionally, the third determination submodule is configured to obtain inertial data corresponding to the second camera; when the event duration corresponding to the asynchronous event is greater than or equal to a preset time threshold, determine the motion parameters of the target object in the asynchronous event based on the event speed corresponding to the asynchronous event and the inertial data.
[0033] Optionally, the method further includes:
[0034] The switching module is configured to switch the target frame rate to the preset frame rate in response to a motion stop instruction sent by the second camera.
[0035] Optionally, the second camera comprises a dynamic vision sensor DVS event camera.
[0036] According to a third aspect of an embodiment of the present disclosure, a shooting system is provided. The video shooting system includes a second camera connected to a first camera.
[0037] The second camera is used to determine whether an asynchronous event exists in the target object photographed by the first camera;
[0038] The first camera is used to obtain motion parameters of the target object when shooting the target object at a preset frame rate; determine a target frame rate corresponding to the motion parameters; adjust the preset frame rate to the target frame rate, and shoot according to the target frame rate.
[0039] According to a third aspect of an embodiment of the present disclosure, there is provided a video shooting system, the video shooting system comprising a second camera connected to a first camera;
[0040] The second camera is used to determine whether an asynchronous event exists in the target object photographed by the first camera;
[0041] The first camera is used to obtain motion parameters of the target object when shooting the target object at a preset frame rate; determine a target frame rate corresponding to the motion parameters; adjust the preset frame rate to the target frame rate, and shoot according to the target frame rate.
[0042] According to a fourth aspect of the embodiments of the present disclosure, there is provided a photographing device, including:
[0043] processor;
[0044] a memory for storing processor-executable instructions;
[0045] The processor is configured to execute the computer program in the memory to implement the steps of the shooting method provided in the first aspect of the present disclosure.
[0046] According to a fifth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the shooting method provided in the first aspect of the present disclosure are implemented.
[0047] According to a sixth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of the shooting method provided in the first aspect of the present disclosure.
[0048] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0049] By acquiring the target object's motion parameters while shooting it at a preset frame rate, determining a target frame rate corresponding to the motion parameters, adjusting the preset frame rate to the target frame rate, and shooting at the target frame rate, the clarity of the video can be improved and the smoothness of the video can be ensured.
[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0052] Figure 1 The figure is a flowchart of a shooting method according to an exemplary embodiment.
[0053] Figure 2 is a flowchart showing another shooting method according to an exemplary embodiment.
[0054] Figure 3 is a flowchart showing another shooting method according to an exemplary embodiment.
[0055] Figure 4 is a block diagram of a photographing device according to an exemplary embodiment.
[0056] Figure 5 is based on Figure 4 The illustrated embodiment shows a block diagram of a determination module.
[0057] Figure 6 is based on Figure 4 The illustrated embodiment shows a block diagram of an acquisition module.
[0058] Figure 7 is based on Figure 4 The illustrated embodiment shows a block diagram of another shooting device.
[0059] Figure 8 is a schematic diagram of a shooting system according to an exemplary embodiment.
[0060] Figure 9 The figure is a block diagram showing a photographing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0061] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0062] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.
[0063] Before introducing the specific embodiments of the present disclosure in detail, the application scenarios of the present disclosure are first described. The present disclosure can be applied to video shooting scenarios, wherein the frame rate is used to indicate the frequency of the pictures of the video shot by the shooting device. The unit of the frame rate is the number of frames per second (FPS). The higher the frame rate used by the shooting device when shooting the video, the smoother the video is perceived by the human eye. Conversely, the lower the frame rate used by the shooting device when shooting the video, the more serious the video freeze phenomenon perceived by the human eye.
[0064] At present, under normal circumstances, shooting equipment will use a fixed frame rate to shoot the target and collect video. However, during the shooting process, if a high frame rate is used to shoot a target object with a slower movement speed, more redundant images will be collected, increasing the power consumption of the shooting equipment. Alternatively, if a low frame rate is used to shoot a target object with high-speed movement, it will not be possible to fully capture the target's motion information, resulting in the target's movement in the collected video being unsmooth.
[0065] In related technologies, cameras can re-encode captured video to generate videos at different frame rates. However, the lower frame rate used by cameras results in the loss of motion information, which cannot be compensated for through subsequent encoding, resulting in the continued presence of choppy video.
[0066] To overcome the technical problems existing in the above-mentioned related technologies, the present disclosure provides a shooting method, device, system, storage medium, and computer program product. These methods, while shooting a target object at a preset frame rate, obtain the target object's motion parameters; determine a target frame rate corresponding to the motion parameters; adjust the preset frame rate to the target frame rate, and shoot at the target frame rate. This method improves the clarity of video capture and ensures smooth video capture by obtaining the target object's motion parameters and then determining the corresponding target frame rate based on the motion parameters.
[0067] The present disclosure is described below with reference to specific embodiments.
[0068] Figure 1 FIG. 1 is a flow chart showing a shooting method according to an exemplary embodiment. Figure 1 As shown, the method is used in a terminal, which may include a mobile phone, a tablet computer, a laptop computer, a virtual reality (VR) device, an augmented reality (AR) device, a mixed reality (MR) device, an extended reality (ER), a vehicle-mounted camera device, etc. The method includes the following steps.
[0069] In step S11 , when a target object is photographed at a preset frame rate, motion parameters of the target object are obtained.
[0070] The frame rate is used to indicate the frequency at which a shooting device shoots video images.
[0071] In this step, the terminal may capture the target object using a preset frame rate. The preset frame rate may be a user-preset frame rate that is neither too high to affect the power consumption of the terminal's camera nor too low to fully capture the target's motion information. Accordingly, a relatively intermediate frame rate value is selected. The terminal may then obtain the motion parameters of the captured target object while capturing the target object using the preset frame rate.
[0072] In step S12, a target frame rate corresponding to the motion parameter is determined.
[0073] The motion parameter may be used to indicate the speed of the target object's motion.
[0074] In this step, after obtaining the motion parameter, the terminal can first determine the specific value of the motion parameter, and then determine the speed of the target object's movement based on the value of the motion parameter. When it is determined that the target object is moving faster, the corresponding preset frame rate with a higher value can be used as the target frame rate, or when it is determined that the target object is moving slower, the corresponding preset frame rate with a smaller value can be used as the target frame rate.
[0075] In step S13, the preset frame rate is adjusted to the target frame rate, and shooting is performed according to the target frame rate.
[0076] The above technical solution obtains the target object's motion parameters while shooting it at a preset frame rate; determines the target frame rate corresponding to the motion parameters; adjusts the preset frame rate to the target frame rate, and shoots at the target frame rate. This improves the clarity of video capture and ensures smooth video recording by obtaining the target object's motion parameters and then determining the target frame rate based on the motion parameters.
[0077] In some embodiments, the motion parameter includes the relative motion speed of the target object relative to the terminal; Figure 2 As shown, the above step S12 may include the following steps.
[0078] In step S121 , a target speed range corresponding to the relative motion speed is determined from a plurality of preset speed ranges.
[0079] In this step, a plurality of preset speed ranges may be pre-set first, and then the speed range in which the relative motion speed of the target object relative to the terminal is located is determined, and the speed range is used as the target speed range.
[0080] In step S122, the target frame rate corresponding to the target speed range is determined from a plurality of preset frame rates through a preset corresponding relationship.
[0081] The preset corresponding relationship includes a corresponding relationship between the plurality of preset speed ranges and preset frame rates.
[0082] In one possible implementation, the preset frame rate corresponding to each preset speed range can be determined in advance, wherein the correspondence between the multiple preset speed ranges and the preset frame rates can be that the larger the speed value included in the preset speed range, the larger the corresponding preset frame rate value. In this way, when shooting a target object with high-speed movement, the motion information of the target can be fully captured. In addition, the smaller the speed value included in the preset speed range, the smaller the corresponding preset frame rate value. In this way, when shooting a target object with a slower movement speed, the collection of more redundant images can be avoided, thereby reducing the power consumption of the shooting equipment.
[0083] By adopting the above technical solution, by determining the target frame rate corresponding to the target speed range from multiple preset frame rates, it is possible to achieve the technical effect of improving the clarity of video shooting and ensuring the smoothness of video shooting.
[0084] In some embodiments, the terminal includes a first camera and a second camera. When the first camera shoots the target object at a preset frame rate, the first camera can be used to obtain the motion parameters determined by the second camera.
[0085] Optionally, the asynchronous event determined by the second camera may be first acquired, and then, based on the asynchronous event output by the second camera, the motion parameter of the target object in the asynchronous event may be determined, where the motion parameter is used to represent the relative motion speed between the target object and the second camera.
[0086] Optionally, the second camera comprises a dynamic vision sensor DVS event camera.
[0087] For example, the inertial data corresponding to the second camera can be first obtained; then, when the event duration corresponding to the asynchronous event is greater than or equal to a preset time threshold, the motion parameters of the target object in the asynchronous event are determined based on the event speed corresponding to the asynchronous event and the inertial data.
[0088] In some embodiments, the target frame rate may be switched to the preset frame rate in response to a motion stop instruction sent by the second camera.
[0089] By adopting the above technical solution, the motion parameters of the target object can be obtained, and then the corresponding target frame rate can be determined based on the motion parameters, which can improve the clarity of video shooting and ensure the smoothness of video shooting.
[0090] Figure 3 is a flow chart showing another shooting method according to an exemplary embodiment. Figure 3 As shown, the method is used in a terminal, and the method includes the following steps.
[0091] In step S21 , when the first camera shoots the target object at a preset frame rate, the first camera obtains the asynchronous event determined by the second camera.
[0092] In step S22, inertial data corresponding to the second camera is obtained.
[0093] In step S23 , when the event duration corresponding to the asynchronous event is greater than or equal to the preset time threshold, the motion parameters of the target object in the asynchronous event are determined according to the event speed corresponding to the asynchronous event and the inertia data.
[0094] In step S24, a target speed range corresponding to the relative motion speed is determined from a plurality of preset speed ranges.
[0095] In step S25, the target frame rate corresponding to the target speed range is determined from a plurality of preset frame rates through a preset corresponding relationship, where the preset corresponding relationship includes a corresponding relationship between the plurality of preset speed ranges and preset frame rates.
[0096] In step S26, the preset frame rate is adjusted to the target frame rate, and shooting is performed according to the target frame rate.
[0097] In step S27 , in response to the motion stop instruction sent by the second camera, the target frame rate is switched to the preset frame rate.
[0098] By acquiring the target object's motion parameters while shooting it at a preset frame rate, determining a target frame rate corresponding to the motion parameters, adjusting the preset frame rate to the target frame rate, and shooting at the target frame rate, the clarity of the video can be improved and the smoothness of the video can be ensured.
[0099] Figure 4 FIG. 1 is a block diagram of a photographing device according to an exemplary embodiment. Figure 4 The device includes an acquisition module 301, a determination module 302 and a shooting module 303.
[0100] The acquisition module 301 is configured to acquire motion parameters of a target object when shooting the target object at a preset frame rate;
[0101] A determination module 302 is configured to determine a target frame rate corresponding to the motion parameter;
[0102] The shooting module 303 is configured to adjust the preset frame rate to the target frame rate and shoot according to the target frame rate.
[0103] Figure 5 is based on Figure 4 The embodiment shown is a block diagram of a determination module. Figure 5 , the determining module 302 includes:
[0104] The first determining submodule 3021 is configured to determine a target speed range corresponding to the relative motion speed from a plurality of preset speed ranges;
[0105] The second determining submodule 3022 is configured to determine the target frame rate corresponding to the target speed range from a plurality of preset frame rates through a preset correspondence relationship, where the preset correspondence relationship includes a correspondence relationship between the plurality of preset speed ranges and preset frame rates.
[0106] Optionally, the terminal includes a first camera and a second camera, and the acquisition module 301 is configured to use the first camera to acquire the motion parameters determined by the second camera when the first camera shoots the target object at a preset frame rate.
[0107] Figure 6 is based on Figure 4 The embodiment shown is a block diagram of an acquisition module. Figure 6 , the acquisition module 301 includes:
[0108] An acquisition submodule 3011 is configured to acquire an asynchronous event determined by the second camera;
[0109] The third determining submodule 3012 is configured to determine a motion parameter of a target object in the asynchronous event according to the asynchronous event output by the second camera, where the motion parameter is used to represent a relative motion speed between the target object and the second camera.
[0110] Optionally, the third determination submodule 3012 is configured to obtain inertial data corresponding to the second camera; when the event duration corresponding to the asynchronous event is greater than or equal to a preset time threshold, determine the motion parameters of the target object in the asynchronous event based on the event speed corresponding to the asynchronous event and the inertial data.
[0111] Figure 7 is based on Figure 4The block diagram of another shooting device shown in the embodiment shown is shown. Figure 7 , the method further comprises:
[0112] The switching module 304 is configured to switch the target frame rate to the preset frame rate in response to the motion stop instruction sent by the second camera.
[0113] Optionally, the second camera comprises a dynamic vision sensor DVS event camera.
[0114] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0115] Figure 8 FIG. 1 is a schematic diagram of a shooting system according to an exemplary embodiment. Figure 8 , the video capture system 800 includes a second camera 802 connected to a first camera 801;
[0116] The second camera 802 is configured to determine whether an asynchronous event exists in the target object photographed by the first camera;
[0117] The first camera 801 is configured to obtain motion parameters of a target object when shooting the target object at a preset frame rate; determine a target frame rate corresponding to the motion parameters; adjust the preset frame rate to the target frame rate, and shoot at the target frame rate.
[0118] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the shooting method provided by the present disclosure when the program instructions are executed by a processor.
[0119] Figure 9 1 is a block diagram illustrating a photographing apparatus 900 according to an exemplary embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0120] Reference Figure 9 The apparatus 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output interface m912 , a sensor component 914 , and a communication component 916 .
[0121] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 902 may include one or more modules to facilitate interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
[0122] The memory 904 is configured to store various types of data to support the operations of the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0123] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 900.
[0124] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0125] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), which is configured to receive external audio signals when the device 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0126] The input / output interface 912 provides an interface between the processing component 902 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0127] The sensor assembly 914 includes one or more sensors for providing various aspects of the status assessment of the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900. The sensor assembly 914 can also detect changes in the position of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and temperature changes of the device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0128] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0129] In an exemplary embodiment, the apparatus 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described method.
[0130] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the apparatus 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0131] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0132] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A shooting method, characterized in that: The method is applied to a terminal, and includes: When shooting a target object at a preset frame rate, obtaining motion parameters of the target object; Determining a target frame rate corresponding to the motion parameters; The preset frame rate is adjusted to the target frame rate, and shooting is performed according to the target frame rate.
2. The method according to claim 1, characterized in that The motion parameter includes a relative motion speed of the target object relative to the terminal; and determining a target frame rate corresponding to the motion parameter includes: Determining a target speed range corresponding to the relative motion speed from a plurality of preset speed ranges; The target frame rate corresponding to the target speed range is determined from a plurality of preset frame rates through a preset corresponding relationship, wherein the preset corresponding relationship includes a corresponding relationship between the plurality of preset speed ranges and preset frame rates.
3. The method according to claim 1, characterized in that The terminal includes a first camera and a second camera, and when a target object is photographed at a preset frame rate, obtaining motion parameters of the target object includes: In a case where the first camera shoots the target object using a preset frame rate, the first camera is used to obtain the motion parameters determined by the second camera.
4. The method according to claim 3, characterized in that When the first camera shoots the target object at a preset frame rate, the first camera is used to obtain the motion parameters determined by the second camera, including: Obtaining an asynchronous event determined by the second camera; According to the asynchronous event output by the second camera, a motion parameter of a target object in the asynchronous event is determined, where the motion parameter is used to represent a relative motion speed between the target object and the second camera.
5. The method according to claim 4, characterized in that The determining, according to the asynchronous event output by the second camera, a motion parameter of a target object in the asynchronous event includes: Acquire inertial data corresponding to the second camera; When the event duration corresponding to the asynchronous event is greater than or equal to a preset time threshold, the motion parameter of the target object in the asynchronous event is determined according to the event speed corresponding to the asynchronous event and the inertia data.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In response to the motion stop instruction sent by the second camera, the target frame rate is switched to the preset frame rate.
7. The method according to claim 6, characterized in that The second camera includes a dynamic vision sensor (DVS) event camera.
8. A photographing device, characterized in that: The device comprises: an acquisition module, configured to acquire motion parameters of the target object when shooting the target object at a preset frame rate; a determination module, configured to determine a target frame rate corresponding to the motion parameter; The shooting module is configured to adjust the preset frame rate to the target frame rate and shoot according to the target frame rate.
9. A shooting system, characterized in that: The video capture system includes a second camera connected to the first camera; The second camera is used to determine whether an asynchronous event exists in the target object photographed by the first camera; The first camera is used to obtain motion parameters of the target object when shooting the target object at a preset frame rate; determine a target frame rate corresponding to the motion parameters; adjust the preset frame rate to the target frame rate, and shoot according to the target frame rate.
10. A photographing device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of the method according to any one of claims 1 to 7 when executing.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
12. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.