Control method of camera device, camera device and storage medium

By switching the working mode and determining the fill light status when the camera equipment starts operating during its working cycle, the problem of high power consumption of the camera equipment during long-term shooting is solved, reducing power consumption and extending the shooting time.

CN118233740BActive Publication Date: 2024-08-30HANGZHOU HUACHENG SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410647249.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

Camera equipment consumes a lot of power when shooting for a long time, resulting in a problem of shortened equipment running time.

Method used

By switching the camera device from the first working mode of low power consumption to the second working mode of high power consumption when starting the operation during the working cycle of the camera device, and obtaining the current ambient brightness, the working status and collection mode of the fill light are determined. to reduce unnecessary power consumption.

Benefits of technology

It effectively reduces the power consumption of the camera equipment, extends the shooting time, and at the same time improves the quality and efficiency of image collection when meeting preset event requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118233740B
    Figure CN118233740B
Patent Text Reader

Abstract

The present application discloses a control method of a camera device, a camera device and a storage medium. The method comprises: in response to the start-up operation of the camera device in the current working cycle, switching the camera device from the first working mode to the second working mode, and obtaining the current ambient brightness; wherein the power consumption of the first working mode is lower than the power consumption of the second working mode; obtaining the current scene image; in response to the current scene image meeting the preset event requirements, determining the target working state of the target fill light of the camera device using the current ambient brightness; controlling the target fill light to work in the target working state, and controlling the camera device to use the preset acquisition mode to acquire images, and obtaining at least one frame of the current event image. The above scheme can reduce the power consumption of the camera device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of camera technology, and in particular to a control method for a camera device, a camera device and a storage medium. Background Art

[0002] Currently, there are many camera devices that can shoot, such as mobile phones, video cameras, etc. The camera device can shoot a scene to obtain an image or video. However, when the camera device shoots for a long time, the camera device usually needs to be in a working state to continuously shoot and record to avoid missing important information. Therefore, the current camera device has the problem of high power consumption. Summary of the invention

[0003] The main technical problem solved by the present application is to provide a control method of a camera device, a camera device and a storage medium, which can reduce the power consumption of the camera device.

[0004] In order to solve the above problems, the first aspect of the present application provides a control method for a camera device, the method comprising: in response to the startup operation of the camera device in the current working cycle, switching the camera device from a first working mode to a second working mode, and obtaining the current ambient brightness; wherein the power consumption of the first working mode is lower than the power consumption of the second working mode; obtaining the current scene image; in response to the current scene image meeting the preset event requirements, determining the target working state of the target fill light of the camera device using the current ambient brightness; controlling the target fill light to work in the target working state, and controlling the camera device to adopt a preset acquisition mode to perform image acquisition, and obtain at least one frame of the current event image.

[0005] In order to solve the above-mentioned problems, the second aspect of the present application provides a camera device, which includes an image sensor, a memory and a processor coupled to each other, the image sensor is used to acquire images, the memory stores program data, and the processor is used to execute the program data to implement any step of the control method of the above-mentioned camera device.

[0006] In order to solve the above-mentioned problem, the third aspect of the present application provides a computer-readable storage medium, which stores program data that can be executed by a processor, and the program data is used to implement any step of the control method of the above-mentioned camera device.

[0007] The above scheme switches the camera device from the first working mode to the second working mode in response to the startup operation of the camera device in the current working cycle, and obtains the current ambient brightness; wherein the power consumption of the first working mode is lower than that of the second working mode, and the startup operation can be performed periodically on the camera device, and image acquisition can be performed periodically, which can reduce the power consumption of the camera device. In addition, the current scene image is acquired, and in response to the current scene image meeting the preset event requirements, the target working state of the target fill light of the camera device is determined using the current ambient brightness; the target fill light is controlled to work in the target working state, and the camera device is controlled to use the preset acquisition mode for image acquisition to obtain at least one frame of the current event image. When the current scene image meets the preset event requirements, image acquisition is performed in the preset acquisition mode, and image acquisition can be performed for the preset event requirements, which can reduce unnecessary power consumption of the camera device, and can further reduce the power consumption of the camera device, thereby reducing the power consumption of the camera device for long-term shooting and extending the shooting time of the camera device.

[0008] 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 present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solution in the present application, one or more drawings may be referred to. The following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technical workers in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0010] Figure 1 It is a structural schematic diagram of an embodiment of the camera device of the present application;

[0011] Figure 2 It is a flowchart of an embodiment of a control method of a camera device of the present application;

[0012] Figure 3 This application Figure 2 A schematic diagram of a flow chart of an embodiment of step S12;

