Image acquisition method and image acquisition system

By designing the main control module to be powered off and the wireless module to go into sleep mode when the image acquisition device is in standby mode, combined with the sensor wake-up mechanism, the target image can be captured in a timely manner under low power consumption, thus solving the contradiction between low power consumption in standby mode and timely image capture in the existing technology.

CN121509616APending Publication Date: 2026-02-10ZHEJIANG DAHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511686806.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing image acquisition methods cannot achieve timely image capture without affecting the low power consumption of the device during standby, which may lead to the omission of important events or alarm information.

Method used

In the absence of a trigger, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state. It responds to the sensor's wake-up operation to capture images, and after detecting a target, it starts the main control module to continuously capture image data and save it to the wireless module's storage medium until the main control module finishes starting up and takes over the video source to capture.

Benefits of technology

While maintaining low power consumption, it ensures that the image acquisition device can capture the target image in a timely manner after being woken up, avoiding missing events or alarm information, and improving the device's usage time and the timeliness of image capture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509616A_ABST
    Figure CN121509616A_ABST
Patent Text Reader

Abstract

The invention relates to an image acquisition method and an image acquisition system. The wireless module is applied to the image acquisition system, the image acquisition system further comprises a main control module, and in a non-trigger scene, the main control module and peripheral hardware thereof are in a power-off state, and the wireless module is in a dormant state. The method comprises the following steps: in response to a wake-up operation, ending a dormant state and performing image capture; when it is detected that a detection target exists in the captured image, the master control module is started, image data are captured at the same time, the image data are stored in a storage medium in the wireless module, and after the image data are read by the master control module, the wireless module enters a dormant state; after being started, the main control module reads image data stored in the wireless module, takes over a video source from the wireless module at the same time, and captures images. By adopting the method, the problem that the low power consumption of the image acquisition equipment in the standby state and the timeliness of image capture cannot be balanced in the existing image acquisition method can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image acquisition technology, and in particular to an image acquisition method and an image acquisition system. Background Technology

[0002] With the advancement of technology, image acquisition technology has developed rapidly. As a result, image acquisition devices are becoming increasingly widespread. However, for applications where power supply is inconvenient, such as farms, scenic areas, and forest farms, batteries are required to power these image acquisition devices. To ensure the extended operating time of these devices, reducing their average power consumption has become a pressing issue that needs to be addressed for image acquisition equipment in these applications.

[0003] Existing image acquisition methods reduce the average power consumption of image acquisition devices by keeping them powered off or in standby mode when image acquisition is not needed. However, this method requires waking up the image acquisition device when image acquisition is needed, which introduces a certain delay. If the target moves out of the monitoring area or a switch occurs during the delay (e.g., target A moves out of the monitoring view and target B enters the monitoring view), there is a possibility that the target that needs to be captured cannot be effectively captured, resulting in missed events or alarm information.

[0004] However, existing image acquisition methods cannot balance the issues of low power consumption during standby and timely image capture, and no effective solution has yet been proposed. Summary of the Invention

[0005] Therefore, it is necessary to provide an image acquisition method and an image acquisition system to address the aforementioned technical problems.

[0006] Firstly, this application provides an image acquisition method. A wireless module is applied to an image acquisition system, which further includes a main control module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state. The method includes:

[0007] In response to a wake-up command from the sensor, the sleep state ends and the first scene image is captured;

[0008] Upon detecting a target in the first captured scene image, the main control module is activated, continuously capturing image data and saving the captured image data to the storage medium inside the wireless module until the main control module is activated and the video source is transferred to the main control module. After activation, the main control module continuously reads the image data stored in the storage medium inside the wireless module until the reading is complete, and simultaneously takes over the video source from the wireless module and performs image capture.

[0009] In one embodiment, after ending the hibernation state and capturing images, and before starting the main control module, the method further includes:

[0010] Target detection is performed on the captured first scene image to determine whether the detected target exists in the captured first scene image.

[0011] In one embodiment, the method further includes:

[0012] If the target is not detected in the first captured scene image, the video source is turned off, the image capture ends, and the system re-enters sleep mode.

[0013] In one embodiment, the method further includes:

[0014] During the continuous capture of the image data, target trajectory analysis is performed on the captured image data to determine the motion trajectory data of the detected target in the captured image data. Based on the determined motion trajectory data of the detected target, the capture direction of the video source is synchronously adjusted so that the detected target is within the acquisition range of the video source.

[0015] Secondly, this application also provides an image acquisition method. A main control module is applied to an image acquisition system, which further includes a wireless module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state. The method includes:

[0016] In response to a wake-up operation from the wireless module, the device powers on and starts up, establishes a streaming link with the cloud platform, and continuously reads image data stored in the storage medium inside the wireless module until reading is complete. It then pushes the captured first scene image and the read image data to the cloud platform, and simultaneously takes over the video source from the wireless module and performs image data capture. In response to a wake-up operation from the sensor, the wireless module ends its sleep state and performs first scene image capture. If a target is detected in the captured first scene image, the main control module starts up, continuously captures image data, and saves the captured image data to the storage medium inside the wireless module until the main control module finishes startup and then transfers the video source to the main control module.

[0017] In one embodiment, the method further includes:

[0018] After the image data capture reaches the preset time, the capture ends, the video source is transferred to the wireless module, a power-off command is sent to the wireless module, and the system enters a power-off state again.

[0019] In one embodiment, the method further includes:

[0020] During the image data capture process, target trajectory analysis is performed on the captured image data to determine the motion trajectory data of the detected target in the captured image data. Based on the determined motion trajectory data of the detected target, the capture direction of the video source is synchronously adjusted so that the detected target is within the acquisition range of the video source.

[0021] Thirdly, this application also provides an image acquisition method. Applied to an image acquisition system, the image acquisition system further includes a main control module and a wireless module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state; the method includes:

[0022] The wireless module responds to a wake-up operation from the sensor, ends its sleep state, and performs a first scene image capture. If a target is detected in the captured first scene image, the main control module is woken up, and image data is continuously captured and saved to the storage medium inside the wireless module.

[0023] The main control module responds to the wake-up operation from the wireless module and powers on.

[0024] After the main control module is powered on and started, the wireless module will transfer the video source to the main control module.

[0025] After power-on, the main control module continuously reads image data stored in the storage medium inside the wireless module, and simultaneously captures image data using the video source taken over from the wireless module.

[0026] Fourthly, this application also provides an image acquisition system. The system includes: a main control module and a wireless module;

[0027] The wireless module is used to perform the image acquisition method described in the first aspect above;

[0028] The main control module executes the image acquisition method described in the second aspect above.

[0029] Fifthly, this application also provides an electronic device, including a memory and a processor;

[0030] The memory is connected to the processor and is used to store programs;

[0031] The processor is used to implement the image acquisition method described in the first aspect, the image acquisition method described in the second aspect, or the image acquisition method described in the third aspect by running a program in the memory.

[0032] Sixthly, this application also provides a storage medium. The storage medium stores a computer program, which, when executed by a processor, implements the image acquisition method described in the first aspect, the second aspect, or the third aspect.

[0033] The aforementioned image acquisition method and system achieve low power consumption during standby by keeping the main control module and its peripheral hardware powered off and the wireless module in a sleep state in a non-triggered scenario. In response to a wake-up call from a sensor, the wireless module exits its sleep state and captures the first scene image. Then, upon detecting a target in the captured first scene image, the main control module is activated, continuously capturing image data and saving it to the internal storage medium of the wireless module. This continues until the main control module is fully activated, at which point the video source is transferred to it. Upon activation, the main control module continuously reads the image data stored in the internal storage medium of the wireless module until the reading is complete. Simultaneously, it takes over the video source from the wireless module and performs image capture. This system conserves energy by keeping the main control module powered off and the module in sleep mode during standby. When a suspicious target is detected, the module is woken up first to check if the captured initial scene image contains the target, determining whether the main control module needs to be activated. During the main control module's power-on startup, the wireless module continues to capture images using the video source. After the main control module is activated, the video source is transferred to it for continued image capture. Simultaneously, the image data captured by the wireless module is transmitted to the main control module, ensuring continuous image capture even during the main control module's power-on process. This approach maintains low power consumption during standby while preventing missed events or alarm information. It solves the problem of existing image acquisition methods failing to balance low power consumption during standby and timely image capture.

[0034] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. Attached Figure Description

[0035] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0036] Figure 1 A hardware structure block diagram of a terminal for an image acquisition method provided in an embodiment of this application;

[0037] Figure 2 A flowchart of the image acquisition method provided in Embodiment 1 of this application;

[0038] Figure 3 A flowchart of the image acquisition method provided in Embodiment 2 of this application;

[0039] Figure 4 A flowchart of the image acquisition method provided in Embodiment 3 of this application;

[0040] Figure 5 A flowchart of an image acquisition method provided in a preferred embodiment of this application;

[0041] Figure 6 This is a structural block diagram of an image acquisition system provided in an embodiment of this application. Detailed Implementation

[0042] To better understand the purpose, technical solution, and advantages of this application, the application is described and illustrated below in conjunction with the accompanying drawings and embodiments.

[0043] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these” used in this application do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to these processes, methods, products, or devices. Words such as “connected,” “linked,” and “coupled” used in this application are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. Normally, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," "third," etc., used in this application are merely to distinguish similar objects and do not represent a specific order of objects.

[0044] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on the terminal of an image acquisition system. Figure 1 This is a hardware structure block diagram of the terminal for the image acquisition method in this embodiment. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.

