R wave identification method and device based on target detection

文档序号:992840 发布日期:2020-10-23 浏览:6次 中文

阅读说明:本技术 一种基于目标检测的r波识别方法及装置 (R wave identification method and device based on target detection ) 是由 王瑶 朱涛 于 2020-06-28 设计创作,主要内容包括:本发明涉及心电信号R波识别技术领域,公开了一种基于目标检测的R波识别方法,包括以下步骤:采集心电信号,根据所述心电信号绘制心电图;在所述心电图中R波位置处打上标注框,得到样本数据集;采用所述样本数据集对目标检测网络进行训练,得到目标检测模型;根据所述目标检测模型对待测心电信号的R波位置进行识别。本发明具有心电信号R波识别效果不依赖于心电信号的信号处理过程的技术效果。(The invention relates to the technical field of electrocardiosignal R wave identification, and discloses an R wave identification method based on target detection, which comprises the following steps: acquiring electrocardiosignals, and drawing an electrocardiogram according to the electrocardiosignals; marking a marking frame at the position of the R wave in the electrocardiogram to obtain a sample data set; training a target detection network by adopting the sample data set to obtain a target detection model; and identifying the R wave position of the electrocardiosignal to be detected according to the target detection model. The invention has the technical effect that the R wave recognition effect of the electrocardiosignals does not depend on the signal processing process of the electrocardiosignals.)

1. An R wave identification method based on target detection is characterized by comprising the following steps:

acquiring electrocardiosignals, and drawing an electrocardiogram according to the electrocardiosignals;

marking a marking frame at the position of the R wave in the electrocardiogram to obtain a sample data set;

training a target detection network by adopting the sample data set to obtain a target detection model;

and identifying the R wave position of the electrocardiosignal to be detected according to the target detection model.

2. The R-wave identifying method based on object detection according to claim 1, wherein an electrocardiogram is drawn by acquiring an electrocardiogram signal, and further comprising:

the image pixels of the electrocardiogram are enhanced.

3. The R-wave identification method based on target detection according to claim 1, wherein a labeling frame is marked at the R-wave position in the electrocardiogram, specifically:

and taking the R wave position as a reference point, and marking the marking frame at a position with a fixed distance from the front to the back of the reference point.

4. The R-wave recognition method based on target detection according to claim 1, wherein the target detection network is trained by using the sample data set to obtain a target detection model, specifically:

and training the target detection network by taking the electrocardiogram as input and the labeling box as output to obtain the target detection model.

5. The R-wave identification method based on object detection according to claim 1, further comprising;

dividing the sample data set into two parts to obtain a first sample data set and a second sample data set;

training a target detection network by adopting the first sample data set to obtain the target detection model;

inputting the electrocardiogram in the second sample data set into the target detection model to obtain a prediction frame of the R wave, obtaining a prediction coordinate of the position of the R wave according to the prediction frame, and generating an R-R interval prediction sequence;

acquiring a labeling coordinate of the R wave position according to a labeling frame on the electrocardiogram of the second sample data set, and generating an R-R interval labeling sequence;

judging the prediction correctness of the R-R interval prediction sequence according to the R-R interval labeling sequence, and generating a judgment sequence of an R wave position;

taking the R-R interval prediction sequence as input and the judgment sequence as output, and training a regression model to obtain an R wave correction model;

and identifying the R wave position of the electrocardiosignal to be detected by combining the target detection model and the R wave correction model.

6. The method for R-wave identification based on target detection according to claim 5, wherein the R-R interval prediction sequence is judged to be correct according to the R-R interval labeling sequence, and a judgment sequence of R-wave positions is generated, specifically:

and judging whether the R wave positions in the R-R interval prediction sequence are predicted correctly or not according to the R-R interval labeling sequence, setting the positions predicted correctly in the R-R interval prediction sequence as '1', and setting the positions predicted incorrectly as '0', so as to obtain the judgment sequence.

7. The R-wave identification method based on target detection according to claim 5, wherein the R-wave position of the electrocardiographic signal to be detected is identified by combining the target detection model and the R-wave correction model, specifically:

drawing an electrocardiogram to be detected according to the electrocardiosignals to be detected, inputting the electrocardiogram to be detected into the target detection model to obtain a target frame at the R-wave position of the electrocardiosignals to be detected, and generating an R-R interval sequence of the electrocardiosignals to be detected according to the target frame at the R-wave position;

inputting the R-R interval sequence into the R-wave correction model to obtain a corrected R-R interval sequence;

and obtaining the R wave position of the electrocardiosignal to be detected according to the corrected R-R interval sequence.

8. The target detection-based R-wave identification method of claim 7, wherein the R-R interval sequence is input into the R-wave correction model to obtain a corrected R-R interval sequence, specifically:

inputting the R-R interval sequence into the R wave correction model to obtain the R wave probability at each position;

and screening out the positions where the R-wave probability is greater than the set probability to obtain the corrected R-R interval sequence.

9. An R-wave recognition apparatus based on object detection, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program, when executed by the processor, implements the R-wave recognition method based on object detection according to any one of claims 1 to 8.

10. A computer storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the R-wave identification method based on object detection according to any one of claims 1 to 8.

Technical Field

The invention relates to the technical field of electrocardiosignal R wave identification, in particular to a target detection-based R wave identification method and device and a computer storage medium.

Background

The current main starting point for the identification of ECG signals (electrocardiographic signals) is the determination of QRS waves, and the most important of these is the accurate location of R waves. The R wave identification method widely used at present comprises the following steps: the method is widely applied to PT (Pan-Tompkins), novel R-wave identification technology based on amplitude and slope, and identification of R-waves by adopting sampling point second-order difference value extraction features.

Disclosure of Invention

The invention aims to overcome the technical defects, provides an R wave identification method and device based on target detection and a computer storage medium, and solves the technical problem that the R wave identification precision depends on the electrocardiosignal processing effect in the prior art.

In order to achieve the technical purpose, the technical scheme of the invention provides an R-wave identification method based on target detection, which comprises the following steps:

acquiring electrocardiosignals, and drawing an electrocardiogram according to the electrocardiosignals;

marking a marking frame at the position of the R wave in the electrocardiogram to obtain a sample data set;

training a target detection network by adopting the sample data set to obtain a target detection model;

and identifying the R wave position of the electrocardiosignal to be detected according to the target detection model.

The invention also provides an R wave identification device based on target detection, which comprises a processor and a memory, wherein the memory is stored with a computer program, and the computer program is executed by the processor to realize the R wave identification method based on target detection.

The present invention also provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the R-wave identification method based on object detection.

Compared with the prior art, the invention has the beneficial effects that: the invention firstly draws an electrocardiogram according to the electrocardiosignals, converts the electrocardiosignals into image signals and converts the problems of electrocardiosignal identification into the problems of image identification. The application of the target detection technology in image processing has higher accuracy, so that after the R wave identification problem is converted into the image identification problem, the target frame at the R wave position in the electrocardiogram can be identified by adopting the target detection technology, and the identification result of the R wave position is further realized. The method carries out R wave position identification based on target detection, and the target detection has higher identification accuracy, so that the requirement on the quality of the electrocardiosignal is lower during identification, and the R wave identification effect does not depend on a signal processing means seriously. When the method is applied, signal processing is not needed, so that the recognition rate is high, the recognition can be carried out while the acquisition is carried out, and the real-time recognition is realized.

Drawings

Fig. 1 is a flowchart of an embodiment of an R-wave identification method based on target detection according to the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于深度学习的房颤事件检测方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!