[0013] Figure 4 This application Figure 2 A schematic diagram of a flow chart of an embodiment of step S14;

[0014] Figure 5 is a flow chart of another embodiment of the control method of the camera device of the present application;

[0015] Figure 6 It is a structural schematic diagram of an embodiment of a control device for a camera device of the present application;

[0016] Figure 7 is a structural schematic diagram of another embodiment of the camera device of the present application;

[0017] Figure 8 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technical workers in the field without making creative work are within the scope of protection of this application.

[0019] The terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0020] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0021] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, can mean including any one or more elements selected from the set consisting of A, B, and C.

[0022] The present application provides the following embodiments, and each embodiment is described in detail below.

[0023] It is understandable that the control method of the camera device in the present application can be executed by a camera device, and the camera device can be any device with processing capability and camera function, such as a camera, a smart phone, a computer, etc., and the present application does not limit this. In some possible implementations, the control method of the camera device can be implemented by a processor calling program data stored in a memory.

[0024] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of an embodiment of a camera device of the present application. The camera device 100 includes a controller 101, an image sensor 102 and at least one fill light 103. The controller 101, the image sensor 102 and the at least one fill light 103 are coupled to each other.

[0025] The controller 101 may be a chip, a main control, etc., and may be used to control the image sensor 102 and at least one fill light 103. The image sensor 102 may be used to capture images. The at least one fill light 103 may be used to fill light in the shooting environment, so that the image sensor 102 may capture higher quality images in a dark environment.

[0026] In some embodiments, the controller 101 is used to switch the camera device 100 from the first working mode to the second working mode in response to the start-up operation of the camera device 100 in the current working cycle, and obtain the current ambient brightness. The power consumption of the first working mode is lower than the power consumption of the second working mode. The image sensor 102 is used to obtain the current scene image. The controller 101 is used to determine the target working state of at least one fill light 103 of the camera device 100 using the current ambient brightness in response to the current scene image meeting the preset event requirements. The controller 101 is used to control at least one fill light 103 to work in the target working state, and control the image sensor 102 of the camera device 100 to use the preset acquisition mode to acquire images, and obtain at least one frame of the current event image.

[0027] Specifically, the present application provides a control method for a camera device, a camera device, and a storage medium, which can reduce the power consumption of the camera device.

[0028] See also Figure 2 , Figure 2 1 is a flow chart of an embodiment of a control method for a camera device of the present application. The method may include the following steps:

[0029] S11: In response to a startup operation of the camera device in a current working cycle, the camera device is switched from a first working mode to a second working mode, and the current ambient brightness is obtained; wherein the power consumption of the first working mode is lower than the power consumption of the second working mode.

[0030] In some embodiments, the camera device may be started during a working cycle. For example, the camera device may be a device with a camera function, such as a camera, a smart phone, a computer, a driving recorder, etc., and this application does not limit this. This application is described by taking the camera device including a camera as an example.

[0031] The working cycle of the camera device can be set according to a preset cycle. According to the duration of the preset cycle, the current working cycle can be obtained, and the camera device is started during the current working cycle, so that the camera device can be started periodically or intermittently. Exemplarily, the duration of the preset cycle can be 1 second, 2 seconds, or 3 seconds, etc., and this application does not limit this. This application is described below using this implementation as an example.

[0032] In some embodiments, the current working cycle may be set according to a preset trigger condition. For example, when the camera device detects that the current moment satisfies the preset trigger condition, the current moment is determined to be the current working cycle, so that the camera device is started in the current working cycle. For example, the preset trigger condition includes detecting any one of a user's start-up instruction to the camera device, an instruction to obtain an image / video, and an instruction to shoot a target area, and the present application does not limit this.

[0033] In the current working cycle, the camera device can be started in response to the start-up operation of the camera device in the current working cycle, and the camera device can be switched from the first working mode to the second working mode, wherein the power consumption of the first working mode is lower than the power consumption of the second working mode. That is, it is possible to switch from a working mode with lower power consumption to a working mode with normal power consumption or a working mode with higher power consumption. The power consumption of the first working mode and the power consumption of the second working mode are relative, and this application does not limit the specific power consumption of the power consumption of the first working mode and the power consumption of the second working mode.