[0045] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the image acquisition method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0046] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0047] The image acquisition method provided in this embodiment is applied to the wireless module in the image acquisition system. The image acquisition system also includes a main control module. In the absence of a trigger, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state. Figure 2 This is a flowchart of the image acquisition method in Embodiment 1, as follows: Figure 2 As shown, the process includes the following steps:

[0048] In step S210, in response to the wake-up operation from the sensor, the sleep state ends and the first scene image is captured.

[0049] The aforementioned sensor can be one or more of a passive infrared sensor or a radar sensor. This sensor outputs a detection signal by detecting the presence of a heat source or moving object within a target area. Specifically, when a target is detected within the target area, the sensor generates and sends a trigger signal to the wireless module to wake it up. The aforementioned wireless module can be a low-power MCU (Microcontroller Unit) combined with Wi-Fi, Cat1, Cat4, or other radio frequency baseband and some peripheral hardware. This wireless module controls the power management module and link management module, controls the data acquisition and storage of the sensor and video source, and uses target detection and tracking algorithms to perform target recognition in images and track the position of preset targets. The aforementioned wireless module includes a target detection module, a target tracking module, and a video source. The target detection module integrates a target detection algorithm to identify, but is not limited to, a single or single-type target from image data and provides the recognition result. The target tracking module integrates a target tracking algorithm to identify the coordinates of a specific target in image data and outputs information such as the target's trajectory and expected direction of movement through continuous recognition. The wireless module is also used to control the power-on and power-off of the main control module based on the detection results, as well as to control the image capture direction of the video source. The power management module manages the charging and discharging of each module in the image acquisition system, such as managing the power-on and power-off of the main control module. The link management module controls the next-level connection of the video source, specifically controlling the connection between the video source and the main control module, or the connection between the video source and the wireless module. Generally, when the image acquisition system is in standby mode, the link management module controls the connection between the video source and the wireless module. The video source can include an image acquisition module and an acquisition control module. The image acquisition module can be a camera, used to convert analog optical image signals into digital signals using the image acquisition system. The acquisition control module controls the initialization of the image acquisition module and controls the image data acquisition, storage, and acquisition interval.

[0050] In addition, the aforementioned main control module, connected to the aforementioned wireless module, is used for operations such as audio and video encoding, storage, transmission, user service management, configuration management, and network management. The aforementioned detection target can be a preset target that requires image acquisition based on a specific scenario. For example, the detection target can be one or more of a person, animal, or vehicle. It should be noted that because the types of detection targets to be captured differ, the type of sensor used to wake up the wireless module will also differ. This embodiment does not specifically limit the type of sensor, as long as it can generate a trigger signal when a suspicious target enters the target area.

[0051] The aforementioned non-triggered scenario refers to a scenario where image information acquisition is not required, i.e., when there are no inspection targets or suspicious targets to be captured within the target area. In this case, the image acquisition system is in a low-power state. The aforementioned sleep state can be a low-power state where most functions are powered off or suspended, with only a minimal amount of circuitry operating, and can be promptly woken up when needed. The aforementioned target area can be the area where inspection targets need to be captured; specifically, it can be the capture range of the signal source or the area detectable by the sensor.

[0052] It should be noted that when no suspicious target exists in the target area, the main control module and its peripheral hardware are powered off, the wireless module is in sleep mode, and the video source and link management module are also powered off. The entire image acquisition system is in a low-power standby state. When a suspicious target appears in the target area, the sensor detects the suspicious target and generates a trigger signal, which is sent to the wireless module to wake it up from sleep mode. This causes the wireless module to exit sleep mode, wake up the video source, and control the video source to connect to the wireless module via the link management module. The video source then captures a preset number of first scene images. The preset number of frames can be set according to specific needs, and this embodiment does not impose a specific limitation, as long as the presence of a detected target in the target area can be determined from the preset number of first scene images. The first scene image can be an image of a scene where a suspicious target exists.

[0053] In this embodiment, after the wireless module is woken up by the sensor, it immediately acquires images through the image capture module. If the target detection module determines that the wake-up is valid, it saves the image to the internal storage medium of the wireless module. After the main control starts, it retrieves the stored image data from the wireless module and performs subsequent processing. This ensures the real-time performance and effectiveness of the first-scene image capture.

[0054] This embodiment, while possessing a false wake-up control strategy, focuses on adding an invalid wake-up control strategy. This solves the problem that the false wake-up control strategy cannot accurately record valid targets in multi-target, fast-moving scenarios, ensuring that the main control module's wake-up is error-free and reliable, and optimizing device power utilization.

[0055] Step S220: When a target is detected in the first captured scene image, the main control module is started, and image data is continuously captured and saved to the storage medium inside the wireless module until the main control module is started and the video source is transferred to the main control module. After the main control module is started, it continuously reads the image data stored in the storage medium inside the wireless module until the reading is completed, and at the same time takes over the video source from the wireless module and performs image capture.

