Wearable device and method of disposal
By integrating an image acquisition module, pressure sensor, and motion sensor, and combining this with a central control module to dynamically adjust the image acquisition frame rate, the convenience and power consumption issues of underwater video recording for wearable devices have been resolved, achieving a highly efficient underwater video recording function.
Patent Information
- Application Number
- CN202611323165.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing wearable devices suffer from poor convenience and risk of falling off during water activities when recording video, and the power consumption problem has not been effectively solved.
By integrating an image acquisition module, pressure sensor, and motion sensor, and combining this with a central control module to dynamically adjust the image acquisition frame rate, the power consumption is reduced.
This technology reduces the power consumption of wearable devices while ensuring recording quality, thus improving the convenience and reliability of underwater recording.
Smart Images

Figure CN123164191A_ABST
Abstract
Description
Technical Field
[0001] This disclosure belongs to the field of smart wearable technology, and in particular relates to a wearable device capable of acquiring images and a method for processing them. Background Technology
[0002] With the increasing popularity of wearable devices, these devices have been applied to various daily and sports scenarios. Taking smart glasses as an example, wearers can collect image data in daily travel, leisure, and underwater activities.
[0003] In water-related activities, current wearable devices can achieve waterproof recording by using external recording devices. However, external recording devices are not very convenient to use and pose a risk of falling off during activities such as swimming. If the recording component is integrated into the waterproof goggles themselves, the power consumption of the wearable device needs to be considered. Summary of the Invention
[0004] To address the aforementioned issues, this disclosure provides a wearable device capable of acquiring images and a method for processing them.
[0005] This disclosure is achieved through the following technical solution: In a first aspect, embodiments of this disclosure provide a wearable device capable of acquiring images, the wearable device comprising: an image acquisition module, a pressure sensor, a motion sensor, and a central control module; The image acquisition module is configured to: acquire images at an initial frame rate and generate image data; and acquire images at a target frame rate and generate image data in response to the acquisition of a target frame rate acquisition command. The motion sensor is configured to continuously collect motion state data of the wearer in the environment based on the motion sampling period; The pressure sensor is configured to continuously collect the ambient pressure value of the wearer's environment based on the pressure sampling period; The central control module is configured to: determine the wearer's first state information based on the motion state data collected in real time by the motion sensor; determine the wearer's second state information based on the environmental pressure value collected in real time by the pressure sensor; read the image data collected in real time by the image acquisition module, process the image data using a preset algorithm, and obtain a target processing result; determine the target frame rate for image acquisition based on the first state information, the second state information, and the target processing result, and generate the target frame rate acquisition command.
[0006] Furthermore, The central control module is further configured to: when the first status information does not meet the first preset condition and the second status information does not meet the second preset condition, determine the first frame rate as the target frame rate for image acquisition, and send a downsampling command and a first frame rate acquisition command to the image acquisition module; The image acquisition module is further configured to: in response to the acquisition of the downsampling command and the first frame rate acquisition command, acquire an image at the first frame rate, downsample the acquired image, and generate first image data.
[0007] Furthermore, The central control module is further configured to: read two frames of the first image data at a first preset period, process the first image data using a preset algorithm, and obtain a target processing result; wherein, the first preset period is the same as the frame interval of the first frame rate; If the target processing result meets the third preset condition, the first frame rate is determined to be the target frame rate for image acquisition. If the target processing result does not meet the third preset condition, the second frame rate is determined to be the target frame rate for image acquisition, and a second frame rate acquisition command is sent to the image acquisition module. The image acquisition module is further configured to: in response to the acquisition of the second frame rate acquisition command, acquire an image at the second frame rate, downsample the acquired image, and generate the first image data; wherein the second frame rate is less than the first frame rate.
[0008] Furthermore, The central control module is further configured to: read two frames of the first image data at a second preset period, process the first image data using the preset algorithm, and obtain the target processing result; wherein the second preset period is the same as the frame interval of the second frame rate; If the target processing result does not meet the third preset condition, the second frame rate is determined to be the target frame rate for image acquisition. If the target processing result meets the third preset condition, the first frame rate is determined to be the target frame rate for image acquisition, and a first frame rate acquisition command is sent to the image acquisition module. The image acquisition module is further configured to: in response to the acquisition of the first frame rate acquisition command, acquire an image at the first frame rate, downsample the acquired image, and generate the first image data.
[0009] Furthermore, The central control module is further configured to: when the first status information meets the first preset condition and the second status information does not meet the second preset condition, determine the first frame rate as the target frame rate for image acquisition, and send the first frame rate acquisition command to the image acquisition module; The image acquisition module is further configured to: in response to the acquisition of the first frame rate acquisition command, acquire an image at the first frame rate and generate second image data.
[0010] Furthermore, The central control module is further configured to: read two frames of the second image data at a first preset period, process the second image data using a preset algorithm, and obtain a target processing result; wherein, the first preset period is the same as the frame interval of the first frame rate; If the target processing result does not meet the third preset condition, the first frame rate is determined to be the target frame rate for image acquisition. If the target processing result meets the third preset condition, the third frame rate is determined to be the target frame rate for image acquisition, and a third frame rate acquisition command is sent to the image acquisition module. The image acquisition module is further configured to: in response to the acquisition of the third frame rate acquisition command, acquire an image at the third frame rate and generate the second image data; wherein the third frame rate is greater than the first frame rate.
[0011] Furthermore, The central control module is also configured to: after the second status information meets the second preset condition, determine the fourth frame rate as the target frame rate for image acquisition, and send a fourth frame rate acquisition command to the image acquisition module; The image acquisition module is further configured to: in response to the acquisition of the fourth frame rate acquisition command, acquire an image at the fourth frame rate and generate the second image data; wherein the fourth frame rate is greater than the third frame rate.
[0012] Furthermore, The central control module is further configured to: read two adjacent frames of image data, process the two adjacent frames of image data using a first preset algorithm, and obtain an intermediate processing result; after obtaining the intermediate processing result that meets the judgment conditions, process the two adjacent frames of image data using a second preset algorithm to obtain a target processing result; wherein, the first preset algorithm includes the frame difference method, and the second preset algorithm includes a lightweight convolutional neural network.
[0013] Secondly, based on the same inventive concept, this disclosure also provides a method for processing a wearable device, applied to a wearable device including an image acquisition module, a pressure sensor, a motion sensor, and a central control module; the processing method includes: The image acquisition module acquires images at an initial frame rate and generates image data. The motion sensor continuously collects the wearer's motion status data in the environment based on the motion sampling period; The pressure sensor continuously collects the ambient pressure value of the wearer's environment based on the pressure sampling period; The central control module determines the wearer's first state information based on the motion state data collected in real time by the motion sensor; The central control module determines the wearer's second state information based on the environmental pressure value collected in real time by the pressure sensor; The central control module reads the image data acquired in real time by the image acquisition module, processes the image data using a preset algorithm, and obtains the target processing result; Based on the first state information, the second state information, and the target processing result, the central control module determines the target frame rate for image acquisition and generates a target frame rate acquisition command. The image acquisition module responds to the acquisition of the target frame rate acquisition command, acquires images at the target frame rate, and generates image data.
[0014] Furthermore, The central control module reads two adjacent frames of image data, processes the two adjacent frames of image data using a first preset algorithm, and obtains intermediate processing results; wherein, the first preset algorithm includes the frame difference method; After obtaining the intermediate processing result that meets the judgment conditions, the central control module uses a second preset algorithm to process the image data of two adjacent frames to obtain the target processing result; wherein, the second preset algorithm includes a lightweight convolutional neural network.
[0015] The wearable device capable of acquiring images in this embodiment dynamically adjusts the target frame rate of image acquisition based on motion state data acquired by a motion sensor, environmental pressure values acquired by a pressure sensor, and target processing results of image data, thereby reducing the power consumption of the wearable device while ensuring recording quality.
[0016] Other features and advantages of this disclosure will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the disclosure. The objects and other advantages of this disclosure may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1A structural block diagram of a wearable device provided in an embodiment of this disclosure; Figure 2 This is a flowchart illustrating a method for disposing of a wearable device according to an embodiment of the present disclosure. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0020] Firstly, Figure 1 A structural block diagram of a wearable device provided in an embodiment of this disclosure is shown below. Figure 1 As shown, this disclosure provides a wearable device capable of acquiring images, which includes an image acquisition module, a motion sensor, a pressure sensor, and a central control module.
[0021] The image acquisition module is configured to acquire images at an initial frame rate and generate image data; in response to a target frame rate acquisition command, it acquires images at the target frame rate and generates image data. After recording is initiated, the image acquisition module is awakened by a start recording command sent by the central control module, acquires images at the initial frame rate, and generates image data. The image acquisition module includes a camera unit and an image signal processor. The camera unit acquires images, and the image signal processor processes the images to generate image data; for example, it performs downsampling on the images to generate low-resolution image data, or it can generate high-resolution image data without downsampling.
[0022] The motion sensor is configured to continuously collect motion data of the wearer in the environment based on a motion sampling period. The motion sampling period can be the same as the frame interval of the target frame rate of the images acquired by the image acquisition module, or it can be a fixed value. The motion sensor includes a nine-axis motion sensor, which continuously collects motion data of the wearer in the environment at the motion sampling period; the motion data specifically includes: three-dimensional acceleration data, three-dimensional angular velocity data, and three-dimensional magnetic field data.
[0023] The pressure sensor is configured to continuously collect the ambient pressure value of the wearer's environment based on a pressure sampling period. The pressure sampling period can be the same as the frame interval of the target frame rate of the images acquired by the image acquisition module, or it can be a fixed value. Furthermore, the pressure sampling period can be the same as or different from the motion sampling period. Inside the pressure sensor is an extremely thin silicon diaphragm. When ambient pressure acts on the silicon diaphragm, it undergoes a slight bending deformation. This bending deformation induces a piezoresistive effect, changing the resistance value of the resistor integrated on the silicon diaphragm. The circuitry in the pressure sensor converts this resistance change into a voltage signal, which, after analog-to-digital conversion, outputs a precise ambient pressure value. The pressure sensor can normally remain in standby mode and does not need to continuously output ambient pressure values. Based on the pressure sampling period, the central control module sends signals or commands to the pressure sensor at fixed intervals. Upon receiving the signal or command, the pressure sensor determines the ambient pressure value. At this time, the central control module uses the pressure sensor to determine the ambient pressure value of the wearer's environment.
[0024] The central control module is configured to determine the wearer's first state information based on motion state data collected in real time by motion sensors; determine the wearer's second state information based on environmental pressure values collected in real time by pressure sensors; read image data collected in real time by the image acquisition module, process the image data using a preset algorithm, and obtain the target processing result; and determine the target frame rate for image acquisition based on the first state information, the second state information, and the target processing result, and generate a target frame rate acquisition command.
[0025] In this embodiment, the central control module acquires motion state data collected in real time by the motion sensor, namely three-dimensional acceleration data, three-dimensional angular velocity data, and three-dimensional magnetic field data. The central control module can perform modulus calculation or statistical operations on the aforementioned nine-dimensional motion state data, or on the six-dimensional motion state data composed of the three-dimensional acceleration data and the three-dimensional angular velocity data, such as obtaining the modulus, the effective value of the sliding window, or the variance, to generate motion feature values, and compare the motion feature values with a first preset threshold to determine the wearer's first state information.
[0026] In this embodiment of the disclosure, each time the central control module determines the environmental pressure value of the wearer's environment through the pressure sensor, it determines the environmental feature value of the wearer's current location based on the latest acquired environmental pressure value; the central control module acquires at least two frames of environmental pressure values determined by the pressure sensor, determines at least two frames of environmental feature values corresponding to the at least two frames of environmental pressure values, and judges the wearer's position change in the environment based on the at least two frames of environmental feature values, thereby determining the wearer's second state information.
[0027] The wearable device capable of acquiring images in this embodiment uses a motion sensor to collect the wearer's motion state data. Based on the real-time motion state data collected by the motion sensor, a first state information of the wearer is determined. A pressure sensor collects the environmental pressure value of the wearer's environment. Based on the real-time environmental pressure value collected by the pressure sensor, a second state information of the wearer is determined. Image data collected in real-time by the image acquisition module is read, and the image data is processed using a preset algorithm to obtain a target processing result. Based on the first state information, the second state information, and the target processing result, a target frame rate for image acquisition is determined, and a target frame rate acquisition command is generated. The image acquisition module responds to the acquisition of the target frame rate acquisition command by acquiring images at the target frame rate and generating image data. Integrating the image acquisition function into the wearable device eliminates the need for an external recording device, enabling video recording in multiple scenarios. Furthermore, based on the motion state data collected by the motion sensor, the environmental pressure value collected by the pressure sensor, and the target processing result of the image data, the target frame rate for image acquisition is dynamically adjusted, thereby reducing the power consumption of the wearable device while ensuring recording quality.
[0028] In this embodiment, the central control module generates motion feature values based on the motion state data collected in real time by the motion sensor, namely three-dimensional acceleration data, three-dimensional angular velocity data, and three-dimensional magnetic field data, and compares the motion feature values with a first preset threshold. When the motion feature value is greater than the first preset threshold, the wearer's motion amplitude in the environment is large, and the wearer's first state information is that the wearer is in motion, which meets the first preset condition. When the motion feature value is less than the first preset threshold, the wearer's motion amplitude in the environment is small or in a stationary state, and the wearer's first state information is that the wearer is in a non-motion state, which does not meet the first preset condition.
[0029] Furthermore, this disclosure integrates image acquisition functionality into a wearable device. Leveraging the waterproof capabilities of current consumer-grade wearable devices, underwater waterproof recording is possible, assuming the wearer's environment is underwater, for example, during a diving activity. The environmental pressure value is water pressure, and the environmental characteristic value is water depth. The formula for calculating the water depth at the wearer's location based on the environmental pressure value is specifically expressed as: ; in, Indicates water depth. This indicates the ambient pressure value detected by the pressure sensor. This represents the basic atmospheric pressure value above the water surface. Represents gravitational acceleration. This indicates water density, which includes both seawater and freshwater density. When it's uncertain whether the wearer is in the sea, seawater density can be used by default to calculate water depth. If the wearer is currently in the sea, the water density is seawater density, approximately 1025 kg / m³. If the wearer is not currently in the sea, the water density is freshwater density, approximately 1000 kg / m³. The wearer's current location can be preset by the wearer, or the central control module can continuously read the location data from the positioning module at a preset positioning cycle to determine whether the wearer is in the sea. The central control module can use the latitude and longitude of the location data and the preset latitude and longitude range of the sea area to determine whether the wearer is in the sea area, or it can determine this through other means such as networking.
[0030] The central control module acquires at least two frames of environmental pressure values determined by the pressure sensor, determines the water depth corresponding to each of the at least two frames of environmental pressure values, and judges the wearer's position change in the environment based on the at least two water depths corresponding to the at least two frames of environmental pressure values. The position change includes surfacing, diving, and no change in depth. If the water depth acquired earlier is greater than the water depth acquired later, the wearer's position change in the environment is surfacing, and the wearer's second state information is that the wearer is in a vertical movement state, which meets the second preset condition. If the water depth acquired earlier is less than the water depth acquired later, the wearer's position change in the environment is diving, and the wearer's second state information is that the wearer is in a vertical movement state, which meets the second preset condition. If the difference between the water depth acquired earlier and the water depth acquired later is less than a preset difference threshold, the wearer's position change in the environment is no change in depth or a very small change that can be regarded as no change in depth, and the wearer's second state information is that the wearer is not in a vertical movement state, which does not meet the second preset condition. Understandably, vertical motion is perpendicular to the tangential plane of the ground or sea level. Vertical motion does not mean that the wearer only makes vertical movements, but rather that movements occur in the vertical direction, such as the aforementioned surfacing and diving in water, as well as the surfacing or diving that occurs during underwater movement.
[0031] In this embodiment, the central control module is further configured to read two adjacent frames of image data, process the two adjacent frames of image data using a first preset algorithm, and obtain intermediate processing results. The image acquisition module stores the image data in a designated storage area, and the central control module can read the image data from the designated storage area. The designated storage area can be a storage unit set in the central control module, or any available volatile or non-volatile storage area in the wearable device, used to cache or store the image data output by the image acquisition module. The specific selection and setting method of the designated storage area are not specifically limited here. The first preset algorithm includes a frame difference method, and the intermediate processing result is the processing result obtained after processing two adjacent frames of image data using the frame difference method. The frame difference method determines whether there is motion in the scene by comparing the differences between corresponding pixels in two consecutive frames of image data. The grayscale value of each pixel in the previous frame image data and the grayscale value of the corresponding pixel in the next frame image data are obtained. The absolute value of the difference between the grayscale values of the two frames at the same pixel is calculated. When the absolute value of the difference is greater than a second preset threshold, the pixel is marked as a moving pixel; otherwise, it is marked as a stationary pixel. The second preset threshold is a pre-set grayscale difference judgment threshold. The marking results of all pixels are statistically analyzed to form a binary motion mask. In the binary motion mask, moving pixels are marked as 1, and stationary pixels are marked as 0. Further, the total number of moving pixels marked as 1 in the binary motion mask is counted as the motion value. When the motion value is greater than a third preset threshold, it is determined that the judgment condition is met, and it is determined that there is a moving target in the two adjacent frames of image data.
[0032] After obtaining intermediate processing results that meet the judgment criteria, a second preset algorithm is used to process the two adjacent frames of image data to obtain the target processing result. The second preset algorithm includes a lightweight convolutional neural network (CNN). A lightweight CNN refers to a network with few parameters, low computational cost, and suitability for operation on devices with limited computing and energy resources. For example, a CNN model running on a wearable device can be a lightweight CNN, which is built based on depthwise separable convolution. Depthwise separable convolution decomposes standard convolution into two steps: depthwise convolution and pointwise convolution. Depthwise convolution performs convolution on each input channel using a separate kernel, while pointwise convolution uses a 1×1 convolution to fuse the output of the depthwise convolution. Compared to standard convolution, depthwise separable convolution significantly reduces computational cost. Before processing the two frames of image data using the lightweight CNN, the image data can be preprocessed, for example, by downsampling the image to 96×96 resolution and converting it to grayscale. This lightweight convolutional neural network is a binary classification model for motion and stillness, used to determine whether the motion corresponding to two adjacent frames of image data is real motion or pseudo-motion. For example, it can determine whether it is real motion or pseudo-motion caused by changes in light, swaying leaves, or undulating water plants. This lightweight convolutional neural network processes two frames of image data to obtain a target processing result. This result indicates whether a real moving target exists in the currently captured image. When the target processing result indicates the presence of a real moving target, it meets a third preset condition.
[0033] In some examples, the central control module is also configured to determine the first frame rate as the target frame rate for image acquisition when the first state information does not meet the first preset condition and the second state information does not meet the second preset condition, and then send a downsampling command and a first frame rate acquisition command to the image acquisition module.
[0034] The image acquisition module is also configured to acquire an image at the first frame rate in response to the acquisition of a downsampling command and a first frame rate acquisition command, downsample the acquired image, and generate first image data.
[0035] In this embodiment, the wearer's environment is described as water, for example, a diving activity. After recording begins, the central control module sends a recording start command to the image acquisition module. The image acquisition module, in response to the recording start command, begins acquiring images at an initial frame rate, generating image data; for example, an initial frequency of 60 Hz. The acquired images can be generated without downsampling, resulting in image data with a resolution of 2048×1024. The central control module generates motion feature values based on real-time motion data acquired by the motion sensor and compares these values with a first preset threshold. If the motion feature value is less than the first preset threshold, the wearer is in a non-moving state with no effective movement. Simultaneously, the central control module acquires at least two frames of environmental pressure values determined by the pressure sensor, determining the water depth corresponding to each of the two frames. If the difference between the previously acquired and subsequently acquired water depths is less than a preset difference threshold, the wearer's position in the environment remains unchanged at depth, and the wearer's second state information indicates that the wearer is not in a vertical movement state, which does not meet the second preset condition. At this point, the first frame rate is determined to be the target frame rate for image acquisition. A downsampling command and a first frame rate acquisition command are sent to the image acquisition module. These two commands can be encapsulated into a single command and sent to the image acquisition module. The first frame rate is less than the initial frame rate, which can be 30 frames per second. The downsampling command causes the image acquisition module to downsample the resolution of the acquired image to 480×480.
[0036] Furthermore, after recording has been initiated for a period of time, if the frame rate of the currently captured image by the image acquisition module is greater than the first frame rate, and the central control module determines that the first frame rate does not meet the first preset condition and the second state information does not meet the second preset condition, then the central control module determines the first frame rate as the target frame rate for image acquisition and sends a downsampling command and a first frame rate acquisition command to the image acquisition module. If the central control module determines that the first state information does not meet the first preset condition and the second state information does not meet the second preset condition, but the frame rate of the currently captured image by the image acquisition module is the first frame rate, then only a downsampling command needs to be sent to the image acquisition module. If the central control module determines that the first state information does not meet the first preset condition and the second state information does not meet the second preset condition, but the frame rate of the currently captured image by the image acquisition module is less than the first frame rate, then no downsampling command or first frame rate acquisition command needs to be sent.
[0037] The image acquisition module is also configured to, in response to the acquisition of the downsampling command and the first frame rate acquisition command, acquire an image at the first frame rate, downsample the acquired image from a resolution of 2048×1024 to a resolution of 480×480, and generate first image data; the resolution corresponding to the first image data is 480×480.
[0038] In this embodiment of the disclosure, when the wearer is in a non-moving state and not in a vertical movement state, that is, not making effective movements and not floating or diving, the frame rate of image acquisition is reduced, and the acquired image is downsampled; thereby reducing the algorithm complexity and the power consumption of the wearable device, and also saving unnecessary storage space.
[0039] In some examples, the central control module is also configured to read two frames of first image data at a first preset period, process the first image data using a preset algorithm, and obtain a target processing result. The first preset period is the same as the frame interval of the first frame rate; for example, when the first frame rate is 30 frames per second, the frame interval is 33 milliseconds, and the first preset period is 33 milliseconds. The central control module reads two adjacent frames of first image data, processes them using the first preset algorithm, and obtains an intermediate processing result. After obtaining an intermediate processing result that meets the judgment conditions, a second preset algorithm is used to process the two adjacent frames of first image data to obtain the target processing result.
[0040] If the target processing result meets the third preset condition, that is, the target processing result indicates the existence of a real moving target, the first frame rate is determined to be the target frame rate for image acquisition. At this time, there is no need to send the first frame rate acquisition command to the image acquisition module.
[0041] If the target processing result does not meet the third preset condition, that is, the target processing result indicates that there is no real moving target, the second frame rate is determined to be the target frame rate for image acquisition, and a second frame rate acquisition command is sent to the image acquisition module. The second frame rate is less than the first frame rate, and the second frame rate can be 5 frames.
[0042] The image acquisition module is also configured to acquire an image at the second frame rate in response to the acquisition of the second frame rate acquisition command, and to downsample the acquired image from a resolution of 2048×1024 to a resolution of 480×480 to generate the first image data.
[0043] In this embodiment, if the target processing result does not meet the third preset condition, that is, if the target processing result indicates that there is no real moving target, it means that there is no moving object in the image acquisition module. Taking diving as an example, if the target processing result indicates that there is no real moving target, it means that there are a large number of repetitive images in the acquired image, and the image shows a large area of seawater without underwater targets such as fish or coral. At this time, the frame rate of image acquisition is reduced again to further reduce the power consumption, computing power and storage requirements of the wearable device.
[0044] In some examples, the central control module is also configured to: read two frames of first image data at a second preset period, process the first image data using a preset algorithm, and obtain a target processing result; wherein, the second preset period is the same as the frame interval of the second frame rate, and when the second frame rate is 5 frames, the frame interval is 200 milliseconds, and the second preset period is 200 milliseconds. The central control module reads two adjacent frames of first image data, processes the two adjacent frames of first image data using the first preset algorithm, and obtains an intermediate processing result. After obtaining an intermediate processing result that meets the judgment conditions, the second preset algorithm is used to process the two adjacent frames of first image data to obtain the target processing result.
[0045] If the target processing result does not meet the third preset condition, that is, the target processing result indicates that there is no real moving target, the second frame rate is determined to be the target frame rate for image acquisition. At this time, there is no need to send the second frame rate acquisition command to the image acquisition module.
[0046] If the target processing result meets the third preset condition, that is, the target processing result indicates the existence of a real moving target, the first frame rate is determined to be the target frame rate for image acquisition, and a first frame rate acquisition command is sent to the image acquisition module. At this time, the main control module can be changed to read image data at a first preset period.
[0047] The image acquisition module is also configured to acquire an image at the first frame rate in response to the acquisition of the first frame rate acquisition command, downsample the acquired image, and generate first image data.
[0048] In this embodiment, the target processing result meets the third preset condition, that is, the target processing result indicates the existence of a real moving target, indicating that there is a moving object in the image acquisition module. Continuing with diving as an example, the target processing result indicating the existence of a real moving target indicates that there are underwater targets such as schools of fish and corals in the acquired image. At this time, the frame rate of image acquisition is increased to ensure the quality of image acquisition.
[0049] In some examples, the central control module is also configured to determine the first frame rate as the target frame rate for image acquisition and send a first frame rate acquisition command to the image acquisition module when the first state information meets the first preset condition and the second state information does not meet the second preset condition. The image acquisition module is also configured to acquire an image at the first frame rate in response to the acquisition of the first frame rate acquisition command, and generate second image data.
[0050] In this embodiment, the environment in which the wearer is located is water, for example, the wearer is diving. After the wearable device starts recording, the central control module sends a start recording command to the image acquisition module. The image acquisition module, in response to the start recording command, begins to acquire images at an initial frame rate, generating image data; for example, the initial frequency is 60 Hz, and images are acquired at 60 Hz. The acquired images can be generated without downsampling scaling, resulting in image data with a corresponding resolution of 2048×1024. The central control module generates motion feature values based on the motion state data acquired in real time by the motion sensor, and compares the motion feature values with a first preset threshold. If the motion feature value is greater than the first preset threshold, the wearer is in motion and there is effective motion. The central control module acquires at least two frames of environmental pressure values determined by the pressure sensor, and determines the water depth corresponding to at least two frames of environmental pressure values. If the difference between the previously acquired water depth and the subsequently acquired water depth is less than a preset difference threshold, the wearer's position in the environment changes to a unchanged depth, and the wearer's second state information indicates that the wearer is not in a vertical motion state, which does not meet the second preset condition. At this point, the first frame rate is determined to be the target frame rate for image acquisition, and a first frame rate acquisition command is sent to the image acquisition module. The first frame rate is less than the initial frame rate, and can be 30 frames.
[0051] Furthermore, after recording has been initiated for a period of time, if the frame rate of the currently captured image by the image acquisition module is greater than the first frame rate, the central control module determines that the first state information meets the first preset condition, and the second state information does not meet the second preset condition. In this case, it determines the first frame rate as the target frame rate for image acquisition and sends a first frame rate acquisition command to the image acquisition module. If the central control module determines that the first state information meets the first preset condition, and the second state information does not meet the second preset condition, and the frame rate of the currently captured image by the image acquisition module is the first frame rate, then there is no need to send downsampling commands and first frame rate sampling commands.
[0052] The image acquisition module is also configured to acquire images at the first frame rate in response to the acquisition of the first frame rate acquisition command, and generate second image data; the resolution of the second image data is 2048×1024.
[0053] In this embodiment of the disclosure, when the wearer is in motion but not in a vertical motion state, i.e., performing effective motion but not surfacing or diving, the frame rate of image acquisition is reduced; thereby reducing algorithm complexity and power consumption of the wearable device, and also saving unnecessary storage space.
[0054] In some examples, the central control module is also configured to read two frames of second image data at a first preset period, process the second image data using a preset algorithm, and obtain the target processing result. The first preset period is the same as the frame interval of the first frame rate; for example, when the first frame rate is 30 frames per second, the frame interval is 33 milliseconds, and the first preset period is 33 milliseconds. The central control module reads two adjacent frames of second image data, processes them using the first preset algorithm, and obtains an intermediate processing result. After obtaining an intermediate processing result that meets the judgment conditions, it uses a second preset algorithm to process the two adjacent frames of second image data to obtain the target processing result.
[0055] If the target processing result does not meet the third preset condition, that is, the target processing result indicates that there is no real moving target, the first frame rate is determined to be the target frame rate for image acquisition. At this time, there is no need to send the first frame rate acquisition command to the image acquisition module.
[0056] If the target processing result meets the third preset condition, indicating the existence of a real moving target, the third frame rate is determined as the target frame rate for image acquisition, and a third frame rate acquisition command is sent to the image acquisition module. The third frame rate is greater than the first frame rate, and can be 45 frames per second. At this point, the main control module can switch to reading image data at a third preset period; the third preset period has the same frame interval as the third frame rate (45 frames per second, with a frame interval of 22 milliseconds).
[0057] The image acquisition module is also configured to: in response to the acquisition of the third frame rate acquisition command, acquire an image at the third frame rate and generate second image data.
[0058] In this embodiment, the target processing result meets the third preset condition, that is, the target processing result indicates the existence of a real moving target, indicating that there is a moving object in the image acquisition module. Continuing with diving as an example, the target processing result indicating the existence of a real moving target indicates that there are underwater targets such as schools of fish and corals in the acquired image. At this time, the frame rate of image acquisition is increased to ensure the quality of image acquisition.
[0059] In some examples, the central control module is also configured to, after the second state information meets the second preset condition, determine the fourth frame rate as the target frame rate for image acquisition and send a fourth frame rate acquisition command to the image acquisition module. The fourth frame rate is greater than the third frame rate, and can be 60 frames per second. At this time, the main control module can change to read image data at a fourth preset period; the fourth preset period has the same frame interval as the fourth frame rate, which is 60 frames per second with a frame interval of 16 milliseconds, and the fourth preset period is 16 milliseconds.
[0060] The image acquisition module is also configured to: in response to the acquisition of the fourth frame rate acquisition command, acquire an image at the fourth frame rate and generate second image data.
[0061] In this embodiment, the central control module acquires at least two frames of environmental pressure values determined by the pressure sensor, and determines the water depth corresponding to each of the at least two frames of environmental pressure values. If the water depth acquired earlier is greater than or less than the water depth acquired later, the wearer's position in the environment changes to surfacing or diving. The wearer's second state information indicates that the wearer is in a vertical motion state, which meets the second preset condition. When the wearer is in motion, in a vertical motion state, and the target processing result indicates the presence of a real moving target (i.e., the wearer is performing effective motion while surfacing or diving), and the acquired image contains underwater targets such as schools of fish and corals, the frame rate of image acquisition is increased to ensure the quality of image acquisition.
[0062] In some examples, the central control module is also configured to determine the first frame rate as the target frame rate for image acquisition and send a first frame rate acquisition command to the image acquisition module when the first state information does not meet the first preset condition and the second state information meets the second preset condition. The image acquisition module is also configured to acquire an image at the first frame rate in response to the acquisition of the first frame rate acquisition command, and generate second image data.
[0063] In this embodiment, the environment in which the wearer is located is water, for example, the wearer is diving. After the wearable device starts recording, the central control module sends a start recording command to the image acquisition module. The image acquisition module, in response to the start recording command, begins to acquire images at an initial frame rate, generating image data; for example, the initial frequency is 60 Hz, and images are acquired at 60 Hz. The acquired images can be generated without downsampling or scaling, resulting in image data with a corresponding resolution of 2048×1024. The central control module generates motion feature values based on the motion state data acquired in real time by the motion sensor, and compares the motion feature values with a first preset threshold. If the motion feature value is less than the first preset threshold, the wearer is in a non-moving state, and there is no effective movement. The central control module acquires at least two frames of environmental pressure values determined by the pressure sensor, and determines the water depth corresponding to each of the at least two frames of environmental pressure values. If the water depth acquired earlier is greater than or less than the water depth acquired later, the wearer's position in the environment changes to surfacing or diving, and the wearer's second state information indicates that the wearer is in a vertical movement state, meeting the second preset condition. At this point, the first frame rate is determined to be the target frame rate for image acquisition, and a first frame rate acquisition command is sent to the image acquisition module. The first frame rate is less than the initial frame rate, and can be 30 frames.
[0064] Furthermore, after recording has been initiated for a period of time, if the frame rate of the currently captured image by the image acquisition module is greater than the first frame rate, the central control module determines that the first state information does not meet the first preset condition, and the second state information meets the second preset condition. In this case, it determines the first frame rate as the target frame rate for image acquisition and sends a first frame rate acquisition command to the image acquisition module. If the central control module determines that the first state information does not meet the first preset condition, and the second state information meets the second preset condition, and the frame rate of the currently captured image by the image acquisition module is the first frame rate, then there is no need to send downsampling commands and first frame rate sampling commands.
[0065] The image acquisition module is also configured to acquire images at the first frame rate in response to the acquisition of the first frame rate acquisition command, and generate second image data; the resolution of the second image data is 2048×1024.
[0066] In this embodiment of the disclosure, when the wearer is in motion but not in a vertical motion state, i.e., performing effective motion but not surfacing or diving, the frame rate of image acquisition is reduced; thereby reducing algorithm complexity and power consumption of the wearable device, and also saving unnecessary storage space.
[0067] In some examples, the central control module is also configured to read two frames of second image data at a first preset period, process the second image data using a preset algorithm, and obtain the target processing result. The first preset period is the same as the frame interval of the first frame rate; for example, when the first frame rate is 30 frames per second, the frame interval is 33 milliseconds, and the first preset period is 33 milliseconds. The central control module reads two adjacent frames of second image data, processes them using the first preset algorithm, and obtains an intermediate processing result. After obtaining an intermediate processing result that meets the judgment conditions, it uses a second preset algorithm to process the two adjacent frames of second image data to obtain the target processing result.
[0068] If the target processing result does not meet the third preset condition, that is, the target processing result indicates that there is no real moving target, the first frame rate is determined to be the target frame rate for image acquisition. At this time, there is no need to send the first frame rate acquisition command to the image acquisition module.
[0069] If the target processing result meets the third preset condition, indicating the existence of a real moving target, the third frame rate is determined as the target frame rate for image acquisition, and a third frame rate acquisition command is sent to the image acquisition module. The third frame rate is greater than the first frame rate, and can be 45 frames per second. At this point, the main control module can switch to reading image data at a third preset period; the third preset period has the same frame interval as the third frame rate (45 frames per second, with a frame interval of 22 milliseconds).
[0070] The image acquisition module is also configured to: in response to the acquisition of the third frame rate acquisition command, acquire an image at the third frame rate and generate second image data.
[0071] In this embodiment, the target processing result meets the third preset condition, that is, the target processing result indicates the existence of a real moving target, indicating that there is a moving object in the image acquisition module. Continuing with diving as an example, the target processing result indicating the existence of a real moving target indicates that there are underwater targets such as schools of fish and corals in the acquired image. At this time, the frame rate of image acquisition is increased to ensure the quality of image acquisition.
[0072] In some examples, the central control module is also configured to, after the first state information meets the first preset condition, determine the fourth frame rate as the target frame rate for image acquisition and send a fourth frame rate acquisition command to the image acquisition module. The fourth frame rate is greater than the third frame rate, and can be 60 frames per second. At this time, the main control module can change to read image data at a fourth preset period; the fourth preset period has the same frame interval as the fourth frame rate, which is 60 frames per second with a frame interval of 16 milliseconds, and the fourth preset period is 16 milliseconds.
[0073] The image acquisition module is also configured to: in response to the acquisition of the fourth frame rate acquisition command, acquire an image at the fourth frame rate and generate second image data.
[0074] In this embodiment of the disclosure, when the wearer is in motion, in a vertical motion state, and the target processing result indicates the existence of a real moving target, that is, when the wearer is making effective movement and simultaneously surfacing or diving, and when the captured image contains underwater targets such as schools of fish and corals, the frame rate of image acquisition is increased to ensure the quality of image acquisition.
[0075] In some examples, the central control module is also configured to determine the third frame rate as the target frame rate for image acquisition when the first state information meets the first preset condition and the second state information meets the second preset condition, and then send a third frame rate acquisition command to the image acquisition module.
[0076] The image acquisition module is also configured to acquire images at the third frame rate in response to the acquisition of the third frame rate acquisition command, and generate second image data.
[0077] In this embodiment of the disclosure, since the wearer is in motion and in a vertical motion state, that is, the wearer is making effective movements while rising or falling; therefore, the image is captured at a high frame rate to ensure the quality of the image capture.
[0078] In some examples, the central control module is also configured to read two frames of second image data at a third preset period, process the second image data using a preset algorithm, and obtain the target processing result. The third preset period is the same as the frame interval of the third frame rate; when the third frame rate is 45 frames per second, the frame interval is 22 milliseconds, and the first preset period is also 22 milliseconds. The central control module reads two adjacent frames of second image data, processes them using the first preset algorithm, and obtains an intermediate processing result. After obtaining an intermediate processing result that meets the judgment conditions, it uses a second preset algorithm to process the two adjacent frames of second image data to obtain the target processing result.
[0079] If the target processing result does not meet the third preset condition, that is, the target processing result indicates that there is no real moving target, the third frame rate is determined to be the target frame rate for image acquisition. At this time, there is no need to send the third frame rate acquisition command to the image acquisition module.
[0080] If the target processing result meets the third preset condition, indicating the existence of a real moving target, the fourth frame rate is determined as the target frame rate for image acquisition, and a fourth frame rate acquisition command is sent to the image acquisition module. The fourth frame rate is greater than the third frame rate, and can be 60 frames per second. At this point, the main control module can switch to reading image data at a fourth preset period; the fourth preset period has the same frame interval as the fourth frame rate (60 frames per second, with a frame interval of 16 milliseconds), and the fourth preset period is 16 milliseconds.
[0081] The image acquisition module is also configured to: in response to the acquisition of the third frame rate acquisition command, acquire an image at the third frame rate and generate second image data.
[0082] In some examples, the image acquisition module is also configured to acquire images at a target frame rate, generate first image data based on the acquired images, and simultaneously downsample the acquired images to generate second image data based on the downsampled images; for example, downsampling the acquired image from a resolution of 2048×1024 to a resolution of 480×480, or downsampling the acquired image from a resolution of 480×480 to a resolution of 196×196. The first and second image data are then written to a designated storage area.
[0083] The main control module is also configured to read the second image data, process the second image data using a third preset algorithm, detect the marine life categories and their corresponding locations, map the marine life categories and their corresponding locations to the coordinate space corresponding to the first image data, perform augmented reality overlay processing, generate display image data, and write the display image data to a designated storage area. The display image data can be converted by the display module into a display image carrying the marine life type and its corresponding location, and the display image will be shown to the wearer through a wearable device. The third preset algorithm includes lightweight object detection algorithms, such as the YOLO-Fastest algorithm.
[0084] Furthermore, in marine scenarios, after detecting marine life from the second image data using the third preset algorithm, the main control module determines the water depth at the wearer's current location based on the environmental pressure value collected in real time by the pressure sensor, or determines the water depth range at the wearer's current location based on multiple environmental pressure values collected in real time by the pressure sensor; it also labels the marine life or marine life clusters and the water depth range in which they appear, adding them to the displayed image data, and simultaneously saving the marine life or marine life clusters and the water depth range in which they appear to the database.
[0085] In this disclosure, wearable devices include, but are not limited to, smartwatches, smart bracelets, smart glasses, smart helmets, and other devices that require image acquisition functions.
[0086] Secondly, Figure 2 A flowchart illustrating a method for disposing of a wearable device according to an embodiment of this disclosure is provided, as follows: Figure 2 As shown, based on the same inventive concept, this disclosure also provides a method for processing a wearable device, applied to a wearable device including an image acquisition module, a pressure sensor, a motion sensor, and a central control module; the processing method includes: S1: The image acquisition module acquires images at the initial frame rate and generates image data; S2: The motion sensor continuously collects the wearer's motion status data in the environment based on the motion sampling period; S3: The pressure sensor continuously collects the ambient pressure value of the wearer's environment based on the pressure sampling period; S4: The central control module determines the wearer's initial state information based on the motion state data collected in real time by the motion sensor; S5: The central control module determines the wearer's second state information based on the ambient pressure value collected in real time by the pressure sensor; S6: The central control module reads the image data acquired in real time by the image acquisition module, processes the image data using a preset algorithm, and obtains the target processing result; S7: The central control module determines the target frame rate for image acquisition based on the first state information, the second state information, and the target processing results, and generates a target frame rate acquisition command. S8: The image acquisition module responds to the target frame rate acquisition command, acquires images at the target frame rate, and generates image data.
[0087] In some examples, image data acquired in real time by the image acquisition module is read, and the image data is processed using a preset algorithm to obtain the target processing result, including: S61: The central control module reads two adjacent frames of image data, processes the two adjacent frames of image data using a first preset algorithm, and obtains intermediate processing results; wherein, the first preset algorithm includes the frame difference method.
[0088] S62: After obtaining intermediate processing results that meet the judgment conditions, the central control module uses a second preset algorithm to process the image data of two adjacent frames to obtain the target processing result; wherein, the second preset algorithm includes a lightweight convolutional neural network.
[0089] Although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A wearable device capable of acquiring images, characterized in that, The wearable device includes: an image acquisition module, a pressure sensor, a motion sensor, and a central control module; The image acquisition module is configured to: acquire images at an initial frame rate and generate image data; and acquire images at a target frame rate and generate image data in response to the acquisition of a target frame rate acquisition command. The motion sensor is configured to continuously collect motion state data of the wearer in the environment based on the motion sampling period; The pressure sensor is configured to continuously collect the ambient pressure value of the wearer's environment based on the pressure sampling period; The central control module is configured to: determine the wearer's first state information based on the motion state data collected in real time by the motion sensor; determine the wearer's second state information based on the environmental pressure value collected in real time by the pressure sensor; read the image data collected in real time by the image acquisition module, process the image data using a preset algorithm, and obtain a target processing result; determine the target frame rate for image acquisition based on the first state information, the second state information, and the target processing result, and generate the target frame rate acquisition command.
2. The device according to claim 1, characterized in that, The central control module is further configured to: when the first status information does not meet the first preset condition and the second status information does not meet the second preset condition, determine the first frame rate as the target frame rate for image acquisition, and send a downsampling command and a first frame rate acquisition command to the image acquisition module; The image acquisition module is further configured to: in response to the acquisition of the downsampling command and the first frame rate acquisition command, acquire an image at the first frame rate, downsample the acquired image, and generate first image data.
3. The device according to claim 2, characterized in that, The central control module is further configured to: read two frames of the first image data at a first preset period, process the first image data using a preset algorithm, and obtain a target processing result; wherein, the first preset period is the same as the frame interval of the first frame rate; If the target processing result meets the third preset condition, the first frame rate is determined to be the target frame rate for image acquisition. If the target processing result does not meet the third preset condition, the second frame rate is determined to be the target frame rate for image acquisition, and a second frame rate acquisition command is sent to the image acquisition module. The image acquisition module is further configured to: in response to the acquisition of the second frame rate acquisition command, acquire an image at the second frame rate, downsample the acquired image, and generate the first image data; wherein the second frame rate is less than the first frame rate.
4. The device according to claim 3, characterized in that, The central control module is further configured to: read two frames of the first image data at a second preset period, process the first image data using the preset algorithm, and obtain the target processing result; wherein the second preset period is the same as the frame interval of the second frame rate; If the target processing result does not meet the third preset condition, the second frame rate is determined to be the target frame rate for image acquisition. If the target processing result meets the third preset condition, the first frame rate is determined to be the target frame rate for image acquisition, and a first frame rate acquisition command is sent to the image acquisition module. The image acquisition module is further configured to: in response to the acquisition of the first frame rate acquisition command, acquire an image at the first frame rate, downsample the acquired image, and generate the first image data.
5. The device according to claim 1, characterized in that, The central control module is further configured to: when the first status information meets the first preset condition and the second status information does not meet the second preset condition, determine the first frame rate as the target frame rate for image acquisition, and send the first frame rate acquisition command to the image acquisition module; The image acquisition module is further configured to: in response to the acquisition of the first frame rate acquisition command, acquire an image at the first frame rate and generate second image data.
6. The device according to claim 5, characterized in that, The central control module is further configured to: read two frames of the second image data at a first preset period, process the second image data using a preset algorithm, and obtain a target processing result; wherein, the first preset period is the same as the frame interval of the first frame rate; If the target processing result does not meet the third preset condition, the first frame rate is determined to be the target frame rate for image acquisition. If the target processing result meets the third preset condition, the third frame rate is determined to be the target frame rate for image acquisition, and a third frame rate acquisition command is sent to the image acquisition module. The image acquisition module is further configured to: in response to the acquisition of the third frame rate acquisition command, acquire an image at the third frame rate and generate the second image data; wherein the third frame rate is greater than the first frame rate.
7. The device according to claim 6, characterized in that, The central control module is also configured to: after the second status information meets the second preset condition, determine the fourth frame rate as the target frame rate for image acquisition, and send a fourth frame rate acquisition command to the image acquisition module; The image acquisition module is further configured to: in response to the acquisition of the fourth frame rate acquisition command, acquire an image at the fourth frame rate and generate the second image data; wherein the fourth frame rate is greater than the third frame rate.
8. The device according to any one of claims 1-7, characterized in that, The central control module is further configured to: read two adjacent frames of image data, process the two adjacent frames of image data using a first preset algorithm, and obtain an intermediate processing result; after obtaining the intermediate processing result that meets the judgment conditions, process the two adjacent frames of image data using a second preset algorithm to obtain a target processing result; wherein, the first preset algorithm includes the frame difference method, and the second preset algorithm includes a lightweight convolutional neural network.
9. A method for disposing of a wearable device, characterized in that, Applied to wearable devices including an image acquisition module, a pressure sensor, a motion sensor, and a central control module; the processing method includes: The image acquisition module acquires images at an initial frame rate and generates image data. The motion sensor continuously collects the wearer's motion status data in the environment based on the motion sampling period; The pressure sensor continuously collects the ambient pressure value of the wearer's environment based on the pressure sampling period; The central control module determines the wearer's first state information based on the motion state data collected in real time by the motion sensor; The central control module determines the wearer's second state information based on the environmental pressure value collected in real time by the pressure sensor; The central control module reads the image data acquired in real time by the image acquisition module, processes the image data using a preset algorithm, and obtains the target processing result; Based on the first state information, the second state information, and the target processing result, the central control module determines the target frame rate for image acquisition and generates a target frame rate acquisition command. The image acquisition module responds to the acquisition of the target frame rate acquisition command, acquires images at the target frame rate, and generates image data.
10. The treatment method according to claim 9, characterized in that, The process of reading image data acquired in real time by the image acquisition module, processing the image data using a preset algorithm, and obtaining the target processing result includes: The central control module reads two adjacent frames of image data, processes the two adjacent frames of image data using a first preset algorithm, and obtains intermediate processing results; wherein, the first preset algorithm includes the frame difference method; After obtaining the intermediate processing result that meets the judgment conditions, the central control module uses a second preset algorithm to process the image data of two adjacent frames to obtain the target processing result; wherein, the second preset algorithm includes a lightweight convolutional neural network.