[0034] In some embodiments, the first working mode is an off mode or a sleep mode, and the second working mode is a preset working mode. The preset working mode may be a normal working mode. In some application scenarios, when the first working mode is the off mode, the startup operation of the camera device may be represented as a cold start operation. When the startup operation performed on the camera device is a cold start operation, the camera device may switch from the off mode to the preset working mode, and the camera device needs to be powered on. In some application scenarios, when the first working mode is the sleep mode, the startup operation of the camera device may be represented as a hot start operation. When the startup operation performed on the camera device is a hot start operation, the camera device may switch from the sleep mode to the preset working mode, and the camera device may start from the sleep state.

[0035] Among them, the hot start operation can be determined by the STR (Suspend to RAM or "Sleep", commonly known as standby, sleep) startup mode. STR startup mode is a power management mode in which all system operations are stopped when the camera device is in a dormant state, but RAM (Random Access Memory, also known as main memory) remains powered and maintains its working content. This startup mode allows the system to quickly return to full power operation when the user needs it, while saving energy when not in operation.

[0036] In some implementations, the camera device switching from the sleep mode or the off mode to the preset working mode can be recorded as Resume, and the camera device switching from the preset working mode to the sleep mode or the off mode can be recorded as Suspend.

[0037] After the camera device is switched from the first working mode to the second working mode, the current environment brightness can be obtained and recorded as EV. The current environment brightness can represent the current brightness information of the environment in which the camera device is located, that is, it can represent the degree of brightness. Among them, the current environment brightness can be a preset environment brightness, such as the environment brightness acquired in the previous working cycle, or the current environment brightness can be obtained by using the light sensitive information acquired by the light sensor of the camera device in the current working cycle. This application does not impose any restrictions on this.

[0038] In some embodiments, a pre-stored preset environment brightness is obtained as the current environment brightness. The preset environment brightness may be acquired during a previous working cycle. Then, the validity of the current environment brightness may be determined according to the type of the startup operation.

[0039] Optionally, in response to a startup operation, the camera device is switched from an off mode to a preset working mode, and the validity of the current ambient brightness is determined to be invalid. The photosensitive information obtained by the light sensor of the camera device is read, and the photosensitive information obtained by the light sensor is used as the current ambient brightness of the current working cycle, which can be recorded as a new EV to execute subsequent steps.

[0040] Optionally, in response to the startup operation, the camera device is switched from the sleep mode to the preset working mode, and the validity of the current ambient brightness is determined to be valid, that is, the current ambient brightness information can be used as the current ambient brightness of the current working cycle to execute subsequent steps.

[0041] In some implementations, in response to the current working cycle being the first working cycle, the photosensitive information acquired by the light sensor is read, and the photosensitive information acquired by the light sensor is used as the current ambient brightness of the current working cycle to execute subsequent steps.

[0042] S12: Acquire the current scene image.

[0043] After starting the camera device, the image sensor of the camera device can be controlled to collect images to obtain the current scene image. For example, the image sensor of the camera device can be controlled to collect images of the target area or target scene to obtain the current scene image corresponding to the target area or target scene.

[0044] In some implementations, the working state of the fill light may be determined according to the current ambient brightness, so that the fill light is turned on during image acquisition by the image sensor to reduce power consumption of the fill light.

[0045] In some embodiments, see Figure 3 , the step S12 of the above embodiment can be further expanded. To obtain the current scene image, this embodiment may include the following steps:

[0046] S121: Determine a first working state of a first fill light of a camera device according to the current ambient brightness.

[0047] Among them, the first fill light is an invisible fill light (such as an infrared fill light, Infrared Light) or a visible fill light (White Light). The infrared fill light or the visible fill light can cooperate with the camera device to capture images and fill the current shooting environment so that the camera device can capture clearer and higher quality images. Among them, the infrared fill light is used to emit invisible light. The infrared fill light can provide lighting fill light when the ambient brightness is insufficient, so that the camera device can capture images in the dark or darker environment. The visible light fill light is used to emit visible light. The visible light fill light can provide lighting fill light when the ambient brightness is insufficient, so that the camera device can capture images in the dark or darker environment.

[0048] The first working state of the first fill light of the camera device can be determined according to the acquired current environment brightness. The first working state can be off or on. When the first working state is on, the first working state also includes the fill light brightness of the first fill light.

[0049] In some embodiments, it is determined whether the current ambient brightness satisfies a preset turn-on condition. The preset turn-on condition includes that the current ambient brightness is lower than a first preset threshold value Threshold. In response to the current ambient brightness satisfying the preset turn-on condition, it is determined that the first working state of the first fill light of the camera device is turned on, and the fill light brightness of the first fill light that needs to be turned on at this time is obtained. The brightness range to which the current ambient brightness belongs can be obtained in a preset fill light table, so that the fill light brightness corresponding to the brightness range is determined as the fill light brightness of the first fill light.