[0056] In this step, starting the main control module can be achieved by controlling the power management module to power on the main control module. It should be noted that to ensure no critical information is missed during the main control module's power-on process, the video source must continuously capture images and temporarily store the captured image data in the wireless module's internal storage medium. This continuous image data capture can be achieved by capturing image frames at regular time intervals. This capture process continues until the main control module completes startup and sends a stop acquisition signal (SA) to the wireless module via the communication module. Upon receiving the SA signal, the wireless module stops data acquisition. Once the main control module has finished reading the image data stored in the wireless module's internal storage medium, it will close the capture operation and switch the video source's next-level connection from the wireless module to the main control module. This switching of the video source's next-level connection from the wireless module to the main control module can be achieved through the link management module.

[0057] In this embodiment, if a target is detected in the first captured scene image, the power management module will be controlled to power on the main control module, and the precise image capture and target tracking strategy will be activated at the same time.

[0058] This embodiment, while achieving fast and accurate image capture, maintains a significantly lower overall power consumption (in the tens of µW range) during standby, keeping the module in sleep mode and the main control unit powered off compared to existing solutions that require main control unit and module to be in sleep mode (power consumption in the tens of mW range). Actual statistics show that low-power camera devices are in standby mode for more than 50% of their actual usage time; therefore, lower standby power consumption results in longer usage time.

[0059] Steps S210 to S220 above achieve low power consumption of the image acquisition device in standby mode by keeping the main control module and its peripheral hardware in a power-off state and the wireless module in a sleep state in a non-triggered scenario. In response to the wake-up operation from the sensor, the wireless module ends the sleep state and performs image capture. Then, when a target is detected in the captured image, the main control module is started, and image data is continuously captured and saved to the storage medium inside the wireless module until the main control module is started. The video source is then transferred to the main control module. After the main control module is started, it continuously reads the image data stored in the storage medium inside the wireless module until the reading is complete. While reading the image data, it takes over the video source from the wireless module and performs image capture. This system conserves energy by keeping the main control module powered off and the module in a dormant state during standby. When a suspicious target is detected, the module is woken up first. The module then checks the captured image for the presence of the target to determine if the main control module needs to be activated. If the main control module needs to be activated, the wireless module continues capturing images using the video source during the main control module's power-on process. After the main control module is activated, the video source is transferred to it for continued image capture. Simultaneously, the image data captured by the wireless module is transmitted to the main control module, ensuring continuous image capture even during the main control module's power-on process. This approach maintains low power consumption during standby and prevents missed events or alarm information. It solves the problem of existing image acquisition methods failing to balance low power consumption during standby and timely image capture.

[0060] In one embodiment, after ending the hibernation state and capturing images, and before starting the main control module, the method further includes:

[0061] Step S212: Perform target detection on the captured first scene image to determine whether there is a target in the captured first scene image.

[0062] The aforementioned target detection of the captured first scene image can be performed by the target tracking module of the wireless module using a preset target detection algorithm. The preset target detection algorithm can be a target detection algorithm of the YOLO series, or a neural network model, etc. This embodiment does not specifically limit the preset target detection algorithm, as long as it can perform target detection on the captured first scene image.

[0063] Specifically, in one embodiment, the above image acquisition method further includes:

[0064] Step S214: If no target is detected in the first captured scene image, turn off the video source, end the image capture, and enter the sleep state again.

[0065] If no target is detected in the captured image, the image capture ends and the module re-enters sleep mode. Specifically, if the wireless module detects that no target is detected in the captured first scene image, it determines that this is a false wake-up operation, shuts down the link management module, switches the video source to the off state, and the wireless module enters sleep mode, waiting to be woken up again.

[0066] This step uses the wireless module to stop capturing images and enter sleep mode again when it detects that no target is detected in the captured image. During this process, the main control module and its peripheral hardware are powered off, so that the wireless module can be used to detect false wake-up operations without turning on the main control module, which can save energy.

[0067] In another embodiment, the above image acquisition method further includes:

[0068] Step S222: During the continuous capture of image data, target trajectory analysis is performed on the captured image data to determine the motion trajectory data of the detected target in the captured image data. Based on the determined motion trajectory data of the detected target, the capture direction of the video source is synchronously adjusted until the detected target is within the acquisition range of the video source.

