WO2023005403A1 - 呼吸率检测方法、装置、存储介质及电子设备 - Google Patents
呼吸率检测方法、装置、存储介质及电子设备 Download PDFInfo
- Publication number
- WO2023005403A1 WO2023005403A1 PCT/CN2022/096219 CN2022096219W WO2023005403A1 WO 2023005403 A1 WO2023005403 A1 WO 2023005403A1 CN 2022096219 W CN2022096219 W CN 2022096219W WO 2023005403 A1 WO2023005403 A1 WO 2023005403A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- target
- target object
- preset
- breathing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/08—Measuring devices for evaluating the respiratory organs
- A61B5/0816—Measuring devices for examining respiratory frequency
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/01—Measuring temperature of body parts ; Diagnostic temperature sensing, e.g. for malignant or inflamed tissue
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/7264—Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/7264—Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
- A61B5/7267—Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems involving training the classification device
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
- G06F18/253—Fusion techniques of extracted features
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
Definitions
- the present disclosure relates to the technical field of computer vision, and in particular to a breathing rate detection method, device, storage medium and electronic equipment.
- the respiration rate is an important physiological parameter for analyzing the state of the human body.
- Related technologies usually detect the respiration rate of the human body through a contact respiration rate detection device, such as a breathing belt or an electronic respiration rate measuring instrument.
- a contact respiration rate detection device such as a breathing belt or an electronic respiration rate measuring instrument.
- Contact-type respiration rate detection equipment cannot perform non-contact respiration rate detection on the human body. Therefore, it is difficult for related technologies to meet the demand for non-contact respiration rate detection.
- the disclosure proposes a breathing rate detection method, device, storage medium and electronic equipment.
- a breathing rate detection method which includes: acquiring at least two thermal images, the at least two thermal images are rendered based on temperature information in a preset area, and the preset area includes a target object, and the breathing area of the target object falls into the target area determined based on the preset area; for each of the at least two thermal images, extracting the temperature information of the target area in the thermal image, Wherein, the temperature information of the target object in the at least two thermal images changes periodically following the respiration of the target object; and the respiration rate of the target object is determined according to the extracted temperature information.
- the respiration rate of the target object can be determined by analyzing the temperature information of the target area of the thermal image, so that the respiration rate detection result can be obtained without touching the target object, realizing non-contact detection and filling the gap It is blank in the contact detection scene, and has good detection speed and detection accuracy.
- the respiration rate detection method is applied to a respiration rate detection device, and the respiration rate detection device includes a thermal imaging device, and the shooting area of the thermal imaging device is the preset area, and the method It also includes: acquiring a video stream, the frame images in the video stream are rendered based on the temperature information captured by the thermal imaging device; displaying the video stream, and marking the target area on the corresponding In the picture; said acquiring at least two thermal images includes: extracting at least two target frame images in the video stream as the at least two thermal images, and the at least two target frame images are the video frame images in the stream that meet a preset requirement, the preset requirement is that the target object enters the preset area and the breathing area of the target object falls within the target area of the at least two target frame images.
- the frame image captured by the thermal imaging device can be displayed, and the target area can be marked in the display result, so that the target object can adjust its own posture and position according to the displayed picture, so as to ensure that the thermal image captured , its own breathing area falls into the target area, so as to ensure that the subsequent breathing rate based on the temperature information analysis of the target area is accurate.
- the method before acquiring the video stream, further includes: monitoring the temperature state of the preset area; if the temperature state of the preset area changes, judging whether there is a target The object enters the preset area; in response to the fact that the target object enters the preset area, a video stream acquisition instruction is generated, and the video stream acquisition instruction is used to trigger execution of the operation of acquiring the video stream .
- the method before acquiring the video stream, further includes: monitoring the preset area based on a preset sensor, and generating A video stream acquisition instruction, the video stream acquisition instruction is used to trigger execution of the operation of acquiring video stream, and the preset sensor includes a visual sensor or an inductive sensor.
- the preset area can be monitored at low cost, and only when the target object enters the preset area, the above-mentioned thermal imaging device is triggered to start shooting and output a video stream, thereby minimizing the resources of the thermal imaging device consume.
- the method further includes: triggering the execution of the operation of acquiring at least two thermal images in response to a breathing rate detection trigger instruction, where the breathing rate detection trigger instruction is used to indicate the preset requirement is met, the preset requirement is that the target object enters the preset area and the breathing area of the target object falls into the target area.
- the activation frequency of the respiration rate detection can be reduced, thereby reducing the resource consumption of the respiration rate detection.
- the method further includes: performing breathing area prediction on the frame images in the video stream based on a neural network to obtain a breathing area prediction result; combining the breathing area prediction result with the target area When the degree of overlap is higher than the preset threshold, the operation of acquiring at least two thermal images is triggered. Based on the above configuration, the activation frequency of the respiration rate detection can be reduced, thereby reducing the resource consumption of the respiration rate detection.
- the neural network is obtained based on the following method: obtaining a sample thermal image set and labels corresponding to multiple sample thermal images in the sample thermal image set; wherein, the multiple sample thermal images are based on the sample The temperature information of the target object is rendered, and the label points to the breathing area of the sample target object; the breathing area is the mouth and nose area or the mask area; the multiple sample thermal images in the sample thermal image set are characterized Extracting to obtain a feature extraction result; predicting a breathing area according to the feature extraction result to obtain a breathing area prediction result; training the neural network according to the breathing area prediction result and the label. Based on the above configuration, the above neural network can be equipped with the ability to predict the breathing area.
- the performing feature extraction on the multiple sample thermal images in the sample thermal image set to obtain a feature extraction result includes: for each sample thermal image, initializing the sample thermal image Feature extraction to obtain a first feature map; performing composite feature extraction on the first feature map to obtain first feature information, wherein the composite feature extraction includes channel feature extraction; based on the salient features in the first feature information, the Filtering the first feature map to obtain a filtering result; extracting second feature information from the filtering result; fusing the first feature information and the second feature information to obtain a feature extraction result of the sample thermal image.
- information with sufficient discriminative power can be mined, the validity and discriminative power of the second feature information can be improved, and the richness of information in the final feature extraction result can be improved.
- extracting the temperature information corresponding to the target area in the thermal image includes: for the target area in the thermal image, determining the temperature information corresponding to the pixel points in the target area; and calculating temperature information corresponding to the target area according to the temperature information corresponding to the pixel points. Based on the above configuration, by extracting the temperature information of the target area, the respiration rate of the target object can be further determined.
- the determining the respiration rate of the target object according to the extracted temperature information includes: sorting the temperature information according to time sequence to obtain a temperature sequence; Noise reduction processing is performed to obtain a target temperature sequence; based on the target temperature sequence, the respiration rate of the target object is determined. Based on the above configuration, by determining the temperature sequence and performing noise reduction processing on the temperature sequence, the noise that affects the calculation of the respiration rate can be filtered out, so that the obtained respiration rate is more accurate.
- the determining the respiration rate of the target subject based on the target temperature sequence includes: determining a plurality of key points in the target temperature sequence, and the key points are all peak points or mean points. is the valley point; for any two adjacent key points, determine the time interval between the two adjacent key points; according to the time interval, determine the breathing rate. Based on the above configuration, by calculating the time interval between adjacent key points, the respiration rate can be accurately determined.
- a breathing rate detection device comprising: a thermal image acquisition module, configured to acquire at least two thermal images, the at least two thermal images are rendered based on temperature information of a preset area It is obtained that the target object is included in the preset area, and the breathing area of the target object falls into the target area determined based on the preset area; the temperature information extraction module is used for the at least two thermal images For each of the thermal images, the temperature information of the target area in the thermal image is extracted, wherein the temperature information of the target object in the at least two thermal images follows the breathing of the target object and presents periodic changes; the respiration rate is determined A module, configured to determine the respiration rate of the target object according to the extracted temperature information.
- the breathing rate detection device includes a thermal imaging device, and the shooting area of the thermal imaging device is the preset area, and the device further includes a video stream processing module, configured to acquire a video stream, The frame image in the video stream is rendered based on the temperature information captured by the thermal imaging device; the video stream is displayed, and the target area is marked in the picture corresponding to the video stream; the thermal An image acquisition module, configured to extract at least two target frame images from the video stream as the at least two thermal images, and the at least two target frame images are frame images in the video stream that meet preset requirements , the preset requirement is that the target object enters the preset area and the breathing area of the target object falls into the target area of the at least two target frame images.
- the device further includes a first video stream processing trigger module, configured to monitor the temperature state of the preset area; if the temperature state of the preset area changes, determine whether There is a situation that the target object enters the preset area; in response to the fact that the target object enters the preset area, a video stream acquisition instruction is generated, and the video stream acquisition instruction is used to trigger execution of the acquisition video stream operation.
- a first video stream processing trigger module configured to monitor the temperature state of the preset area; if the temperature state of the preset area changes, determine whether There is a situation that the target object enters the preset area; in response to the fact that the target object enters the preset area, a video stream acquisition instruction is generated, and the video stream acquisition instruction is used to trigger execution of the acquisition video stream operation.
- the device further includes a second video stream processing trigger module, configured to monitor the preset area based on preset sensors, and if the monitoring result indicates that there is a target object entering the preset area , generating a video stream acquisition instruction, where the video stream acquisition instruction is used to trigger execution of the operation of acquiring the video stream, and the preset sensor includes a visual sensor or an inductive sensor.
- a second video stream processing trigger module configured to monitor the preset area based on preset sensors, and if the monitoring result indicates that there is a target object entering the preset area , generating a video stream acquisition instruction, where the video stream acquisition instruction is used to trigger execution of the operation of acquiring the video stream, and the preset sensor includes a visual sensor or an inductive sensor.
- the device further includes a detection trigger module, configured to trigger the execution of the operation of acquiring at least two thermal images in response to a respiratory rate detection trigger instruction, the respiratory rate detection trigger instruction being used to indicate The preset requirement is met, the preset requirement is that the target object enters the preset area and the breathing area of the target object falls within the target area.
- a detection trigger module configured to trigger the execution of the operation of acquiring at least two thermal images in response to a respiratory rate detection trigger instruction, the respiratory rate detection trigger instruction being used to indicate The preset requirement is met, the preset requirement is that the target object enters the preset area and the breathing area of the target object falls within the target area.
- the device further includes a detection trigger module, configured to perform breathing area prediction on the frame images in the video stream based on a neural network to obtain a breathing area prediction result; when the breathing area prediction result is compared with When the overlapping degree of the target area is higher than a preset threshold, the operation of acquiring at least two thermal images is triggered.
- a detection trigger module configured to perform breathing area prediction on the frame images in the video stream based on a neural network to obtain a breathing area prediction result; when the breathing area prediction result is compared with When the overlapping degree of the target area is higher than a preset threshold, the operation of acquiring at least two thermal images is triggered.
- the neural network is obtained based on the following method: obtaining a sample thermal image set and labels corresponding to multiple sample thermal images in the sample thermal image set; wherein, the multiple sample thermal images are based on the sample The temperature information of the target object is rendered, and the label points to the breathing area of the sample target object; the breathing area is the mouth and nose area or the mask area; the multiple sample thermal images in the sample thermal image set are characterized Extracting to obtain a feature extraction result; predicting a breathing area according to the feature extraction result to obtain a breathing area prediction result; training the neural network according to the breathing area prediction result and the label.
- the device includes a feature extraction module, configured to perform initial feature extraction on the sample thermal image for each sample thermal image to obtain a first feature map; perform composite feature extraction on the first feature map Extracting to obtain the first feature information, wherein the composite feature extraction includes channel feature extraction; based on the salient features in the first feature information, the first feature map is filtered to obtain a filtering result; the second filtering result is extracted Feature information: fusing the first feature information and the second feature information to obtain a feature extraction result of the thermal image of the sample.
- a feature extraction module configured to perform initial feature extraction on the sample thermal image for each sample thermal image to obtain a first feature map; perform composite feature extraction on the first feature map Extracting to obtain the first feature information, wherein the composite feature extraction includes channel feature extraction; based on the salient features in the first feature information, the first feature map is filtered to obtain a filtering result; the second filtering result is extracted Feature information: fusing the first feature information and the second feature information to obtain a feature extraction result of the thermal image of the sample.
- the temperature information extraction module is configured to, for the target area in the thermal image, determine temperature information corresponding to pixels in the target area; calculate Temperature information corresponding to the target area.
- the respiration rate determination module is configured to sort the temperature information in time order to obtain a temperature sequence; perform noise reduction processing on the temperature sequence to obtain a target temperature sequence; based on the A target temperature sequence to determine the target subject's respiration rate.
- the respiration rate determination module is configured to determine a plurality of key points in the target temperature sequence, and the key points are all peak points or valley points; for any two adjacent The key point is to determine the time interval between the two adjacent key points; according to the time interval, the respiration rate is determined.
- an electronic device including at least one processor, and a memory communicatively connected to the at least one processor; wherein, the memory stores information executable by the at least one processor. instructions, the at least one processor implements the respiration rate detection method according to any one of the first aspect by executing the instructions stored in the memory.
- a computer-readable storage medium is provided, at least one instruction or at least one program is stored in the computer-readable storage medium, and the at least one instruction or at least one program is loaded by a processor and Execute to realize the respiration rate detection method described in any one of the first aspect or the respiration rate detection method described in any one of the second aspect.
- Fig. 1 shows a schematic flow chart of a breathing rate detection method according to an embodiment of the present disclosure
- Fig. 2 shows a schematic diagram of a breathing rate detection scenario according to an embodiment of the present disclosure
- Fig. 3 shows a schematic diagram of a target object posture position adjustment scene according to an embodiment of the present disclosure
- FIG. 4 shows a schematic flow diagram of a feature extraction method according to an embodiment of the present disclosure
- Fig. 5 shows a schematic flow chart of determining the respiration rate of a target object according to the extracted temperature information according to an embodiment of the present disclosure
- Fig. 6 shows a schematic flow chart of determining a target subject's respiration rate based on extracted target temperature information according to an embodiment of the present disclosure
- Fig. 7 shows a block diagram of a breathing rate detection device according to an embodiment of the present disclosure
- Fig. 8 shows a block diagram of an electronic device according to an embodiment of the present disclosure
- FIG. 9 shows a block diagram of another electronic device according to an embodiment of the present disclosure.
- An embodiment of the present disclosure provides a breathing rate detection method, which can analyze the breathing rate of the subject based on the temperature change in the target area in the thermal image captured by the thermal imaging device, so that no direct contact with the subject is required
- the respiration rate of the photographed subject can be obtained, thereby satisfying people's objective demand for non-contact measurement of the respiration rate.
- the embodiments of the present disclosure may be used in various specific scenarios that require non-contact measurement of the respiration rate, and the embodiments of the present disclosure are not specifically limited to the specific scenarios.
- the method provided by the embodiments of the present disclosure can be used to detect the non-contact breathing rate in scenes requiring isolation, in crowded scenes, in some public places with special requirements, and the like.
- the respiration rate detection method provided by the embodiments of the present disclosure may be executed by a terminal device, a server or other types of electronic devices, wherein the terminal device may be a user equipment (User Equipment, UE), a mobile device, a user terminal, a cellular phone, a cordless phone , Personal Digital Assistant (PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc.
- the method for detecting the respiration rate may be implemented by the processor invoking computer-readable instructions stored in the memory. The method for detecting the respiration rate in the embodiment of the present disclosure will be described below by taking an electronic device as an execution body as an example.
- Fig. 1 shows a schematic flow chart of a breathing rate detection method according to an embodiment of the present disclosure. As shown in Fig. 1, the above method includes:
- S101 Acquire at least two thermal images, the thermal images are rendered based on temperature information of a preset area, the preset area includes a target object, and the breathing area of the target object falls into the target area determined based on the preset area .
- the thermal image in the embodiments of the present disclosure may be obtained by imaging a thermal imaging device, and the shooting area of the thermal imaging device is the aforementioned preset area.
- an area can be divided as the preset area, and the thermal imaging device is adjusted until the visual range of the thermal imaging device includes the preset area, for example, the visual range coincides with the preset area.
- the embodiment of the present disclosure can acquire temperature information of each location point in the shooting area, and render a thermal image based on the temperature information.
- the embodiment of the present disclosure detects the respiration rate according to the periodic variation of temperature in the thermal image, so at least two thermal images are required.
- Embodiments of the present disclosure are intended to measure respiration rate, which is a physiological parameter, and the above-mentioned target object is a living body, such as a human being.
- the embodiment of the present disclosure does not limit the control mode of the thermal imaging device, which may be triggered in response to a preset command, for example, a controller or a related sensor triggers a related control, and the thermal imaging device can start shooting.
- the thermal imaging device may also be triggered in response to sensing information, for example, when the ambient temperature rises to a preset threshold, the thermal imaging device may automatically start taking pictures.
- the thermal imaging device can also be triggered periodically.
- the embodiment of the present disclosure does not limit the photographing mode of the thermal imaging device, for example, its photographing frame rate, photographing resolution mode, etc. can be set according to actual conditions.
- the thermal imaging device can output the captured thermal image in the form of a video stream.
- a video stream may be acquired, and frame images in the video stream are rendered based on temperature information captured by the thermal imaging device.
- the video stream is displayed, and the target area is marked in a picture corresponding to the video stream.
- FIG. 2 shows a schematic diagram of a respiration rate detection scenario according to an embodiment of the present disclosure.
- the thermal imaging device can perform thermal imaging of the preset area 1, and output a corresponding video stream, and each frame of image in the video stream All are rendered based on the temperature information of the preset area 1.
- a key area 2 can be determined based on the preset area 1, and when the target object enters the preset area 1 and the breathing area falls into the key area 2, the temperature change law of the key area 2 can reflect the breathing of the target object Rate.
- the corresponding area of the key area 2 in the thermal image captured by the thermal imaging device can be uniquely determined, and this area is the above-mentioned target area 3 .
- the target area 3 points to the area used to extract temperature change information in the frame image, that is to say, by extracting the temperature information of the target area 3 and analyzing its change law, the respiration rate of the target object can be determined.
- the following uses a single target area as an example for illustration. The case of multiple target areas is based on the same inventive concept as the case of a single target area.
- the above-mentioned video stream can be displayed, and the target area 3 can be marked on the display screen, so that the target object can adjust the posture position according to the display screen to ensure the breathing of the target object in the display screen.
- the area falls into the target area 3
- the attitude position in the present disclosure means attitude and/or position.
- the shooting result of the target object by the thermal imaging device can be displayed, and the position corresponding to the target area 3 is also marked in the display screen, so that the target object can observe by itself.
- FIG. 3 shows a schematic diagram of a target object pose position adjustment scenario according to an embodiment of the present disclosure.
- the embodiment of the present disclosure considers that the change law of the temperature information corresponding to the target area 3 can accurately reflect the breathing rate of the target subject.
- the embodiment of the present disclosure can extract at least two target frame images from the above video stream as at least two thermal images in step S101, the above target frame images are frame images in the above video stream that meet the preset requirements,
- the preset requirement is that the target object enters the preset area and the breathing area of the target object falls into the target area of the target frame image.
- the breathing area of the target object can be the mouth and nose area or the mask area.
- the mouth and nose area can be understood as the mouth area and/or the nose area.
- the mouth area and the nose area can be regarded as breathing area, or the mouth area and nasal area can be combined as one breathing area.
- the frame image captured by the thermal imaging device can be displayed, and the target area can be marked in the display result, so that the target object can adjust its own posture and position according to the displayed picture, so as to ensure that the thermal image captured , its own breathing area falls into the target area, so as to ensure that the subsequent breathing rate based on the temperature information analysis of the target area is accurate.
- the temperature state of the aforementioned preset area may also be monitored.
- the temperature state of the preset area changes, it is determined whether the target object enters the preset area. If it exists, a video stream acquisition instruction is generated, and the video stream acquisition instruction is used to trigger execution of the above video stream acquisition operation.
- the above-mentioned thermal imaging device can be triggered intermittently to monitor the temperature state of a preset area, and then only when the target object enters the preset area, the thermal imaging device outputs the above-mentioned video stream, and the target object has not yet entered the preset area.
- the above video stream may not be output.
- the intermittent shooting of the thermal imaging device can significantly reduce resource consumption compared to outputting the above video stream, that is to say, by multiplexing the thermal imaging device, the thermal imaging device can be started intermittently without the target object entering the preset area , and output the video stream when the target object is determined to enter the preset area, so as to achieve the purpose of reducing the resource consumption of the thermal imaging device to the greatest extent without additional hardware costs.
- the preset area may also be monitored based on a preset sensor, and when the monitoring result indicates that a target object enters the preset area, a video stream acquisition instruction is generated, and the video stream acquisition instruction
- the preset sensor includes a visual sensor or an inductive sensor.
- the vision sensor which may be, for example, a color sensor or a grayscale sensor.
- the inductive sensor for example, it may be an infrared sensor or a microwave sensor.
- the preset area can be monitored at low cost, and only when the target object enters the preset area, the above-mentioned thermal imaging device is triggered to start shooting and output a video stream, thereby minimizing Resource consumption of thermal imaging devices.
- the temperature analysis of the target area can accurately reflect the breathing rate only when the preset requirement is met.
- the preset requirement can be expressed as the target object enters the preset area and the breathing area of the target object fall into the above target area.
- step S101 may be triggered to be executed when a preset requirement is met. Based on the above configuration, the activation frequency of the respiration rate detection can be reduced, thereby reducing the resource consumption of the respiration rate detection.
- the operation of acquiring at least two thermal images may be triggered in response to a breathing rate detection trigger instruction, where the breathing rate detection trigger instruction is used to indicate that the preset requirement is met.
- the breathing rate detection trigger instruction is used to indicate that the preset requirement is met.
- Embodiments of the present disclosure do not limit the triggering manner of the breathing rate detection triggering instruction, which may be triggered manually or by a machine. Taking the scene shown in Figure 3 as an example, after the target object enters the preset area, it can adjust its position and posture according to the display screen. When it determines that its own breathing area falls into the target area of the screen, it can trigger it by itself or inform others. The above respiration rate detection command.
- the screen shown in FIG. 3 can also be displayed on the display interface (respiratory rate detection operator) of other users, and the respiration rate detection trigger instruction is triggered by the respiratory rate detection operator.
- breathing area prediction may also be performed on frame images in the video stream based on a neural network to obtain a breathing area prediction result.
- a preset threshold a preset threshold
- the above operation of acquiring at least two thermal images is triggered.
- Embodiments of the present disclosure do not limit the preset threshold, which can be set independently according to actual conditions. Based on this configuration, automatic respiration rate detection can be realized without manually controlling the start timing of the respiration rate detection method.
- a neural network in the field of machine learning is a deep learning model that imitates the structure and function of biological neural networks.
- Machine learning (Machine Learning, ML) is a multi-field interdisciplinary subject, involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. Specializes in the study of how computers simulate or implement human learning behaviors to acquire new knowledge or skills, and reorganize existing knowledge structures to continuously improve their performance.
- Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent, and its application pervades all fields of artificial intelligence.
- Machine learning and deep learning usually include techniques such as artificial neural network, belief network, reinforcement learning, transfer learning, inductive learning, and teaching learning.
- Deep learning (Deep Learning, DL) is a branch of machine learning, which is an algorithm that attempts to perform high-level abstraction on data using multiple processing layers that contain complex structures or consist of multiple nonlinear transformations.
- the sample thermal image set and the label corresponding to the sample image in the sample thermal image set can be obtained; the above sample thermal image is rendered based on the temperature information of the sample target object, and the above label points to the breathing area of the above sample target object; the above breathing area is Mouth and nose area or mask area; perform feature extraction on the thermal image of the above sample to obtain the feature extraction result; predict the breathing area according to the above feature extraction result, and obtain the prediction result of the breathing area; train the above neural network according to the above prediction result of the breathing area and the above label . Based on the above configuration, the trained neural network can be made capable of predicting the breathing area.
- the embodiment of the present disclosure does not describe the above training process in detail.
- the above neural network can perform feature extraction layer by layer based on the feature pyramid, predict the breathing area according to the extracted feature information, and adjust the parameters of the neural network according to the difference between the predicted breathing area and the above label. Since the sample thermal image is rendered based on temperature information, its clarity may be lower than that of the visible light image. In order to obtain sufficient discriminative feature information, the embodiments of the present disclosure optimize the feature extraction process.
- FIG. 4 shows a schematic flowchart of a feature extraction method according to an embodiment of the present disclosure.
- the above feature extraction includes:
- the embodiment of the present disclosure does not limit the specific method of initial feature extraction.
- at least one stage of convolution processing may be performed on the above image to obtain the above first feature map.
- a plurality of image feature extraction results of different scales may be obtained, and at least two image feature extraction results of different scales may be fused to obtain the first feature map.
- the above-mentioned performing composite feature extraction on the above-mentioned first feature map to obtain the first feature information may include: performing image feature extraction on the above-mentioned first feature map to obtain a first extraction result.
- Channel information is extracted from the first feature map to obtain a second extraction result.
- the above-mentioned first extraction result and the above-mentioned second extraction result are fused to obtain the above-mentioned first feature information.
- the embodiment of the present disclosure does not limit the method for extracting image features from the above-mentioned first feature map. Exemplarily, it may perform at least one level of convolution processing on the above-mentioned first feature map to obtain the above-mentioned first extraction result.
- the channel information extraction in the embodiment of the present disclosure can focus on the mining of the relationship between the channels in the first feature map. Exemplarily, it can be realized based on fusion of multi-channel features.
- the composite feature extraction in the embodiment of the present disclosure can not only retain the low-level information of the first feature map itself, but also fully extract high-level inter-channel information by fusing the above-mentioned first extraction result and the above-mentioned second extraction result to improve mining.
- the information richness and expressive power of the first feature information obtained.
- at least one fusion method may be used, and the embodiment of the present disclosure does not limit the fusion method, at least one of dimensionality reduction, addition, multiplication, inner product, convolution, and averaging. Combinations can be used for fusion.
- the salient feature may refer to signal information that is highly consistent with a heartbeat frequency of a living body (for example, a person) in the first feature information. Since the distribution of the salient features in the first feature information is relatively scattered, 70% of the information in the more salient area may be basically consistent with the heartbeat frequency, and the less salient area actually includes salient features.
- the embodiment of the present disclosure does not limit the salient feature judgment method, which may be based on a neural network or based on expert experience.
- the above-mentioned suppressing the above-mentioned salient features in the filtering results to obtain the second feature map includes: performing feature extraction on the above-mentioned filtering results to obtain target features, and the above-mentioned The target feature is extracted by performing composite feature extraction to obtain target feature information, and based on the salient features in the target feature information, the target feature is filtered to obtain the above second feature map.
- the stop condition is that the proportion of the salient features in the second feature map is less than 5%, and for example, the stop condition is that the number of updates of the second feature map reaches the preset number of times
- the stop condition is that the number of updates of the second feature map reaches the preset number of times
- the salient features can be filtered layer by layer based on the hierarchical structure, and compound feature extraction including channel information extraction can be performed based on the filtering results to obtain the second feature information including multiple target feature information, and discriminative information can be mined layer by layer , improve the validity and discriminative power of the second feature information, and then improve the richness of information in the final feature extraction result.
- the feature extraction method in the embodiments of the present disclosure can be used to perform feature extraction on the sample thermal image, and can be used in each of the embodiments of the present disclosure when it is necessary to train a neural network based on the sample thermal image.
- the corresponding position of the key area in the preset area in the thermal image can be determined as the preset area, and the preset area is only related to the position of the key area, and has nothing to do with the position information of each pixel in the thermal image , the target area is uniquely determined according to the preset area.
- the temperature information corresponding to the relevant pixel points in the above target area can be determined; according to the temperature information corresponding to each of the above relevant pixel points, the temperature corresponding to the above target area can be calculated information.
- the respiration rate of the target object can be further determined.
- each pixel in the target area may be the relevant pixel.
- pixel filtering can also be performed based on the temperature information of each pixel in the target area, and the pixels whose temperature information does not meet the preset temperature requirements are filtered out, and the unfiltered pixels are determined as the relevant pixel.
- Embodiments of the present disclosure do not limit the preset temperature requirement, for example, an upper temperature limit, a lower temperature limit or a temperature range may be defined.
- the embodiment of the present disclosure does not limit the specific method for calculating the temperature information corresponding to the target area.
- the mean value or weighted mean value of the temperature information corresponding to each relevant pixel point can be determined as the temperature information corresponding to the target area.
- the embodiment of the present disclosure does not limit the weight value, which can be set by the user according to actual needs.
- the weight value may be anti-correlated with the distance between the corresponding relevant pixel point and the center position of the target area. Exemplarily, if the relevant pixel is closer to the center of the target area, the weight is higher, and if the relevant pixel is farther from the center of the target, the weight is lower.
- the embodiment of the present disclosure considers that when the breathing area of the target object falls into the target area, the breathing of the target object will cause the temperature of the target area to show a periodic change pattern.
- the target object inhales
- the temperature of the target area will follow.
- the target object exhales
- the temperature of the target area will increase accordingly, and the breathing rate of the target object can be determined by analyzing the periodic change rule of the extracted temperature information.
- FIG. 5 shows a schematic flowchart of determining the respiration rate of the target object according to the extracted temperature information according to an embodiment of the present disclosure, including:
- the thermal images can be sorted according to the time sequence of the acquired thermal images to obtain a thermal image sequence, and the temperature information of the target area in each thermal image can be extracted to obtain the temperature sequence.
- each thermal image includes the target object A
- a temperature sequence containing 200 pieces of temperature information can be obtained, and the change law of the temperature information of the temperature sequence reflects the breathing of the target object A. Rate.
- the embodiments of the present disclosure can simultaneously detect the respiration rate of multiple target objects, and only need to ensure that the breathing area of each target object falls into its unique corresponding target area.
- the above operations may be performed for each target area to obtain a corresponding temperature sequence, and then determine the respiration rate of the target object corresponding to the target area.
- a noise reduction processing strategy and a noise reduction processing method may be determined; according to the above noise reduction processing strategy and based on the above noise reduction method, the above temperature sequence is processed to obtain the above target temperature sequence.
- noise reduction processing strategies include at least one of the following: noise reduction based on high-frequency threshold, noise reduction based on low-frequency threshold, random noise filtering, and posterior noise reduction.
- the above noise reduction processing is implemented based on at least one of the following manners: independent component analysis, Laplacian pyramid, bandpass filtering, wavelet, and Hamming window.
- the respiration rate verification conditions and noise reduction experience parameters corresponding to the posterior noise reduction you can set the respiration rate verification conditions and noise reduction experience parameters corresponding to the posterior noise reduction, and denoise the above temperature sequence according to the noise reduction experience parameters to obtain the target temperature sequence.
- the embodiment of the present disclosure does not limit the method for determining the noise reduction experience parameter, which may be obtained according to expert experience.
- FIG. 6 shows a schematic flowchart of determining the respiration rate of a target object based on the extracted target temperature information according to an embodiment of the present disclosure, including:
- the corresponding time intervals can be calculated for every two adjacent key points, and then N-1 time intervals can be determined.
- Embodiments of the present disclosure do not limit the specific method for determining the above-mentioned respiration rate according to the time interval.
- the reciprocal of one of them can be determined as the above-mentioned respiration rate, and the respiration rate can also be determined based on some or all of the time intervals, for example, the above-mentioned several time intervals or all
- the reciprocal of the mean value of the time interval was determined as the above-mentioned respiration rate.
- the embodiments of the present disclosure can accurately determine the respiration rate by calculating the time interval between adjacent key points.
- the respiration rate detection method can determine the respiration rate of the target object by analyzing the temperature information of the target area when the target object enters a preset area and its breathing area falls into the target area.
- the whole process does not require contact with the target object and can be widely used in various scenarios.
- patients can monitor the patient's breathing rate without wearing any equipment, reduce the patient's discomfort, and improve the quality, effectiveness and efficiency of patient monitoring.
- a closed scene such as an office or the lobby of an office building, the breathing rate of the people present is detected to determine whether there is any abnormality.
- the baby's breathing can be detected to prevent the baby from suffocating due to food blocking the airway, and the baby's breathing rate can be analyzed in real time to judge the baby's health status.
- remote-controlled thermal imaging equipment can be used to shoot targets that may become the source of infection, and monitor the vital signs of the target while avoiding infection.
- the respiration rate detection method provided by the embodiments of the present disclosure can determine the respiration rate of the target object by analyzing the temperature information of the target area of the thermal image captured by the thermal imaging device, so as to obtain the respiration rate without touching the target object. High-rate detection results, realize non-contact detection, fill the blank of non-contact detection scene, and have good detection speed and detection accuracy.
- Fig. 7 shows a block diagram of a breathing rate detection device according to an embodiment of the present disclosure. As shown in Figure 7, the above-mentioned devices include:
- the thermal image acquisition module 10 is configured to acquire at least two thermal images, the at least two thermal images are rendered based on the temperature information of a preset area, the preset area includes a target object, and the breathing area of the target object falls within a range based on In the target area determined by the above preset area;
- the temperature information extraction module 20 is configured to extract the temperature information of the target area in the thermal image for each of the at least two thermal images, wherein the temperature information of the target object in the at least two thermal images follows The respiration of the above-mentioned subject exhibits periodic changes;
- the respiration rate determination module 30 is configured to determine the respiration rate of the target object according to the extracted temperature information.
- the breathing rate detection device includes a thermal imaging device, and the shooting area of the thermal imaging device is the preset area, and the device further includes a video stream processing module, configured to obtain a video stream, in which The frame image is rendered based on the temperature information captured by the above-mentioned thermal imaging device; the above-mentioned video stream is displayed, and the above-mentioned target area is marked in the picture corresponding to the above-mentioned video stream; the above-mentioned thermal image acquisition module is used for the above-mentioned video stream At least two target frame images are extracted from the above-mentioned at least two thermal images, and the above-mentioned at least two target frame images are frame images in the above-mentioned video stream that meet the preset requirements, and the above-mentioned preset requirements are that the above-mentioned target object enters the above-mentioned preset area and The breathing area of the target object falls into the target area of the at least two target frame images.
- the above-mentioned device further includes a first video stream processing trigger module, configured to monitor the temperature state of the above-mentioned preset area; when the temperature state of the above-mentioned preset area changes, determine whether there is a target object The case of entering the preset area; in response to the fact that the target object enters the preset area, a video stream acquisition instruction is generated, and the video stream acquisition instruction is used to trigger the execution of the above video stream acquisition operation.
- a first video stream processing trigger module configured to monitor the temperature state of the above-mentioned preset area; when the temperature state of the above-mentioned preset area changes, determine whether there is a target object The case of entering the preset area; in response to the fact that the target object enters the preset area, a video stream acquisition instruction is generated, and the video stream acquisition instruction is used to trigger the execution of the above video stream acquisition operation.
- the above-mentioned device further includes a second video stream processing trigger module, configured to monitor the above-mentioned preset area based on a preset sensor, and generate a video if the monitoring result indicates that there is a target object entering the above-mentioned preset area.
- a stream acquisition instruction, the above-mentioned video stream acquisition instruction is used to trigger the execution of the above-mentioned operation of acquiring the video stream, and the above-mentioned preset sensor includes a visual sensor or an inductive sensor.
- the above device further includes a detection trigger module, configured to trigger the execution of the above operation of acquiring at least two thermal images in response to a respiration rate detection trigger instruction, and the respiration rate detection trigger instruction is used to indicate the above preset The requirement is met, and the preset requirement is that the target object enters the preset area and the breathing area of the target object falls into the target area.
- a detection trigger module configured to trigger the execution of the above operation of acquiring at least two thermal images in response to a respiration rate detection trigger instruction, and the respiration rate detection trigger instruction is used to indicate the above preset The requirement is met, and the preset requirement is that the target object enters the preset area and the breathing area of the target object falls into the target area.
- the above-mentioned device further includes a detection trigger module, which is used to predict the breathing area of the frame images in the above-mentioned video stream based on a neural network to obtain a breathing area prediction result; when the above-mentioned breathing area prediction result and the above-mentioned target area When the coincidence degree is higher than the preset threshold, the above operation of acquiring at least two thermal images is triggered.
- a detection trigger module which is used to predict the breathing area of the frame images in the above-mentioned video stream based on a neural network to obtain a breathing area prediction result; when the above-mentioned breathing area prediction result and the above-mentioned target area
- the coincidence degree is higher than the preset threshold
- the above-mentioned neural network obtains the labels corresponding to the sample thermal image set and the multiple sample thermal images in the above-mentioned sample thermal image set based on the following method; wherein, the above-mentioned multiple sample thermal images are based on the temperature of the sample target object
- the information is rendered, and the above-mentioned label points to the breathing area of the above-mentioned sample target object; the above-mentioned breathing area is the mouth and nose area or the mask area; the feature extraction is performed on the multiple sample thermal images in the above-mentioned sample thermal image set, and the feature extraction result is obtained; according to The above feature extraction result predicts the breathing area, and obtains the breathing area prediction result; according to the above breathing area prediction result and the above label, the above neural network is trained.
- the above-mentioned device includes a feature extraction module, which is used to perform initial feature extraction on the sample thermal image for each sample thermal image to obtain a first feature map; perform composite feature extraction on the first feature map , to obtain the first feature information, wherein the composite feature extraction includes channel feature extraction; based on the salient features in the first feature information, the first feature map is filtered to obtain a filtering result; the second feature in the filtering result is extracted information; fusing the first feature information and the second feature information to obtain a feature extraction result of the thermal image of the sample.
- a feature extraction module which is used to perform initial feature extraction on the sample thermal image for each sample thermal image to obtain a first feature map; perform composite feature extraction on the first feature map , to obtain the first feature information, wherein the composite feature extraction includes channel feature extraction; based on the salient features in the first feature information, the first feature map is filtered to obtain a filtering result; the second feature in the filtering result is extracted information; fusing the first feature information and the second feature information to obtain
- the above-mentioned temperature information extraction module is configured to, for the target area in the thermal image, determine the temperature information corresponding to the pixels in the above-mentioned target area; calculate the above-mentioned target area according to the temperature information corresponding to the above-mentioned pixel points Corresponding temperature information.
- the respiration rate determination module is configured to sort the above temperature information in time order to obtain a temperature sequence; perform noise reduction processing on the above temperature sequence to obtain a target temperature sequence; based on the above target temperature sequence, Determine the respiration rate of the aforementioned target subject.
- the respiration rate determination module is configured to determine multiple key points in the target temperature sequence, and the key points are all peak points or valley points; for any two adjacent key points, The time interval between the above two adjacent key points is determined; according to the above time interval, the above breathing rate is determined.
- the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
- Embodiments of the present disclosure also provide a computer-readable storage medium, wherein at least one instruction or at least one program is stored in the computer-readable storage medium, and the above-mentioned method is implemented when the at least one instruction or at least one program is loaded and executed by a processor.
- the computer readable storage medium may be a non-transitory computer readable storage medium.
- An embodiment of the present disclosure also proposes an electronic device, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured as the above method.
- Electronic devices may be provided as terminals, servers, or other forms of devices.
- Fig. 8 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
- the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
- electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
- the processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations.
- the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
- the memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like.
- the memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read-only memory
- EPROM erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Magnetic or Optical Disk Magnetic Disk
- the power supply component 806 provides power to various components of the electronic device 800 .
- Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
- the multimedia component 808 includes a screen providing an output interface between the above-mentioned electronic device 800 and the user.
- the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
- the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel.
- the above-mentioned touch sensor may not only sense a boundary of a touch or a sliding action, but also detect a duration and pressure related to the above-mentioned touching or sliding operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data.
- Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
- the audio component 810 is configured to output and/or input audio signals.
- the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 .
- the audio component 810 also includes a speaker for outputting audio signals.
- the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
- Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 .
- the sensor component 814 can detect the open/close state of the electronic device 800, the relative positioning of the components, such as the above-mentioned components are the display and the keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or a component of the electronic device 800 Changes in the position of , presence or absence of user contact with the electronic device 800 , orientation or acceleration/deceleration of the electronic device 800 and temperature changes of the electronic device 800 .
- Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
- Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
- the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
- the electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G or combinations thereof.
- the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
- the aforementioned communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication.
- the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
- RFID Radio Frequency Identification
- IrDA Infrared Data Association
- UWB Ultra Wide Band
- Bluetooth Bluetooth
- electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A programmable gate array
- controller microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
- a non-volatile computer-readable storage medium such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to implement the above method.
- FIG. 9 shows a block diagram of another electronic device according to an embodiment of the present disclosure.
- electronic device 1900 may be provided as a server.
- electronic device 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs.
- the application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions.
- the processing component 1922 is configured to execute instructions to perform the above method.
- Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input-output (I/O) interface 1958 .
- the electronic device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
- a non-transitory computer-readable storage medium such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to implement the above method.
- the present disclosure can be a system, method and/or computer program product.
- a computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
- a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
- a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- Computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above.
- RAM random access memory
- ROM read-only memory
- EPROM erasable programmable read-only memory
- flash memory static random access memory
- SRAM static random access memory
- CD-ROM compact disc read only memory
- DVD digital versatile disc
- memory stick floppy disk
- mechanically encoded device such as a printer with instructions stored thereon
- a hole card or a raised structure in a groove and any suitable combination of the above.
- computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
- Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
- the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
- Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination of the above programming languages including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as “C” or similar programming languages.
- Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
- the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
- LAN local area network
- WAN wide area network
- an electronic circuit such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA)
- FPGA field programmable gate array
- PDA programmable logic array
- These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
- These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
- each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more programmable logic components for implementing specified logical functions.
- Execute instructions may be executed.
- the order noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
Landscapes
- Health & Medical Sciences (AREA)
- Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Biomedical Technology (AREA)
- Public Health (AREA)
- Pathology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Signal Processing (AREA)
- Veterinary Medicine (AREA)
- Theoretical Computer Science (AREA)
- Physiology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Psychiatry (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Fuzzy Systems (AREA)
- Pulmonology (AREA)
- Computational Linguistics (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
Description
Claims (14)
- 一种呼吸率检测方法,包括:获取至少两张热图像,所述至少两张热图像基于预设区域的温度信息渲染得到,所述预设区域内包括目标对象,并且所述目标对象的呼吸区域落入基于所述预设区域确定的目标区域中;对于所述至少两张热图像中的每一张,提取该热图像中目标区域的温度信息,其中,所述至少两张热图像中所述目标对象的温度信息跟随所述目标对象的呼吸呈现周期性变化;根据提取到的温度信息,确定所述目标对象的呼吸率。
- 根据权利要求1所述的方法,其特征在于,所述呼吸率检测方法应用于呼吸率检测装置,所述呼吸率检测装置包括热成像设备,所述热成像设备的拍摄区域为所述预设区域,所述方法还包括:获取视频流,所述视频流中的帧图像基于所述热成像设备拍摄到的温度信息渲染得到;对所述视频流进行显示,并且将所述目标区域标记在所述视频流对应的画面中;所述获取至少两个热图像,包括:在所述视频流中提取至少两张目标帧图像,作为所述至少两张热图像,所述至少两张目标帧图像为所述视频流中满足预设要求的帧图像,所述预设要求为所述目标对象进入所述预设区域并且所述目标对象的呼吸区域落入所述至少两张目标帧图像的目标区域。
- 根据权利要求2所述的方法,其特征在于,所述获取视频流之前,所述方法还包括:监控所述预设区域的温度状态;在所述预设区域的温度状态发生变化的情况下,判断是否存在目标对象进入所述预设区域的情况;响应于存在所述目标对象进入所述预设区域的情况,则生成视频流获取指令,所述视频流获取指令用于触发执行所述获取视频流的操作。
- 根据权利要求2所述的方法,其特征在于,所述获取视频流之前,所述方法还包括:基于预置传感器监控所述预设区域,在监控结果指示存在目标对象进入所述预设区域的情况下,生成视频流获取指令,所述视频流获取指令用于触发执行所述获取视频流的操作,所述预置传感器包括视觉传感器或感应传感器。
- 根据权利要求1至4中任意一项所述的方法,其特征在于,所述方法还包括:响应于呼吸率检测触发指令,触发执行所述获取至少两张热图像的操作,所述呼吸率检测触发指令用于指示所述预设要求被满足,所述预设要求为所述目标对象进入所述预设区域并且所述目标对象的呼吸区域落入所述目标区域。
- 根据权利要求2至4中任意一项所述的方法,其特征在于,所述方法还包括:基于神经网络对所述视频流中的帧图像进行呼吸区域预测,得到呼吸区域预测结果;在所述呼吸区域预测结果与所述目标区域的重合度高于预设阈值的情况下,触发执行所述获取至少两张热图像的操作。
- 根据权利要求6所述的方法,其特征在于,所述神经网络基于下述方法得到:获取样本热图像集和所述样本热图像集中多张样本热图像对应的标签;其中,所述多张样本热图像基于样本目标对象的温度信息渲染得到,所述标签指向所述样本目标对象的呼吸区域;所述呼吸区域为口鼻区域或口罩区域;对所述样本热图像集中的所述多张样本热图像进行特征提取,得到特征提取结果;根据所述特征提取结果预测呼吸区域,得到呼吸区域预测结果;根据所述呼吸区域预测结果和所述标签,训练所述神经网络。
- 根据权利要求7所述的方法,其特征在于,所述对所述样本热图像集中的所述多张样本热图像进行特征提取,得到特征提取结果,包括:针对每张样本热图像,对该样本热图像进行初始特征提取,得到第一特征图;对该第一特征图进行复合特征提取,得到第一特征信息,其中,该复合特征提取包括通道特征提取;基于该第一特征信息中的显著特征,对该第一特征图进行过滤得到过滤结果;提取该过滤结果中的第二特征信息;融合该第一特征信息和该第二特征信息,得到该样本热图像的特征提取结果。
- 根据权利要求1至8中任意一项所述的方法,其特征在于,所述对于所述至少两张热图像中的每一张,提取该热图像中的目标区域对应的温度信息,包括:对于该热图像中的目标区域,确定所述目标区域中像素点对应的温度信息;根据所述像素点对应的温度信息,计算所述目标区域对应的温度信息。
- 根据权利要求1至9中任意一项所述的方法,其特征在于,所述根据提取到的所述温度信息,确定所述目标对象的呼吸率,包括:按照时间顺序对所述温度信息进行排序,得到温度序列;对所述温度序列进行降噪处理,得到目标温度序列;基于所述目标温度序列,确定所述目标对象的呼吸率。
- 根据权利要求10所述的方法,其特征在于,所述基于所述目标温度序列,确定所述目标对象的呼吸率,包括:确定所述目标温度序列中多个关键点,所述关键点均为峰值点或均为谷值点;对于任意两个相邻关键点,确定所述两个相邻关键点之间时间间隔;根据所述时间间隔,确定所述呼吸率。
- 一种呼吸率检测装置,包括:热图像获取模块,用于获取至少两张热图像,所述至少两张热图像基于预设区域的温度信息渲染得到,所述预设区域内包括目标对象,并且所述目标对象的呼吸区域落入基于所述预设区域确定的目标区域中;温度信息提取模块,用于对于所述至少两张热图像中的每一张,提取该热图像中所述目标区域的温度信息,其中,所述至少两张热图像中所述目标对象的温度信息跟随所述目标对象的呼吸呈现周期性变化;呼吸率确定模块,用于根据提取到的温度信息,确定所述目标对象的呼吸率。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令或至少一段程序,所述至少一条指令或至少一段程序由处理器加载并执行以实现如权利要求1至11中任意一项所述的呼吸率检测方法。
- 一种电子设备,包括至少一个处理器,以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令实现如权利要求1至11中任意一项所述的呼吸率检测方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110871818.0 | 2021-07-30 | ||
| CN202110871818.0A CN113576451A (zh) | 2021-07-30 | 2021-07-30 | 呼吸率检测方法、装置、存储介质及电子设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023005403A1 true WO2023005403A1 (zh) | 2023-02-02 |
Family
ID=78252655
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/096219 Ceased WO2023005403A1 (zh) | 2021-07-30 | 2022-05-31 | 呼吸率检测方法、装置、存储介质及电子设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113576451A (zh) |
| WO (1) | WO2023005403A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119184667A (zh) * | 2024-09-09 | 2024-12-27 | 合肥工业大学 | 基于面部热成像的非接触式呼吸率检测方法及系统 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113576452A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 基于热成像的呼吸率检测方法、装置及电子设备 |
| CN113576451A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 呼吸率检测方法、装置、存储介质及电子设备 |
| CN114157807A (zh) * | 2021-11-29 | 2022-03-08 | 江苏宏智医疗科技有限公司 | 影像获取方法及装置、可读存储介质 |
| CN114387644A (zh) * | 2021-12-28 | 2022-04-22 | 卢嘉颖 | 非侵入式呼吸状态识别方法、系统、设备及存储介质 |
| CN114869253A (zh) * | 2022-04-18 | 2022-08-09 | 西安商汤智能科技有限公司 | 对象状态的识别方法、装置、设备及存储介质 |
| CN114916926A (zh) * | 2022-04-28 | 2022-08-19 | 西安商汤智能科技有限公司 | 呼吸率检测方法、装置、设备、系统及存储介质 |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7027621B1 (en) * | 2001-03-15 | 2006-04-11 | Mikos, Ltd. | Method and apparatus for operator condition monitoring and assessment |
| US20120289850A1 (en) * | 2011-05-09 | 2012-11-15 | Xerox Corporation | Monitoring respiration with a thermal imaging system |
| WO2015030611A1 (en) * | 2013-09-02 | 2015-03-05 | Interag | Method and apparatus for determining respiratory characteristics of an animal |
| KR20190060243A (ko) * | 2017-11-24 | 2019-06-03 | 연세대학교 산학협력단 | 열화상 카메라를 이용한 호흡 측정 시스템 |
| CN111568388A (zh) * | 2020-04-30 | 2020-08-25 | 清华大学 | 一种非接触式口呼吸检测装置、方法及存储介质 |
| CN112057074A (zh) * | 2020-07-21 | 2020-12-11 | 北京迈格威科技有限公司 | 呼吸速率测量方法、装置、电子设备及计算机存储介质 |
| CN112924035A (zh) * | 2021-01-27 | 2021-06-08 | 复旦大学附属中山医院 | 基于热成像传感器的体温和呼吸率提取方法及应用 |
| CN113592817A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 检测呼吸率的方法、装置、存储介质及电子设备 |
| CN113591701A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 呼吸检测区域确定方法、装置、存储介质及电子设备 |
| CN113576452A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 基于热成像的呼吸率检测方法、装置及电子设备 |
| CN113576451A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 呼吸率检测方法、装置、存储介质及电子设备 |
| CN113793300A (zh) * | 2021-08-19 | 2021-12-14 | 合肥工业大学 | 一种基于红外热像仪的非接触式呼吸率检测方法 |
| CN113887474A (zh) * | 2021-10-15 | 2022-01-04 | 深圳市商汤科技有限公司 | 呼吸率检测方法及装置、电子设备和存储介质 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111839519B (zh) * | 2020-05-26 | 2021-05-18 | 合肥工业大学 | 非接触式呼吸频率监测方法及系统 |
| CN111898580B (zh) * | 2020-08-13 | 2022-12-20 | 上海交通大学 | 针对戴口罩人群的体温和呼吸数据采集系统、方法及设备 |
| CN113128520B (zh) * | 2021-04-28 | 2022-11-11 | 北京市商汤科技开发有限公司 | 图像特征提取方法、目标重识别方法、装置及存储介质 |
-
2021
- 2021-07-30 CN CN202110871818.0A patent/CN113576451A/zh not_active Withdrawn
-
2022
- 2022-05-31 WO PCT/CN2022/096219 patent/WO2023005403A1/zh not_active Ceased
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7027621B1 (en) * | 2001-03-15 | 2006-04-11 | Mikos, Ltd. | Method and apparatus for operator condition monitoring and assessment |
| US20120289850A1 (en) * | 2011-05-09 | 2012-11-15 | Xerox Corporation | Monitoring respiration with a thermal imaging system |
| WO2015030611A1 (en) * | 2013-09-02 | 2015-03-05 | Interag | Method and apparatus for determining respiratory characteristics of an animal |
| KR20190060243A (ko) * | 2017-11-24 | 2019-06-03 | 연세대학교 산학협력단 | 열화상 카메라를 이용한 호흡 측정 시스템 |
| CN111568388A (zh) * | 2020-04-30 | 2020-08-25 | 清华大学 | 一种非接触式口呼吸检测装置、方法及存储介质 |
| CN112057074A (zh) * | 2020-07-21 | 2020-12-11 | 北京迈格威科技有限公司 | 呼吸速率测量方法、装置、电子设备及计算机存储介质 |
| CN112924035A (zh) * | 2021-01-27 | 2021-06-08 | 复旦大学附属中山医院 | 基于热成像传感器的体温和呼吸率提取方法及应用 |
| CN113592817A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 检测呼吸率的方法、装置、存储介质及电子设备 |
| CN113591701A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 呼吸检测区域确定方法、装置、存储介质及电子设备 |
| CN113576452A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 基于热成像的呼吸率检测方法、装置及电子设备 |
| CN113576451A (zh) * | 2021-07-30 | 2021-11-02 | 深圳市商汤科技有限公司 | 呼吸率检测方法、装置、存储介质及电子设备 |
| CN113793300A (zh) * | 2021-08-19 | 2021-12-14 | 合肥工业大学 | 一种基于红外热像仪的非接触式呼吸率检测方法 |
| CN113887474A (zh) * | 2021-10-15 | 2022-01-04 | 深圳市商汤科技有限公司 | 呼吸率检测方法及装置、电子设备和存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119184667A (zh) * | 2024-09-09 | 2024-12-27 | 合肥工业大学 | 基于面部热成像的非接触式呼吸率检测方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113576451A (zh) | 2021-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023005468A1 (zh) | 检测呼吸率的方法、装置、存储介质及电子设备 | |
| CN113576451A (zh) | 呼吸率检测方法、装置、存储介质及电子设备 | |
| WO2023005402A1 (zh) | 基于热成像的呼吸率检测方法、装置及电子设备 | |
| RU2577188C1 (ru) | Способ, аппарат и устройство для сегментации изображения | |
| CN107582028B (zh) | 睡眠监测方法及装置 | |
| CN105590094B (zh) | 确定人体数量的方法及装置 | |
| WO2023005469A1 (zh) | 呼吸检测区域确定方法、装置、存储介质及电子设备 | |
| CN105357425B (zh) | 图像拍摄方法及装置 | |
| CN110598504A (zh) | 图像识别方法及装置、电子设备和存储介质 | |
| CN110717399A (zh) | 人脸识别方法和电子终端设备 | |
| CN109145679A (zh) | 一种发出预警信息的方法、装置及系统 | |
| CN109360197B (zh) | 图像的处理方法、装置、电子设备及存储介质 | |
| EP3113071B1 (en) | Method and device for acquiring iris image | |
| CN110287671A (zh) | 验证方法及装置、电子设备和存储介质 | |
| CN110287672A (zh) | 验证方法及装置、电子设备和存储介质 | |
| WO2020088092A1 (zh) | 关键点位置确定方法、装置及电子设备 | |
| CN110555930B (zh) | 门锁控制方法及装置、电子设备和存储介质 | |
| CN113887474B (zh) | 呼吸率检测方法及装置、电子设备和存储介质 | |
| CN110929616B (zh) | 一种人手识别方法、装置、电子设备和存储介质 | |
| CN111724361B (zh) | 实时显示病灶的方法及装置、电子设备和存储介质 | |
| CN111435422B (zh) | 动作识别方法、控制方法及装置、电子设备和存储介质 | |
| CN114581955A (zh) | 近视防控方法、装置、系统、存储介质和设备 | |
| CN114627567A (zh) | 考勤方法、装置、电子设备、存储介质和程序产品 | |
| CN107527024A (zh) | 人脸颜值评估方法及装置 | |
| CN108154091A (zh) | 图像展示方法、图像处理方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22848013 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22848013 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 21.06.2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22848013 Country of ref document: EP Kind code of ref document: A1 |