[0050] Optionally, the present application is described by taking the first fill light as an infrared fill light as an example.

[0051] S122: In response to the first working state of the first fill light being turned on, turning on the first fill light at a first time.

[0052] When the first working state of the first fill light is turned on, the first fill light may be turned on in response to the first working state of the first fill light being turned on, and the time for turning on the first fill light is recorded as the first time T1.

[0053] S123: Controlling the image sensor of the camera device to collect images in the first frame rate mode at the second time to obtain a current scene image.

[0054] At the second time T2, the image sensor of the camera device is controlled to perform image acquisition in the first frame rate mode to obtain the current scene image. The first frame rate mode may represent a low frame rate mode or a single frame rate mode. Exemplarily, the acquisition frame rate of the low frame rate mode may be 2 frames or 3 frames, etc., and the acquisition frame rate of the single frame rate mode may be 1 frame.

[0055] In some embodiments, the first fill light is turned on and powered on. The fill light brightness of the first fill light usually takes a while to stabilize. In order to capture a higher quality image of the current scene, the present application controls the image sensor of the camera device to perform image acquisition in the first frame rate mode at the second time T2 to obtain the current scene image. The second time T2 is greater than or equal to the sum of the first time T1 and the preset turn-on time T. The preset turn-on time T is the time it takes to turn on the first fill light to reach a preset stable state condition. The preset stable state condition includes at least one of the fill light brightness of the first fill light reaching stability and the fill light brightness of the first fill light reaching the fill light brightness of the first working state. Exemplarily, the preset turn-on time T can be determined according to the type of the first fill light, production design, etc. For example, if the first fill light is an infrared fill light, its preset turn-on time T can be 1 millisecond to 5 milliseconds, and the present application does not limit this.

[0056] In some implementations, a precision timer of the camera device may be used for timing, and a preset start time T is timed at the first time T1, that is, at the second time T2, the controller triggers the image sensor of the camera device to start exposure. After the image sensor reaches the preset exposure time, the image data of the current scene image is transmitted to the controller, and the transmission is completed after the preset transmission time, and the controller receives the current scene image.

[0057] In some implementations, the camera device acquires the captured current scene image after a preset capture time, wherein the preset capture time is the sum of a preset exposure time and a preset transmission time.

[0058] S124: In response to the first working state of the first fill light being turned on, at a third time, turning off the first fill light.

[0059] If the first working state of the first fill light is turned on, the first fill light may be turned off at a third time T3 in response to the first working state of the first fill light being turned on.

[0060] In some implementations, the third time T3 is greater than or equal to the sum of the second time T2 and a preset acquisition duration, where the preset acquisition duration is the duration for the image sensor to acquire the current scene image.

[0061] In some embodiments, the first fill light of this embodiment is an infrared fill light. The light emitted by the infrared fill light is invisible light, so that when collecting the current scene image, the impact on the target object in the current environment can be reduced. For example, when the current scene image is collected in the periodic current working cycle and the first fill light needs to be turned on, fill light is provided by the invisible light emitted by the first fill light, which can reduce the impact of turning on the first fill light on the target object. In addition, the preset turn-on time corresponding to the infrared fill light is shorter than the preset turn-on time of the visible light fill light. When fill light is needed, turning on the infrared fill light for fill light can reduce the power consumption of collecting the current scene image, improve the quality of the collected current scene image, and reduce the power consumption of the camera device to a certain extent.

[0062] The above scheme determines the first working state of the first fill light of the camera device according to the current ambient brightness, turns on the first fill light at a first time in response to the first working state of the first fill light being turned on, and controls the image sensor of the camera device to perform image acquisition in a first frame rate mode at a second time to obtain the current scene image. A more stable and better quality current scene image can be acquired. In addition, in response to the first working state of the first fill light being turned on, the first fill light is turned off at a third time, so that when the image sensor acquires the current scene image and the current ambient brightness requires turning on the first fill light, the first fill light is turned on, thereby reducing the energy loss caused by unnecessary turning on of the first fill light.

[0063] In some embodiments, after the current scene image is acquired in the above step S12, the following steps may also be performed: the current scene image is detected to obtain a detection result. For example, the detection performed on the current scene image may be at least one of target detection, motion detection, posture detection, etc., to obtain a detection result of the corresponding detection. This application does not impose any restrictions on this. Based on the detection results, determine whether the current scene image meets the preset event requirements; wherein the preset event requirements include at least one of the following: the existence of a preset target, the existence of a preset motion state, and the existence of a preset posture. Preset targets such as movable entities, objects, target objects, etc., preset motion states such as the degree of motion change of the picture or preset target movement is greater than the preset degree of change, and preset postures such as the preset target is a preset posture, such as a moving posture, an abnormal posture, an abnormal behavior, etc., are not limited in this application.