[0069] In the process of continuously capturing image data, the aforementioned target trajectory analysis of the captured image data determines the motion trajectory data of the detected target within the captured image data. This can be achieved by the wireless module activating a target tracking module, which, during continuous image capture, uses a preset target trajectory analysis method to analyze the target trajectory of the captured image data from the video source and determine the motion trajectory data of the detected target within the captured image data. The preset target trajectory analysis method can be one or more of deep learning algorithms, machine learning algorithms, or kinematic algorithms. This embodiment does not specifically limit the preset target trajectory analysis method, as long as it can be used to analyze the target trajectory of the captured image data and determine the motion trajectory data of the detected target within the captured image data. The motion trajectory data can include the position of the same detected target in various image frames (position information at different times), the target's speed, or its direction of movement. The aforementioned synchronous adjustment of the video source's capture direction to ensure the target is within the video source's acquisition range can be achieved by the wireless module controlling the orientation of the image acquisition module in the video source via a gimbal-like device during image data acquisition. This ensures the target remains within the video source's field of view, maintaining its position throughout the acquisition process until the wireless module receives a stop capture command.

[0070] This step involves simultaneously adjusting the capture direction of the video source during the continuous acquisition of image data so that the target to be detected is within the acquisition range of the video source. This ensures that the video source can continuously capture the target and avoids missed captures or event loss.

[0071] Embodiment 2 of this application provides an image acquisition method applied to the main control module of an image acquisition system. The image acquisition system also includes a wireless module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, while the wireless module is in a sleep state. Figure 3 This is a flowchart of the image acquisition method provided in Embodiment 2 of this application, as follows: Figure 3 As shown, the process includes the following steps:

[0072] In step S310, in response to the wake-up operation from the wireless module, the module powers on and starts up, establishes a streaming link with the cloud platform, and continuously reads image data stored in the storage medium inside the wireless module until the reading is complete. The captured first scene image and the read image data are pushed to the cloud platform. At the same time, the module takes over the video source from the wireless module and performs image data capture. In response to the wake-up operation from the sensor, the wireless module ends its sleep state and performs first scene image capture. When a detection target is detected in the captured first scene image, the main control module is started, and the module continues to capture image data and saves the captured image data to the storage medium inside the wireless module until the main control module is started and the video source is transferred to the main control module.

[0073] In this step, the wake-up operation of the aforementioned wireless module can be achieved by the wireless module controlling the power management module to power on the main control module. Once the main control module is powered on, it will first establish a streaming link with the cloud platform, then read the image data stored in the storage medium inside the wireless module until the reading is complete. Simultaneously, the read image data, along with the captured first-hand image, will be pushed to the cloud platform. After reading the image data from the wireless module, the main control module will perform preset processing such as amplification, encoding, data encapsulation, and streaming.

[0074] After the main control module powers on, it needs to take over the video source from the wireless module and use the video source to capture image data. At this time, the captured image data and the image data received from the storage medium inside the wireless module can be stitched together in time to obtain complete image data. Then, the complete image data is processed according to preset procedures. That is, for the directly captured image data, in addition to the conventional services such as streaming, recording, and target recognition, the main control module, combined with the image data read from the storage medium inside the wireless module, can perform behavior backtracking and precise tracking analysis of the detected target starting from the trigger time, and report the corresponding analysis results.

[0075] It should be noted that the video source continuously captures image data. When the video source is connected to the wireless module, the image data acquired by the video source is transmitted to the storage medium inside the wireless module via the communication module. When the video source switches to be connected to the main control module, the image data acquired by the video source is transmitted to the main control module via the communication module.

[0076] In this embodiment, after the wireless module is woken up by the sensor, it continuously acquires images at specific time intervals through the video module and outputs the target trajectory and direction through the target tracking module. This, in conjunction with a PTZ-like device, controls the device's rotation, ensuring that the target remains within the monitoring view and is not lost. This ensures that the device can record the target's trigger moment and subsequent movement trajectory each time it is woken up. Based on this, after the main controller takes over the video module, it can perform precise target tracking and short-term behavior replay based on the actually acquired image data.

[0077] In another embodiment, the above image acquisition method further includes:

[0078] Step S312: After the image data capture reaches the preset time, the image capture ends, the video source is transferred to the wireless module, a power-off command is sent to the wireless module, and the system enters the power-off state again.

[0079] After the image data capture reaches the preset conditions, the image capture ends, the video source is transferred to the wireless module, and the system enters a power-off state again. Alternatively, the main control module can end the image capture after a preset time, send an end command to the wireless module, and, based on the received end command, control the link management module to switch the video source to connect to the wireless module. The wireless module then controls the power-on management module to power off the main control module, the link management module, and the video source. Finally, the wireless module itself enters a sleep state, waiting to be woken up again.

[0080] Furthermore, in one embodiment, the above image acquisition method further includes:

[0081] Step S314: During the image data capture process, target trajectory analysis is performed on the captured image data to determine the motion trajectory data of the detected target in the captured image data. Based on the determined motion trajectory data of the detected target, the capture direction of the obtained video source is synchronously adjusted until the detected target is within the acquisition range of the video source.

