CN112019753A - Low power video recording method, apparatus, device and medium - Google Patents
Low power video recording method, apparatus, device and medium Download PDFInfo
- Publication number
- CN112019753A CN112019753A CN202010971078.3A CN202010971078A CN112019753A CN 112019753 A CN112019753 A CN 112019753A CN 202010971078 A CN202010971078 A CN 202010971078A CN 112019753 A CN112019753 A CN 112019753A
- Authority
- CN
- China
- Prior art keywords
- time length
- image sensor
- preset
- driving
- frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/65—Control of camera operation in relation to power supply
- H04N23/651—Control of camera operation in relation to power supply for reducing power consumption by affecting camera operations, e.g. sleep mode, hibernation mode or power off of selective parts of the camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a low-power consumption video recording method, which comprises the following steps: driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state; after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in the second preset time length; the first preset time length and the second preset time length form the current unit time length; and taking the next unit time length as the current unit time length, entering the steps of driving the image sensor to acquire the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met. The invention reduces the power consumption of video recording to the maximum extent and also avoids the problem of uneven brightness of the acquired frame image. Further, a low power video recording apparatus, a low power video recording device, and a storage medium are proposed.
Description
Technical Field
The present invention relates to the field of data recording technologies, and in particular, to a low power consumption video recording method, apparatus, device, and medium.
Background
Currently, in the video recording devices (such as video cameras, central control devices, driving recorders, etc.) on the market, when shooting or monitoring subject matters such as urban scenery, natural scenery, astronomical phenomena, urban life, building manufacturing, biological evolution, etc., long-Time video recording monitoring is required, and this may involve the application of Time latex photo graphics. However, when the time-lapse video recording function is performed, the video sensor of the video recording apparatus must be in a continuous operation state, which results in rapid use of the power consumption of the apparatus. Meanwhile, the image sensor can cause the video recording equipment to generate heat rapidly under the continuous working state, so that the service life of the video recording equipment can be greatly shortened. Therefore, it is very important to improve the existing time-lapse video recording function.
Disclosure of Invention
In view of this, it is necessary to provide a low power consumption video recording method, apparatus, device, and medium that reduce usage power consumption in view of the above-described problems.
A low power video recording method applied to a video recording apparatus, the video recording apparatus comprising: an image sensor, the method comprising:
driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state;
after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in a second preset time length; the first preset time length and the second preset time length form the current unit time length;
and taking the next unit time length as the current unit time length, and entering the steps of driving the image sensor to obtain the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
In one embodiment, the driving the image sensor to obtain a first frame of picture in a current unit duration and driving the image sensor to enter a sleep state includes:
driving the image sensor to acquire a first frame of picture in the current unit time length and then sending the first frame of picture to a main control chip;
and when the main control chip receives the first frame of picture, driving the main control chip to send a sleep instruction to the image sensor so that the image sensor enters a sleep state.
In one embodiment, the driving the image sensor to complete the exposure parameter adjustment within a second preset time period includes:
driving a main control chip to send a working instruction to the image sensor so that the image sensor enters a working state;
driving the image sensor to obtain a current frame of the current frame in the working state, and obtaining the current frame brightness and the standard frame brightness of the current frame;
and calculating the brightness difference value of the brightness of the current frame and the brightness of the standard frame, and adjusting the exposure time length when the next frame is obtained according to the brightness difference value until the brightness difference value is smaller than a preset brightness difference value.
In one embodiment, the second preset time period includes: presetting exposure parameter adjustment duration; after the driving the image sensor to enter the sleep state, the method further comprises:
acquiring the preset exposure parameter adjustment duration of the image sensor;
setting the second preset time length according to the preset exposure parameter adjustment time length; the second preset time length is greater than the exposure parameter adjusting time length;
and determining the first preset time length according to the current unit time length and the second preset time length.
In one embodiment, the second preset time period further includes: a device restart duration; after the driving the image sensor to enter the sleep state, the method further comprises:
acquiring the device restart duration of the image sensor;
the setting of the second preset duration according to the preset exposure parameter adjustment duration includes:
setting the second preset time length according to the preset exposure parameter adjustment time length and the device restarting time length; and the second preset time length is greater than or equal to the sum of the preset exposure parameter adjustment time length and the device restarting time length.
In one embodiment, the step of taking the next unit duration as the current unit duration, driving the image sensor to obtain the first frame of picture in the current unit duration, and driving the image sensor to enter the sleep state until a preset video recording standard is met includes:
and after the image sensor acquires the first frame of picture of a preset video recording duration, determining that the preset video recording standard is met.
In one embodiment, the step of taking the next unit duration as the current unit duration, driving the image sensor to obtain the first frame of picture in the current unit duration, and driving the image sensor to enter the sleep state until a preset video recording standard is met includes:
and when the image perceptron acquires a video recording stopping instruction, determining that the preset video recording standard is met.
A low power video recording apparatus for use in a video recording device, the video recording device comprising: an image sensor, the apparatus comprising:
the dormancy driving module is used for driving the image sensor to acquire a first frame picture in the current unit time length and driving the image sensor to enter a dormancy state;
the exposure parameter adjusting module is used for driving the image sensor to complete exposure parameter adjustment within a second preset time length after the first preset time length within the current unit time length; the first preset time length and the second preset time length form the current unit time length;
and the circulating module is used for taking the next unit time length as the current unit time length, entering the steps of driving the image sensor to acquire the first frame of picture in the current unit time length and driving the image sensor to enter the dormant state until the preset video recording standard is met.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state;
after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in a second preset time length; the first preset time length and the second preset time length form the current unit time length;
and taking the next unit time length as the current unit time length, and entering the steps of driving the image sensor to obtain the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
A low power video recording device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state;
after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in a second preset time length; the first preset time length and the second preset time length form the current unit time length;
and taking the next unit time length as the current unit time length, and entering the steps of driving the image sensor to obtain the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
The invention provides a video storage method, a device, equipment and a medium, and a driving image sensor enters a dormant state after acquiring a first frame picture in the current unit time length, so that the power consumption of video recording is reduced to the maximum extent. And after the first preset duration in the current unit duration, the image sensor is driven to complete exposure parameter adjustment in the second preset duration, so that the problem of uneven brightness of the acquired frame image is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow diagram of a low power video recording method in one embodiment;
FIG. 2 is a power consumption diagram of a conventional video recording method;
FIG. 3 is a power consumption diagram of a low power video recording method;
FIG. 4 is a diagram illustrating an exemplary embodiment of a low power video recording apparatus;
fig. 5 is a block diagram of a low power video recording device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, fig. 1 is a schematic flow chart of a low power consumption video recording method in an embodiment, and the low power consumption video recording method in this embodiment is applied to a video recording device, which may specifically be a digital camera, a car recorder, and other devices. The low power consumption video recording method in the embodiment provides the following steps:
and 102, driving the image sensor to acquire a first frame of picture in the current unit time length, and driving the image sensor to enter a dormant state.
A CIS (CMOS Image Sensor) is generally used for continuously collecting Image sensing signals and sending the collected Image sensing signals to a main control Chip (SOC) for subsequent operations such as encoding and compression.
In this embodiment, each unit duration is set to be 1s, and after the driving image sensor obtains the first frame picture in the current 1s, the driving image sensor sends the first frame picture to the main control chip for subsequent operations such as encoding and compression. When the main control chip receives the first frame of picture, the main control chip is immediately driven to send a sleep instruction to the image sensor, so that the image sensor enters a sleep state as early as possible. This is because when the real-time power consumption of the video sensor is P in the normal operating state, the real-time power consumption in the sleep state (Stand by) is usually only P/10.
The time-lapse video recording function is a function of compressing the process of several minutes, hours or even several days for playing in a video mode in a short time after the video is subjected to frame extraction. In the conventional video recording method, the video sensor needs to continuously acquire frame images (for example, 30 frames per second) at a rated working frame rate. Therefore, as shown in fig. 2, the real-time power consumption of the image sensor is always the working power consumption P, but the actual main control chip only needs to use one frame image in each unit time length. Therefore, a large amount of power consumption is wasted in the acquisition process of the frame picture. As shown in fig. 3, in this embodiment, the image sensor is driven to enter the sleep state immediately after the first frame of picture in the current unit duration is acquired, so that the power consumption of video recording can be reduced to a greater extent.
And step 104, after the first preset duration in the current unit duration, driving the image sensor to complete exposure parameter adjustment in the second preset duration.
The exposure parameter adjustment refers to adjustment of exposure duration of a frame. Because the image sensor in this embodiment does not adopt the conventional "continuous operation" mode, but the image sensor is in the sleep state for as long as possible in the current unit time, and after the image sensor is switched back to the operating state from the sleep state, the image sensor cannot instantly know the correct exposure time setting value. Therefore, under the condition that the exposure duration is not adjusted, the exposure durations of the first frame pictures in different unit durations are different, which causes different brightness of the first frame picture and further causes the problem that the finally formed video image is bright and dark when appearing. This problem is therefore solved in the present embodiment by exposure parameter adjustment.
In one embodiment, the exposure parameter adjustment is implemented by the following steps: first, the main control chip is driven to send a work instruction to the image sensor, so that the image sensor is adjusted from a sleep state to a work state, because the exposure parameter adjustment can only be completed in the work state. Further, the image sensor is driven to obtain a current frame image of the current frame in the current unit time length under the working state, and the current frame image brightness of the current frame image is calculated through an image brightness calculation formula. And meanwhile, acquiring the brightness of a standard picture, wherein the brightness of the standard picture can be the picture brightness of the first frame picture in the current unit time length or a preset picture brightness. Calculating the brightness difference value of the current frame brightness and the standard frame brightness, and adjusting the exposure time length when obtaining the next frame of frame according to the brightness difference value, namely when the current frame brightness is smaller than the standard frame brightness, increasing the exposure time length when obtaining the next frame of frame; and when the brightness of the current frame is greater than that of the standard frame, reducing the exposure time for obtaining the next frame until the brightness difference is less than the preset brightness difference. In this embodiment, the exposure duration may be adjusted proportionally according to the magnitude of the brightness difference or adjusted by increasing/decreasing the fixed exposure duration.
In this embodiment, it is necessary to ensure that the exposure parameter adjustment is completed before the current unit duration is finished, otherwise, an over-time frame missing situation may occur. In addition, it is also necessary to ensure that the video sensor is in a dormant state for as long as possible within the current unit time length, thereby reducing the power consumption of video recording to the maximum extent. Therefore, the setting of the first preset duration and the second preset duration is particularly important, and as shown in fig. 3, the optimal duration setting mode is obtained when the sum of the first preset duration T1 and the second preset duration T2 is equal to the current unit duration.
In one embodiment, a preset exposure parameter adjustment duration of the image sensor is first obtained, wherein the preset exposure parameter adjustment duration is determined by the exposure parameter adjustment duration and the exposure parameter adjustment times of each frame. For example, when the original operating frame rate of the image sensor is 30 frames per second, the exposure parameter adjustment duration of each frame is 1/30s, and the number of exposure parameter adjustments is usually set to be at least 3 times, so the exposure parameter adjustment duration is set to be 100 ms. Further, a second preset duration is set according to the preset exposure parameter adjustment duration, wherein the second preset duration is required to be slightly longer than the exposure parameter adjustment duration, so as to ensure that the exposure parameter adjustment can be successfully completed, for example, the second preset duration is set to 105 ms. And finally, determining a first preset time length according to the current unit time length and a second preset time length, namely setting the first preset time length to 895 ms.
In another embodiment, in addition to obtaining the preset exposure parameter adjustment duration of the image sensor, a device restart duration of the image sensor should also be obtained. The device restart duration refers to a switching adjustment duration of the image sensor between the sleep state and the operating state, and is a diagonal line region between the sleep state and the operating state in the drawing, as shown in fig. 3. Further, a second preset duration is set according to the preset exposure parameter adjustment duration and the device restart duration, wherein the second preset duration is required to be greater than or equal to the sum of the preset exposure parameter adjustment duration and the device restart duration, for example, the second preset duration is set to 110 ms.
In this step, on the premise of reasonably setting the first preset duration and the second preset duration, the power consumption of video recording can be reduced to the greatest extent, and under the calculation analysis of the actual power consumption calculation model, the power consumption of video recording can be saved by more than 70% compared with that of the conventional method.
And step 106, taking the next unit time length as the current unit time length, entering the steps of driving the image sensor to acquire the first frame of picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
After the video recording of the current unit duration is performed, the next unit duration is taken as the current unit duration, and the step 102 and the step 104 are repeatedly performed until the preset video recording standard is met. The preset video recording standard comprises the steps that after the image sensor acquires a first frame of picture of a preset video recording duration (for example, 1 hour), the preset video recording standard is determined to be met; and determining that the preset video recording standard is met when the video perceptron acquires a video recording stopping instruction.
According to the low-power-consumption video recording method, the image sensor is driven to enter the dormant state after the first frame of picture in the current unit duration is acquired, so that the power consumption of video recording is reduced to the maximum extent. And after the first preset duration in the current unit duration, the image sensor is driven to complete exposure parameter adjustment in the second preset duration, so that the problem of uneven brightness of the acquired frame image is avoided.
In one embodiment, as shown in fig. 4, a low power video recording apparatus is proposed, the apparatus comprising:
a sleep driving module 402, configured to drive the image sensor to obtain a first frame of picture in a current unit duration, and drive the image sensor to enter a sleep state;
an exposure parameter adjusting module 404, configured to drive the image sensor to complete exposure parameter adjustment within a second preset duration after a first preset duration within a current unit duration; the first preset time length and the second preset time length form the current unit time length;
and the loop module 406 is configured to use the next unit duration as the current unit duration, and perform the steps of driving the image sensor to obtain the first frame of picture in the current unit duration and driving the image sensor to enter the sleep state until the preset video recording standard is met.
The low-power-consumption video recording device drives the image sensor to enter the dormant state after acquiring the first frame of picture in the current unit duration, so that the power consumption of video recording is reduced to the maximum extent. And after the first preset duration in the current unit duration, the image sensor is driven to complete exposure parameter adjustment in the second preset duration, so that the problem of uneven brightness of the acquired frame image is avoided.
In an embodiment, the sleep driving module 402 is further specifically configured to: the driving image sensor sends a first frame picture to a main control chip after acquiring the first frame picture in the current unit time length; when the main control chip receives the first frame of picture, the main control chip is driven to send a sleep instruction to the image sensor, so that the image sensor enters a sleep state.
In an embodiment, the exposure parameter adjusting module 404 is further specifically configured to: driving a main control chip to send a working instruction to an image sensor so that the image sensor enters a working state; driving an image sensor to obtain a current frame of the current frame in a working state, and obtaining the current frame brightness and the standard frame brightness of the current frame; and calculating the brightness difference value of the brightness of the current frame and the brightness of the standard frame, and adjusting the exposure time length when the next frame is obtained according to the brightness difference value until the brightness difference value is smaller than the preset brightness difference value.
In one embodiment, the second preset duration comprises: presetting exposure parameter adjustment duration; the low-power video recording device further comprises a duration setting module for: acquiring preset exposure parameter adjustment duration of an image sensor; setting a second preset time length according to the preset exposure parameter adjustment time length; the second preset time length is longer than the exposure parameter adjusting time length; and determining a first preset time length according to the current unit time length and a second preset time length.
In one embodiment, the second preset duration further comprises: a device restart duration; the duration setting module is further specifically configured to: acquiring the device restart duration of the image sensor; setting a second preset time length according to the preset exposure parameter adjustment time length and the device restarting time length; and the second preset time length is greater than or equal to the sum of the preset exposure parameter adjustment time length and the device restarting time length.
In an embodiment, the loop module 406 is further specifically configured to: and when the image sensor acquires the first frame of picture with the preset video recording duration, determining that the preset video recording standard is met.
In an embodiment, the loop module 406 is further specifically configured to: and when the image perceptron acquires a video recording stopping instruction, determining that the preset video recording standard is met.
Fig. 5 shows an internal structural diagram of a low power consumption video recording apparatus in one embodiment. As shown in fig. 5, the low power video recording apparatus includes a processor, a memory, and a network interface connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the low power video recording apparatus stores an operating system and may further store a computer program that, when executed by the processor, causes the processor to implement the low power video recording method. The internal memory may also have a computer program stored therein, which when executed by the processor, causes the processor to perform a low power video recording method. It will be understood by those skilled in the art that the structure shown in fig. 5 is a block diagram of only a part of the structure related to the present application, and does not constitute a limitation to the low power video recording apparatus to which the present application is applied, and a specific low power video recording apparatus may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
A low power video recording device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program: driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state; after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in the second preset time length; the first preset time length and the second preset time length form the current unit time length; and taking the next unit time length as the current unit time length, entering the steps of driving the image sensor to acquire the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
In one embodiment, the driving the image sensor to obtain the first frame of picture in the current unit duration and the driving the image sensor to enter the sleep state includes: the driving image sensor sends a first frame picture to a main control chip after acquiring the first frame picture in the current unit time length; when the main control chip receives the first frame of picture, the main control chip is driven to send a sleep instruction to the image sensor, so that the image sensor enters a sleep state.
In one embodiment, the driving the image sensor to complete the exposure parameter adjustment within the second predetermined time period includes: driving a main control chip to send a working instruction to an image sensor so that the image sensor enters a working state; driving an image sensor to obtain a current frame of the current frame in a working state, and obtaining the current frame brightness and the standard frame brightness of the current frame; and calculating the brightness difference value of the brightness of the current frame and the brightness of the standard frame, and adjusting the exposure time length when the next frame is obtained according to the brightness difference value until the brightness difference value is smaller than the preset brightness difference value.
In one embodiment, the second preset duration comprises: presetting exposure parameter adjustment duration; after driving the image sensor to enter the sleep state, the method further comprises: acquiring preset exposure parameter adjustment duration of an image sensor; setting a second preset time length according to the preset exposure parameter adjustment time length; the second preset time length is longer than the exposure parameter adjusting time length; and determining a first preset time length according to the current unit time length and a second preset time length.
In one embodiment, the second preset duration further comprises: a device restart duration; after driving the image sensor to enter the sleep state, the method further comprises: acquiring the device restart duration of the image sensor; setting a second preset time length according to the preset exposure parameter adjustment time length, wherein the second preset time length comprises the following steps: setting a second preset time length according to the preset exposure parameter adjustment time length and the device restarting time length; and the second preset time length is greater than or equal to the sum of the preset exposure parameter adjustment time length and the device restarting time length.
In one embodiment, the step of driving the image sensor to acquire a first frame of picture in the current unit duration and driving the image sensor to enter the sleep state until a preset video recording standard is met includes: and when the image sensor acquires the first frame of picture with the preset video recording duration, determining that the preset video recording standard is met.
In one embodiment, the step of driving the image sensor to acquire a first frame of picture in the current unit duration and driving the image sensor to enter the sleep state until a preset video recording standard is met includes: and when the image perceptron acquires a video recording stopping instruction, determining that the preset video recording standard is met.
A computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of: driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state; after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in the second preset time length; the first preset time length and the second preset time length form the current unit time length; and taking the next unit time length as the current unit time length, entering the steps of driving the image sensor to acquire the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
In one embodiment, the driving the image sensor to obtain the first frame of picture in the current unit duration and the driving the image sensor to enter the sleep state includes: the driving image sensor sends a first frame picture to a main control chip after acquiring the first frame picture in the current unit time length; when the main control chip receives the first frame of picture, the main control chip is driven to send a sleep instruction to the image sensor, so that the image sensor enters a sleep state.
In one embodiment, the driving the image sensor to complete the exposure parameter adjustment within the second predetermined time period includes: driving a main control chip to send a working instruction to an image sensor so that the image sensor enters a working state; driving an image sensor to obtain a current frame of the current frame in a working state, and obtaining the current frame brightness and the standard frame brightness of the current frame; and calculating the brightness difference value of the brightness of the current frame and the brightness of the standard frame, and adjusting the exposure time length when the next frame is obtained according to the brightness difference value until the brightness difference value is smaller than the preset brightness difference value.
In one embodiment, the second preset duration comprises: presetting exposure parameter adjustment duration; after driving the image sensor to enter the sleep state, the method further comprises: acquiring preset exposure parameter adjustment duration of an image sensor; setting a second preset time length according to the preset exposure parameter adjustment time length; the second preset time length is longer than the exposure parameter adjusting time length; and determining a first preset time length according to the current unit time length and a second preset time length.
In one embodiment, the second preset duration further comprises: a device restart duration; after driving the image sensor to enter the sleep state, the method further comprises: acquiring the device restart duration of the image sensor; setting a second preset time length according to the preset exposure parameter adjustment time length, wherein the second preset time length comprises the following steps: setting a second preset time length according to the preset exposure parameter adjustment time length and the device restarting time length; and the second preset time length is greater than or equal to the sum of the preset exposure parameter adjustment time length and the device restarting time length.
In one embodiment, the step of driving the image sensor to acquire a first frame of picture in the current unit duration and driving the image sensor to enter the sleep state until a preset video recording standard is met includes: and when the image sensor acquires the first frame of picture with the preset video recording duration, determining that the preset video recording standard is met.
In one embodiment, the step of driving the image sensor to acquire a first frame of picture in the current unit duration and driving the image sensor to enter the sleep state until a preset video recording standard is met includes: and when the image perceptron acquires a video recording stopping instruction, determining that the preset video recording standard is met.
It should be noted that the low power consumption video recording method, apparatus, device and computer readable storage medium described above belong to a general inventive concept, and the contents in the embodiments of the low power consumption video recording method, apparatus, device and computer readable storage medium may be mutually applicable.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A low power video recording method, applied to a video recording apparatus, the video recording apparatus comprising: an image sensor, the method comprising:
driving the image sensor to obtain a first frame picture in the current unit time length and driving the image sensor to enter a dormant state;
after the first preset time length in the current unit time length, driving the image sensor to complete exposure parameter adjustment in a second preset time length; the first preset time length and the second preset time length form the current unit time length;
and taking the next unit time length as the current unit time length, and entering the steps of driving the image sensor to obtain the first frame picture in the current unit time length and driving the image sensor to enter a dormant state until the preset video recording standard is met.
2. The method of claim 1, wherein the driving the image sensor to obtain a first frame of picture in a current unit time duration and the driving the image sensor to enter a sleep state comprises:
driving the image sensor to acquire a first frame of picture in the current unit time length and then sending the first frame of picture to a main control chip;
and when the main control chip receives the first frame of picture, driving the main control chip to send a sleep instruction to the image sensor so that the image sensor enters a sleep state.
3. The method of claim 1, wherein the driving the image sensor to complete the exposure parameter adjustment within a second predetermined time period comprises:
driving a main control chip to send a working instruction to the image sensor so that the image sensor enters a working state;
driving the image sensor to obtain a current frame of the current frame in the working state, and obtaining the current frame brightness and the standard frame brightness of the current frame;
and calculating the brightness difference value of the brightness of the current frame and the brightness of the standard frame, and adjusting the exposure time length when the next frame is obtained according to the brightness difference value until the brightness difference value is smaller than a preset brightness difference value.
4. The method of claim 1, wherein the second preset duration comprises: presetting exposure parameter adjustment duration; after the driving the image sensor to enter the sleep state, the method further comprises:
acquiring the preset exposure parameter adjustment duration of the image sensor;
setting the second preset time length according to the preset exposure parameter adjustment time length; the second preset time length is greater than the exposure parameter adjusting time length;
and determining the first preset time length according to the current unit time length and the second preset time length.
5. The method of claim 4, wherein the second preset duration further comprises: a device restart duration; after the driving the image sensor to enter the sleep state, the method further comprises:
acquiring the device restart duration of the image sensor;
the setting of the second preset duration according to the preset exposure parameter adjustment duration includes:
setting the second preset time length according to the preset exposure parameter adjustment time length and the device restarting time length; and the second preset time length is greater than or equal to the sum of the preset exposure parameter adjustment time length and the device restarting time length.
6. The method according to claim 1, wherein the step of taking the next unit duration as the current unit duration, entering the step of driving the video sensor to acquire the first frame of picture in the current unit duration, and driving the video sensor to enter the sleep state until a preset video recording standard is met comprises:
and after the image sensor acquires the first frame of picture of a preset video recording duration, determining that the preset video recording standard is met.
7. The method according to claim 1, wherein the step of taking the next unit duration as the current unit duration, entering the step of driving the video sensor to acquire the first frame of picture in the current unit duration, and driving the video sensor to enter the sleep state until a preset video recording standard is met comprises:
and when the image perceptron acquires a video recording stopping instruction, determining that the preset video recording standard is met.
8. A low power video recording apparatus, for use in a video recording device, the video recording device comprising: an image sensor, the apparatus comprising:
the dormancy driving module is used for driving the image sensor to acquire a first frame picture in the current unit time length and driving the image sensor to enter a dormancy state;
the exposure parameter adjusting module is used for driving the image sensor to complete exposure parameter adjustment within a second preset time length after the first preset time length within the current unit time length; the first preset time length and the second preset time length form the current unit time length;
and the circulating module is used for taking the next unit time length as the current unit time length, entering the steps of driving the image sensor to acquire the first frame of picture in the current unit time length and driving the image sensor to enter the dormant state until the preset video recording standard is met.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. A low power video recording device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010971078.3A CN112019753A (en) | 2020-09-16 | 2020-09-16 | Low power video recording method, apparatus, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010971078.3A CN112019753A (en) | 2020-09-16 | 2020-09-16 | Low power video recording method, apparatus, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112019753A true CN112019753A (en) | 2020-12-01 |
Family
ID=73523094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010971078.3A Pending CN112019753A (en) | 2020-09-16 | 2020-09-16 | Low power video recording method, apparatus, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112019753A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040212678A1 (en) * | 2003-04-25 | 2004-10-28 | Cooper Peter David | Low power motion detection system |
US20060210262A1 (en) * | 2005-03-18 | 2006-09-21 | Olympus Corporation | Image recording apparatus for microscopes |
CN203645743U (en) * | 2013-10-22 | 2014-06-11 | 彭少君 | Low speed shooting digital equipment |
US20170214837A1 (en) * | 2016-01-26 | 2017-07-27 | Canon Kabushiki Kaisha | Imaging apparatus capable of performing intermittent image capturing operation, method for controlling the same, and storage medium |
CN107566737A (en) * | 2017-10-10 | 2018-01-09 | 上海小蚁科技有限公司 | Be delayed camera control method and device, readable storage medium storing program for executing, camera |
-
2020
- 2020-09-16 CN CN202010971078.3A patent/CN112019753A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040212678A1 (en) * | 2003-04-25 | 2004-10-28 | Cooper Peter David | Low power motion detection system |
US20060210262A1 (en) * | 2005-03-18 | 2006-09-21 | Olympus Corporation | Image recording apparatus for microscopes |
CN203645743U (en) * | 2013-10-22 | 2014-06-11 | 彭少君 | Low speed shooting digital equipment |
US20170214837A1 (en) * | 2016-01-26 | 2017-07-27 | Canon Kabushiki Kaisha | Imaging apparatus capable of performing intermittent image capturing operation, method for controlling the same, and storage medium |
CN107566737A (en) * | 2017-10-10 | 2018-01-09 | 上海小蚁科技有限公司 | Be delayed camera control method and device, readable storage medium storing program for executing, camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3694203B1 (en) | Method and device for obtaining exposure compensation value of high-dynamic-range image | |
CN110225248B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
US9973702B2 (en) | Terminal, and apparatus and method for previewing an image | |
CN105578068B (en) | A kind of generation method of high dynamic range images, device and mobile terminal | |
KR20200017475A (en) | Adjustment method, terminal device and non-transitory computer readable storage medium for automatic exposure control of the region of interest | |
CN108401116B (en) | Camera mode switching optimization method and device, computer equipment and storage medium | |
US10032482B2 (en) | Moving image generating apparatus, moving image generating method and storage medium | |
CN110881108B (en) | Image processing method and image processing apparatus | |
US10623689B2 (en) | Time-lapse photographing control method and apparatus, readable storage medium, and camera | |
CN115278069A (en) | Image processing method and device, computer readable storage medium and terminal | |
CN112019753A (en) | Low power video recording method, apparatus, device and medium | |
CN110312074A (en) | Image-pickup method and electronic equipment | |
US20130155286A1 (en) | Electronic camera | |
CN116320714A (en) | Image acquisition method, apparatus, device, storage medium, and program product | |
CN115429218A (en) | Method for acquiring fundus images and related product | |
CN111835992B (en) | Brightness adjusting method of network camera and related device | |
CN113935352A (en) | Method, device and equipment for scanning and decoding riding two-dimensional code and storage medium | |
CN112218008B (en) | Device control method, device, storage medium and electronic device | |
CN116847189A (en) | Image acquisition method, device and equipment | |
CN115278076B (en) | Method, device, equipment and medium for intelligently switching day and night modes | |
JPH11331744A (en) | Electronic camera | |
CN114040125B (en) | Synchronous exposure control method and system for coaxial line separated camera | |
CN117429028B (en) | Lubrication control method, device and system of injection molding machine | |
US12096130B2 (en) | Image capturing apparatus, information processing apparatus, control method of information processing apparatus, and storage medium | |
CN116074937B (en) | Intelligent field management method and management platform based on 5G network technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201201 |