[0064] In some application scenarios, the detection of the current scene image and the preset event requirements can be determined according to the specific application scenarios. For example, the preset event referred to in the preset event requirement is an event whose importance to the user is higher than the preset importance, an event whose screen change degree is greater than the preset screen change degree, etc. This application does not impose any restrictions on this.

[0065] Continue reading Figure 2After the above step S12, the following steps may also be performed:

[0066] S13: In response to the current scene image satisfying a preset event requirement, a target working state of a target fill light of the camera device is determined using the current ambient brightness.

[0067] If the current scene image meets the preset event requirement, the target working state of the target fill light of the camera device can be determined using the current ambient brightness in response to the current scene image meeting the preset event requirement.

[0068] In some embodiments, the target fill light is an invisible fill light (such as an infrared fill light) or a visible fill light. The implementation process of determining the target working state of the target fill light of the camera device according to the current ambient brightness can refer to the specific implementation process of determining the first working state of the first fill light, which is not repeated here.

[0069] In some embodiments, the current shooting mode is obtained. The current shooting mode includes a first shooting mode or a second shooting mode. Specifically, it can be determined whether the current ambient brightness satisfies a preset shooting condition. In response to the current ambient brightness satisfying the first preset shooting condition, the current shooting mode is determined to be the first shooting mode, or in response to the current ambient brightness satisfying the second preset shooting condition, the current shooting mode is determined to be the second shooting mode. Among them, the first preset shooting condition includes that the current ambient brightness is less than a first brightness threshold, and the second preset shooting condition includes that the current ambient brightness is greater than a second brightness threshold, and the first brightness threshold is less than or equal to the second brightness threshold.

[0070] Then, the fill light corresponding to the current shooting mode is used as the target fill light; wherein the fill light corresponding to the first shooting mode is an infrared fill light, and the fill light corresponding to the second shooting mode is a visible light fill light. According to the current ambient brightness, the target working state of the target fill light is determined. That is, it is determined whether the target fill light needs to be turned on, and the target brightness that needs to be turned on.

[0071] S14: Control the target fill light to work in the target working state, and control the camera device to use a preset acquisition mode to acquire images, so as to obtain at least one frame of current event image.

[0072] The target fill light is controlled to work in the target working state. The target fill light is an infrared fill light or a visible fill light. For example, when the target working state is on, in response to the current shooting mode being the first shooting mode and the target fill light being the infrared fill light, the infrared fill light is turned on. For example, in response to the current shooting mode being the second shooting mode and the target fill light being the visible fill light, the visible fill light is turned on.

[0073] The controller of the camera device can control the camera device to use a preset acquisition mode to acquire images, and obtain at least one frame of the current event image. The preset acquisition mode can be a second frame rate mode, and the acquisition frame rate of the second frame rate mode is higher than the acquisition frame rate of the first frame rate mode. This application does not limit this.

[0074] In some embodiments, see Figure 4 The step S14 of the above embodiment can be further expanded. The camera device is controlled to use a preset acquisition mode to acquire images to obtain at least one frame of the current event image. This embodiment may include the following steps:

[0075] S141: Setting a preset acquisition mode of an image sensor of a camera device to a second frame rate mode, wherein an acquisition frame rate of the second frame rate mode is higher than an acquisition frame rate of the first frame rate mode.

[0076] The preset acquisition mode of the image sensor of the camera device is set to a second frame rate mode. The acquisition frame rate of the second frame rate mode is higher than the acquisition frame rate of the first frame rate mode. Exemplarily, the first frame rate mode can be a low frame rate mode or a single frame rate mode. For example, the acquisition frame rate of the first frame rate mode can be 1 frame or 2 frames, that is, 1 frame or 2 frames of images can be acquired. The second frame rate mode can be expressed as a high frame rate mode. For example, the acquisition frame rate of the second frame rate mode can be multiple frames, such as 3 frames or more, that is, multiple frames of images can be acquired.

[0077] S142: Control the image sensor to collect images in a second frame rate mode to obtain at least one frame of current event image.

[0078] The camera device can use the controller to send a control instruction to the image sensor to control the image sensor to collect images in the second frame rate mode to obtain at least one frame of the current event image. That is, the image sensor continuously collects images in the second frame rate mode to obtain at least one frame of the current event image.