[0082] This step involves the main control module performing target trajectory analysis on the captured image data during the image data capture process. This determines the motion trajectory data of the target being detected in the captured image data. Based on the determined motion trajectory data of the target being detected, the capture direction of the video source is synchronously adjusted so that the target being detected is within the acquisition range of the video source. This ensures that the target being detected can be captured during the image capture process of the main control module.

[0083] Embodiment 3 of this application provides an image acquisition method applied to an image acquisition system. The image acquisition system further includes a main control module and a wireless module. In a scenario without triggering, the main control module and its peripheral hardware are in a power-off state, while the wireless module is in a sleep state. Figure 4This is a flowchart of the image acquisition method provided in Embodiment 3 of this application, as follows: Figure 4 As shown, the process includes the following steps:

[0084] In step S410, the wireless module responds to the wake-up operation from the sensor, ends the sleep state and performs the first scene image capture; if a detection target is detected in the captured first scene image, the main control module is woken up, and image data is continuously captured and the captured image data is saved to the storage medium inside the wireless module.

[0085] In step S420, the main control module responds to the wake-up operation from the wireless module and powers on to start up;

[0086] Step S430: After the main control module is powered on and started, the wireless module transfers the video source to the main control module.

[0087] In step S440, after the main control module is powered on, it continuously reads the image data stored in the storage medium inside the wireless module, and simultaneously captures image data using the video source taken over from the wireless module.

[0088] Steps S410 to S440 above achieve low power consumption of the image acquisition device in standby mode by keeping the main control module and its peripheral hardware in a power-off state and the wireless module in a sleep state in a non-triggered scenario. Then, the wireless module responds to the wake-up operation from the sensor, ends the sleep state and performs image capture. Then, when a target is detected in the captured image, the main control module is started, and image data is continuously captured and saved to the storage medium inside the wireless module until the main control module is started and the video source is transferred to the main control module. After the main control module is started, it continuously reads the image data stored in the storage medium inside the wireless module until the reading is completed. While reading the image data, it takes over the video source from the wireless module and performs image capture. This system conserves energy by keeping the main control module powered off and the module in a dormant state during standby. When a suspicious target is detected, the module is woken up first. The module then checks the captured image for the presence of the target to determine if the main control module needs to be activated. If the main control module needs to be activated, the wireless module continues capturing images using the video source during the main control module's power-on process. After the main control module is activated, the video source is transferred to it for continued image capture. Simultaneously, the image data captured by the wireless module is transmitted to the main control module, ensuring continuous image capture even during the main control module's power-on process. This approach maintains low power consumption during standby and prevents missed events or alarm information. It solves the problem of existing image acquisition methods failing to balance low power consumption during standby and timely image capture.

[0089] The present embodiment will now be described and illustrated through preferred embodiments.

[0090] Figure 5 This is a flowchart of an image acquisition method provided in a preferred embodiment of this application. Applied to an image acquisition system, the system further includes a main control module and a wireless module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, while the wireless module is in a sleep state. Figure 5 As shown, the image acquisition method includes the following steps:

[0091] The module side (wireless module side) shall perform the following steps:

[0092] Step S501, Begin.

[0093] Step S502: Wait for the sensor (PIR / radar) to trigger; when the sensor triggers (detecting a suspicious target entering the target area), proceed to step S503. The PIR mentioned above is either a passive infrared sensor or a pyroelectric infrared sensor.

[0094] Step S503, (wireless module) exits low power mode.

[0095] Step S504: Set the video source to switch to the module (the video source is switched to the state of being connected to the wireless module).

[0096] It should be noted that if the video source is already connected to the wireless module, this step can be omitted, and step S505 can be executed directly.

[0097] Step S505: Start the target detection module.

[0098] The aforementioned target detection module can control the video source to capture a preset number of image frames.

[0099] Step S506: Determine if a detection target exists; if yes, proceed to step S507; if no, proceed to step S502.

[0100] The above-mentioned determination of whether a detection target exists can be performed on a preset number of captured image frames to detect whether a detection target exists in the image frames.

[0101] Step S507: Start the main control module; then, execute step S508, and simultaneously supply power to the main control module through the power management module.

[0102] Step S508: Save image data PA periodically.

[0103] In this step, the aforementioned wireless module controls the video source to continuously acquire image data and periodically saves the acquired image data to the storage medium inside the wireless module.

[0104] Step S509: Start the target tracking module.

[0105] Step S510: Track and generate the target motion path.

[0106] In this step, the target tracking module analyzes the target trajectory of the acquired image data to determine the motion trajectory data of the detected target in the captured image data, and then determines the motion path of the (detected) target.

[0107] Step S511: Control the gimbal to perform target tracking.

[0108] In this step, the pan-tilt unit is used to control the capture direction of the video source, thereby ensuring that the video source can capture the detection target. The aforementioned pan-tilt unit is a device for controlling the capture direction of the video source.