[0079] In some embodiments, the camera device may store the captured current scene image and at least one frame of current event image as target images, so that subsequent users can view the captured target images or perform analysis and processing on the captured target images.

[0080] The above scheme switches the camera device from the first working mode to the second working mode in response to the startup operation of the camera device in the current working cycle, and obtains the current ambient brightness; wherein the power consumption of the first working mode is lower than that of the second working mode, and the startup operation can be performed periodically on the camera device, and image acquisition can be performed periodically, which can reduce the power consumption of the camera device. In addition, the current scene image is acquired, and in response to the current scene image meeting the preset event requirements, the target working state of the target fill light of the camera device is determined using the current ambient brightness; the target fill light is controlled to work in the target working state, and the camera device is controlled to use the preset acquisition mode for image acquisition to obtain at least one frame of the current event image. When the current scene image meets the preset event requirements, image acquisition is performed in the preset acquisition mode, and image acquisition can be performed for the preset event requirements, which can reduce unnecessary power consumption of the camera device, and can further reduce the power consumption of the camera device, thereby reducing the power consumption of the camera device for long-term shooting and extending the shooting time of the camera device.

[0081] In some embodiments, after the above step S14, in response to the current event image not meeting the preset event requirements or the continuous acquisition duration reaching the duration of the second frame rate mode, the acquisition of the current event image can be stopped. For example, in response to the target working state of the target fill light being on, turning off the target fill light; setting the acquisition mode of the image sensor of the camera device in the preset acquisition mode to the first frame rate mode; switching the camera device from the second working mode to the first working mode. In other embodiments, when the continuous acquisition duration of the current event image reaches the duration of the second frame rate mode and meets the preset event requirements, the acquisition of the current event image can be stopped or the second frame rate mode can continue to be used to acquire the current event image, and this application does not impose any restrictions on this.

[0082] In some embodiments, for the above steps 11 to S14, in response to the current scene image not meeting the preset event requirements, or in response to the current event image not meeting the preset event requirements, at least one of the following steps can be performed: in response to the target working state of the target fill light being on, turning off the target fill light; setting the acquisition mode of the image sensor of the camera device in the preset acquisition mode to the first frame rate mode; switching the camera device from the second working mode to the first working mode.

[0083] See also Figure 5 , Figure 5 1 is a flow chart of another embodiment of the control method of the camera device of the present application. The method may include the following steps:

[0084] S21: Determine whether the current scene image meets the preset event requirements.

[0085] In some implementations, after step S12 of the above embodiment, step S21 of this embodiment may be performed.

[0086] Optionally, when it is determined that the current scene image meets the preset event requirements, the following step S22 and subsequent steps are executed.

[0087] Optionally, when it is determined that the current scene image does not meet the preset event requirements, if the acquisition mode of the image sensor is not the first frame rate mode at this time, the following step S26 and subsequent steps are executed. If the acquisition mode of the image sensor is the first frame rate mode at this time, the following step S27 and subsequent steps are executed. This application is described by taking this as an example.

[0088] S22: Determine the target working state of the target fill light of the camera device using the current ambient brightness.

[0089] In response to the current scene image satisfying the preset event requirement, the target working state of the target fill light of the camera device is determined using the current ambient brightness.

[0090] S23: Control the target fill light to work in the target working state, and control the camera device to use a preset acquisition mode to acquire images, so as to obtain at least one frame of current event image.

[0091] The specific implementation process of step S22 and step S23 of this embodiment can refer to the specific implementation process of step S13 to step S14 in the above embodiment, which will not be repeated here.

[0092] S24: Determine whether the current event image meets the preset event requirements.

[0093] Optionally, when it is determined that the current event image meets the preset event requirements, the above step S23 and subsequent steps are continued to be executed.

[0094] Optionally, when it is determined that the current event image does not meet the preset event requirements, the following step S25 and subsequent steps are executed.

[0095] S25: In response to the target working state of the target fill light being on, turning off the target fill light.

[0096] If it is determined that the current event image does not meet the preset event requirements, it means that the preset event is over and the current event image can no longer be collected. If the target working state of the current target fill light is on, that is, the target fill light is on, then turn off the target fill light.

[0097] In some implementations, in response to the current scene image not meeting the preset event requirement, or after the current event image not meeting the preset event requirement, at least one of the following steps may be performed:

[0098] S26: Setting the image sensor of the camera device in the preset acquisition mode to a first frame rate mode.