[0109] Step S512: Determine whether a command to take over the video source from the master control has been received. If yes, proceed to step S513; otherwise, proceed to step S508.

[0110] Step S513: Switch the video source to connect to the main control (main control module).

[0111] Step S514, wait for notification.

[0112] Step S515: Determine whether a system shutdown command has been received; if yes, proceed to step S516; if no, proceed to step S514.

[0113] Step S516: Establish a keep-alive link with the cloud platform.

[0114] Step S517: Shut down the video source and link management module.

[0115] Step S518: Shut down the main control module. Then, execute step S519, and simultaneously disconnect the main control power supply through the power management module.

[0116] Step S519: Enter low power mode to maintain the periodic keep-alive service between the device and the cloud platform.

[0117] Step S520: Determine if the system is shut down. If yes, proceed to step S521; otherwise, proceed to step S502.

[0118] Step S521, End.

[0119] The main control side (main control module side) performs the following steps:

[0120] Step S522, Begin.

[0121] Step S523, system startup (main control module powered on and started).

[0122] Step S524: Establish a streaming link with the cloud platform. Then, execute steps S525 and S526 simultaneously.

[0123] Step S525: Read the module-side image data PA (video data collected by the wireless module) and push the first scene image to the cloud.

[0124] Step S526: Notify the main control module to take over the video source. Then, execute step S527, and simultaneously send command SA (the main control module's command to request take over the video source) to the wireless module.

[0125] Step S527: Real-time acquisition of data PB (video data acquired by the main control module).

[0126] Step S528: Combine data PA to perform target behavior backtracking and tracking analysis.

[0127] Step S529: Report the analysis results.

[0128] Step S530: Data PB performs real-time bitstream push service.

[0129] Step S531, other routine business.

[0130] Step S532: Determine if the running time is greater than T. If yes, proceed to step S533; otherwise, proceed to step S527.

[0131] Step S533: Check and wait for the data PA to be transmitted completely.

[0132] Step S534: Notify the module master controller to prepare for shutdown (by sending command SD to the wireless module).

[0133] Step S535: System shutdown.

[0134] Step S536, End.

[0135] Steps S501 to S536 above achieve low power consumption of the image acquisition device in standby mode by keeping the main control module and its peripheral hardware in a power-off state and the wireless module in a sleep state in a non-triggered scenario. Then, the wireless module responds to the wake-up operation from the sensor, ends the sleep state and performs image capture. Then, when a target is detected in the captured image, the main control module is started, and image data is continuously captured and saved to the storage medium inside the wireless module until the main control module is started and the video source is transferred to the main control module. After the main control module is started, it continuously reads the image data stored in the storage medium inside the wireless module until the reading is completed. While reading the image data, it takes over the video source from the wireless module and performs image capture. This system conserves energy by keeping the main control module powered off and the module in a dormant state during standby. When a suspicious target is detected, the module is woken up first. The module then checks the captured image for the presence of the target to determine if the main control module needs to be activated. If the main control module needs to be activated, the wireless module continues capturing images using the video source during the main control module's power-on process. After the main control module is activated, the video source is transferred to it for continued image capture. Simultaneously, the image data captured by the wireless module is transmitted to the main control module, ensuring continuous image capture even during the main control module's power-on process. This approach maintains low power consumption during standby and prevents missed events or alarm information. It solves the problem of existing image acquisition methods failing to balance low power consumption during standby and timely image capture.

[0136] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0137] Based on the same inventive concept, this embodiment also provides an image acquisition system. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. The terms "module," "unit," "subunit," etc., used below can refer to combinations of software and / or hardware that achieve a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0138] In one embodiment, Figure 6 This is a structural block diagram of an image acquisition system provided in an embodiment of this application, as shown below. Figure 6 As shown, the image acquisition device includes:

[0139] The wireless module 62 is used to execute any one of the image acquisition methods in the embodiments of this application;

[0140] The main control module 64 is used to execute any of the image acquisition methods in the embodiments of this application.

[0141] The aforementioned image acquisition system achieves low power consumption during standby by keeping the main control module and its peripheral hardware powered off and the wireless module in sleep mode in non-triggered scenarios. In response to a wake-up call from a sensor, the wireless module emerges from sleep mode and begins image capture. Upon detecting a target in the captured image, the main control module is activated, continuously capturing image data and saving it to the wireless module's internal storage. This continues until the main control module is fully operational, at which point the video source is transferred to it. Upon startup, the main control module continuously reads the image data stored in the wireless module's internal storage until completion. Simultaneously, it takes over the video source from the wireless module and begins image capture. This system conserves energy by keeping the main control module powered off and the module in a dormant state during standby. When a suspicious target is detected, the module is woken up first to check if the captured image contains the target, determining whether the main control module needs to be activated. While the main control module is powering on, the wireless module continues capturing images using the video source. After the main control module powers on, the video source is transferred to it for continued image capture, and the captured image data is simultaneously transmitted to the main control module. This ensures continuous image capture during the main control module's power-on process, maintaining low power consumption during standby and preventing missed events or alarms. This solves the problem of existing image acquisition methods failing to balance low power consumption during standby and timely image capture.