[0099] When the current scene image does not meet the preset event requirements, or in response to the current event image not meeting the preset event requirements, that is, after the preset event ends, the image sensor of the camera device in the preset acquisition mode can be set to the first frame rate mode. For example, the image sensor can be switched from the preset acquisition mode, that is, the second frame rate mode, to the first frame rate mode, which can reduce the power consumption of the image sensor of the camera device.

[0100] In some implementations, when the current scene image does not meet the preset event requirement, if the acquisition mode of the image sensor is the first frame rate mode, step S26 may not be performed.

[0101] S27: Obtaining current photosensitivity information of the light sensor of the camera device and the working cycle time.

[0102] Read the current photosensitive information collected by the light sensor of the camera device. The current photosensitive information can also represent the latest ambient brightness of the current environment. Set the working cycle time. For example, the working cycle time can be determined according to the length of the preset cycle. Among them, the working cycle time is used as the new current working cycle, and the current photosensitive information is used as the current ambient brightness corresponding to the new current working cycle. That is, a new cycle startup operation can be performed on the camera device at the working cycle time, and the current ambient brightness corresponding to the new current working cycle is used as the acquired current ambient brightness to continue to execute the steps of this embodiment.

[0103] S28: Switch the camera device from the second working mode to the first working mode.

[0104] The camera device may be switched from a preset working mode to an off mode or a sleep mode. This embodiment takes the switching of the camera device from a preset working mode to a sleep mode as an example for explanation, which may reduce the power consumption of the camera device.

[0105] The above scheme can periodically perform a startup operation on the camera device, and when the image sensor is acquiring images and the current ambient brightness requires turning on the fill light, the fill light is turned on, and after the image sensor completes image acquisition, the fill light is turned off, thereby reducing the power consumption caused by unnecessary turning on the fill light, and when the current scene image does not meet the preset event requirements, the camera device can be periodically started to shoot, that is, the first frame rate mode is periodically used for shooting, which can reduce the power consumption of continuously using the second frame rate mode, so as to reduce the power consumption of the camera device; in addition, when the current scene image meets the preset event requirements, the image sensor adopts the second frame rate mode for image acquisition, and can acquire the current event image that meets the preset event requirements, which can reduce the power consumption of obtaining the current event image as a whole.

[0106] This application only provides technology. The data required for specific applications shall be based on actual conditions. However, users are reminded that when actually using this technology, the collection and processing of data should comply with laws and regulations related to data and object information protection.

[0107] It is understandable that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic. This application does not limit its execution order.

[0108] With respect to the above embodiments, the present application also provides a control device for an imaging device, which is used to implement the control method for an imaging device of any of the above embodiments.

[0109] See also Figure 6 , Figure 6 The control device 30 of the camera device includes a start module 31 , an acquisition module 32 , a fill light module 33 and a collection module 34 .

[0110] The startup module 31 is used to switch the camera device from a first working mode to a second working mode in response to a startup operation of the camera device in a current working cycle, and obtain the current ambient brightness; wherein the power consumption of the first working mode is lower than that of the second working mode.

[0111] The acquisition module 32 is used to acquire the current scene image.

[0112] The fill light module 33 is used to determine the target working state of the target fill light of the camera device by using the current environment brightness in response to the current scene image meeting the preset event requirement.

[0113] The acquisition module 34 is used to control the target fill light to work in the target working state, and control the camera device to use a preset acquisition mode to acquire images, so as to obtain at least one frame of current event image.

[0114] It should be noted that the control device of the camera device provided in the above embodiment and the control method of the camera device provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here. In practical applications, the control device of the camera device provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this application is not limited here.

[0115] For the above embodiment, the present application provides a camera device, see Figure 7 , Figure 7 4 is a schematic diagram of the structure of another embodiment of the camera device of the present application. The camera device 40 includes a memory 41, a processor 42 and an image sensor 43, wherein the memory 41, the processor 42 and the image sensor 43 are coupled to each other, the image sensor 43 is used to perform image acquisition to obtain an image, the memory 41 stores program data, and the processor 42 is used to execute the program data to implement the steps of any embodiment of the control method of the camera device described above.

[0116] In this embodiment, the processor 42 may also be referred to as a CPU (Central Processing Unit). The processor 42 may be an integrated circuit chip having the ability to process signals. The processor 42 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or the processor 42 may also be any conventional processor, etc.

[0117] The method of the above embodiment can be implemented in the form of a computer program, so the present application proposes a computer readable storage medium, see Figure 8 , Figure 8The computer-readable storage medium 50 stores program data 51 that can be run by a processor, and the program data 51 can be executed by the processor to implement the steps of any embodiment of the control method of the above-mentioned camera device.

[0118] The computer-readable storage medium 50 of this embodiment may be a medium that can store program data, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or may be a server storing the program data 51. The server may send the stored program data 51 to other devices for execution, or may execute the stored program data 51 by itself.

[0119] In some embodiments, the functions or modules included in the device provided in the above embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.

[0120] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0121] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium, which is a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a computer, server, or network device, etc.) or a processor to execute all or part of the steps of each implementation method of the present application.

[0125] Obviously, the technical workers in this field should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a computer-readable storage medium and executed by a computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.

[0126] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for controlling a camera device, characterized in that: include: In response to a start-up operation of the camera device in a current working cycle, the camera device is switched from a first working mode to a second working mode, and the current ambient brightness is obtained; wherein the power consumption of the first working mode is lower than the power consumption of the second working mode; and the current working cycle of the camera device is set according to a preset cycle; Get the current scene image; In response to the current scene image satisfying a preset event requirement, determining a target working state of a target fill light of the camera device using the current ambient brightness; Controlling the target fill light to work in the target working state, and controlling the camera device to acquire images in a preset acquisition mode to obtain at least one frame of current event image; The first working mode is an off mode or a sleep mode, and the second working mode is a preset working mode; and obtaining the current ambient brightness includes: Acquire the pre-stored preset ambient brightness as the current ambient brightness; In response to the startup operation, the camera device is switched from the shutdown mode to the preset working mode, the validity of the current ambient brightness is determined to be invalid, and the photosensitive information obtained by the light sensor of the camera device is used as the current ambient brightness of the current working cycle; in response to the startup operation, the camera device is switched from the sleep mode to the preset working mode, the validity of the current ambient brightness is determined to be valid, and the preset ambient brightness is used as the current ambient brightness of the current working cycle.

2. The method according to claim 1, characterized in that The obtaining of the current scene image comprises: Determining a first working state of a first fill light of the camera device according to the current ambient brightness; In response to the first working state of the first fill light being turned on, turning on the first fill light at a first time; At a second time, controlling the image sensor of the camera device to acquire images in a first frame rate mode to obtain the current scene image; In response to the first working state of the first fill light being turned on, at a third time, the first fill light is turned off.

3. The method according to claim 2, characterized in that The second time is greater than or equal to the sum of the first time and a preset turn-on time, wherein the preset turn-on time is the time taken for the first fill light to be turned on to reach a preset stable state condition; and / or, The third time is greater than or equal to the sum of the second time and a preset acquisition time, where the preset acquisition time is the time it takes for the image sensor to acquire the current scene image.

4. The method according to claim 1, characterized in that: The step of determining the target working state of the target fill light of the camera device by using the current ambient brightness includes: Acquire the current shooting mode, and use the fill light corresponding to the current shooting mode as the target fill light; Determining a target working state of the target fill light according to the current ambient brightness; The current shooting mode includes a first shooting mode or a second shooting mode, the fill light corresponding to the first shooting mode is an infrared fill light, and the fill light corresponding to the second shooting mode is a visible light fill light.

5. The method according to claim 1, characterized in that The controlling the camera device to use a preset acquisition mode to acquire images to obtain at least one frame of current event image includes: Setting a preset acquisition mode of the image sensor of the camera device to a second frame rate mode, wherein the acquisition frame rate of the second frame rate mode is higher than the acquisition frame rate of the first frame rate mode; The image sensor is controlled to acquire images in the second frame rate mode to obtain the at least one frame of current event image.

6. The method according to claim 1, characterized in that The method further comprises: In response to the current scene image not meeting the preset event requirement, or after the current event image not meeting the preset event requirement, performing at least one of the following steps: In response to the target working state of the target fill light being on, turning off the target fill light; Setting the image sensor of the camera device in the preset acquisition mode to a first frame rate mode; The camera device is switched from the second operating mode to the first operating mode.

7. The method according to claim 1, characterized in that After the current scene image is obtained, the following steps are included: Detecting the current scene image to obtain a detection result; Based on the detection result, determine whether the current scene image meets the preset event requirement; wherein the preset event requirement includes at least one of the following: the existence of a preset target, the existence of a preset motion state, and the existence of a preset posture.

8. A camera device, characterized in that: It comprises an image sensor, a memory and a processor coupled to each other, wherein the image sensor is used to acquire an image, the memory stores program data, and the processor is used to execute the program data to implement the steps of the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: Program data that can be executed by a processor are stored, and the program data is used to implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control method, control device and electronic equipment

    CN104331149A

  • Low-power-consumption light supplementing method and device, computer equipment and storage medium

    CN116248989A