[0142] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.

[0143] In one embodiment, an electronic device is provided, including a memory and a processor, the memory being connected to the processor for storing a program, and the processor for implementing any of the image acquisition methods described in the above embodiments by running the program in the memory.

[0144] In one embodiment, a storage medium is provided, on which a computer program is stored. When the computer program is run by a processor, it implements any of the image acquisition methods described in the above embodiments.

[0145] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0146] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0147] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An image acquisition method, characterized in that, A wireless module is used in an image acquisition system, which further includes a main control module. In a non-triggered scenario, the main control module and its peripheral hardware are powered off, and the wireless module is in a sleep state. The method includes: In response to a wake-up command from the sensor, the sleep state ends and the first scene image is captured; Upon detecting a target in the first captured scene image, the main control module is activated, continuously capturing image data and saving the captured image data to the storage medium inside the wireless module until the main control module is activated and the video source is transferred to the main control module. After activation, the main control module continuously reads the image data stored in the storage medium inside the wireless module until the reading is complete, and simultaneously takes over the video source from the wireless module and performs image capture.

2. The image acquisition method according to claim 1, characterized in that, After ending the hibernation state and capturing images, and before starting the main control module, the method further includes: Target detection is performed on the captured first scene image to determine whether the detected target exists in the captured first scene image.

3. The image acquisition method according to claim 2, characterized in that, The method further includes: If the target is not detected in the first captured scene image, the video source is turned off, the image capture ends, and the system re-enters sleep mode.

4. The image acquisition method according to claim 1, characterized in that, The method further includes: During the continuous capture of the image data, target trajectory analysis is performed on the captured image data to determine the motion trajectory data of the detected target in the captured image data. Based on the determined motion trajectory data of the detected target, the capture direction of the video source is synchronously adjusted so that the detected target is within the acquisition range of the video source.

5. An image acquisition method, characterized in that, A main control module is applied to an image acquisition system, which also includes a wireless module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state. The method includes: In response to a wake-up operation from the wireless module, the device powers on and starts up, establishes a streaming link with the cloud platform, and continuously reads image data stored in the storage medium inside the wireless module until reading is complete. It then pushes the captured first scene image and the read image data to the cloud platform, and simultaneously takes over the video source from the wireless module and performs image data capture. In response to a wake-up operation from the sensor, the wireless module ends its sleep state and performs first scene image capture. If a target is detected in the captured first scene image, the main control module starts up, continuously captures image data, and saves the captured image data to the storage medium inside the wireless module until the main control module finishes startup and then transfers the video source to the main control module.

6. The image acquisition method according to claim 5, characterized in that, The method further includes: After the image data capture reaches the preset time, the capture ends, the video source is transferred to the wireless module, a power-off command is sent to the wireless module, and the system enters a power-off state again.

7. The image acquisition method according to claim 5, characterized in that, The method further includes: During the image data capture process, target trajectory analysis is performed on the captured image data to determine the motion trajectory data of the detected target in the captured image data. Based on the determined motion trajectory data of the detected target, the capture direction of the video source is synchronously adjusted so that the detected target is within the acquisition range of the video source.

8. An image acquisition method, characterized in that, The method is applied to an image acquisition system, which further includes a main control module and a wireless module. In a non-triggered scenario, the main control module and its peripheral hardware are in a power-off state, and the wireless module is in a sleep state. The method includes: The wireless module responds to a wake-up operation from the sensor, ends its sleep state, and performs a first scene image capture. If a target is detected in the captured first scene image, the main control module is woken up, and image data is continuously captured and saved to the storage medium inside the wireless module. The main control module responds to the wake-up operation from the wireless module and powers on. After the main control module is powered on and started, the wireless module will transfer the video source to the main control module. After power-on, the main control module continuously reads image data stored in the storage medium inside the wireless module, and simultaneously captures image data using the video source taken over from the wireless module.

9. An image acquisition system, characterized in that, The system includes: a main control module and a wireless module; The wireless module is used to perform the image acquisition method according to any one of claims 1 to 4; The main control module is used to execute the image acquisition method according to any one of claims 5 to 7.

10. An electronic device, characterized in that, Including memory and processor; The memory is connected to the processor and is used to store programs; The processor is configured to implement the image acquisition method as described in any one of claims 1 to 4, the image acquisition method as described in any one of claims 5 to 7, or the image acquisition method as described in claim 8 by running a program in the memory.

11. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the image acquisition method as described in any one of claims 1 to 4, the image acquisition method as described in any one of claims 5 to 7, or the image acquisition method as described in claim 8.