Automatic detection of cardiac conditions from photos of electrocardiogram captured by smartphones.

IF 5.1 2区 医学 Q1 CARDIAC & CARDIOVASCULAR SYSTEMS Heart Pub Date : 2024-08-14 DOI:10.1136/heartjnl-2023-323822
Chun-Ka Wong, Yuk Ming Lau, Hin Wai Lui, Wai Fung Chan, Wing Chun San, Mi Zhou, Yangyang Cheng, Duo Huang, Wing Hon Lai, Yee Man Lau, Chung Wah Siu
{"title":"Automatic detection of cardiac conditions from photos of electrocardiogram captured by smartphones.","authors":"Chun-Ka Wong, Yuk Ming Lau, Hin Wai Lui, Wai Fung Chan, Wing Chun San, Mi Zhou, Yangyang Cheng, Duo Huang, Wing Hon Lai, Yee Man Lau, Chung Wah Siu","doi":"10.1136/heartjnl-2023-323822","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Researchers have developed machine learning-based ECG diagnostic algorithms that match or even surpass cardiologist level of performance. However, most of them cannot be used in real-world, as older generation ECG machines do not permit installation of new algorithms.</p><p><strong>Objective: </strong>To develop a smartphone application that automatically extract ECG waveforms from photos and to convert them to voltage-time series for downstream analysis by a variety of diagnostic algorithms built by researchers.</p><p><strong>Methods: </strong>A novel approach of using objective detection and image segmentation models to automatically extract ECG waveforms from photos taken by clinicians was devised. Modular machine learning models were developed to sequentially perform waveform identification, gridline removal, and scale calibration. The extracted data were then analysed using a machine learning-based cardiac rhythm classifier.</p><p><strong>Results: </strong>Waveforms from 40 516 scanned and 444 photographed ECGs were automatically extracted. 12 828 of 13 258 (96.8%) scanned and 5399 of 5743 (94.0%) photographed waveforms were correctly cropped and labelled. 11 604 of 12 735 (91.1%) scanned and 5062 of 5752 (88.0%) photographed waveforms achieved successful voltage-time signal extraction after automatic gridline and background noise removal. In a proof-of-concept demonstration, an atrial fibrillation diagnostic algorithm achieved 91.3% sensitivity, 94.2% specificity, 95.6% positive predictive value, 88.6% negative predictive value and 93.4% F1 score, using photos of ECGs as input.</p><p><strong>Conclusion: </strong>Object detection and image segmentation models allow automatic extraction of ECG signals from photos for downstream diagnostics. This novel pipeline circumvents the need for costly ECG hardware upgrades, thereby paving the way for large-scale implementation of machine learning-based diagnostic algorithms.</p>","PeriodicalId":12835,"journal":{"name":"Heart","volume":null,"pages":null},"PeriodicalIF":5.1000,"publicationDate":"2024-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Heart","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1136/heartjnl-2023-323822","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CARDIAC & CARDIOVASCULAR SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Researchers have developed machine learning-based ECG diagnostic algorithms that match or even surpass cardiologist level of performance. However, most of them cannot be used in real-world, as older generation ECG machines do not permit installation of new algorithms.

Objective: To develop a smartphone application that automatically extract ECG waveforms from photos and to convert them to voltage-time series for downstream analysis by a variety of diagnostic algorithms built by researchers.

Methods: A novel approach of using objective detection and image segmentation models to automatically extract ECG waveforms from photos taken by clinicians was devised. Modular machine learning models were developed to sequentially perform waveform identification, gridline removal, and scale calibration. The extracted data were then analysed using a machine learning-based cardiac rhythm classifier.

Results: Waveforms from 40 516 scanned and 444 photographed ECGs were automatically extracted. 12 828 of 13 258 (96.8%) scanned and 5399 of 5743 (94.0%) photographed waveforms were correctly cropped and labelled. 11 604 of 12 735 (91.1%) scanned and 5062 of 5752 (88.0%) photographed waveforms achieved successful voltage-time signal extraction after automatic gridline and background noise removal. In a proof-of-concept demonstration, an atrial fibrillation diagnostic algorithm achieved 91.3% sensitivity, 94.2% specificity, 95.6% positive predictive value, 88.6% negative predictive value and 93.4% F1 score, using photos of ECGs as input.

Conclusion: Object detection and image segmentation models allow automatic extraction of ECG signals from photos for downstream diagnostics. This novel pipeline circumvents the need for costly ECG hardware upgrades, thereby paving the way for large-scale implementation of machine learning-based diagnostic algorithms.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从智能手机拍摄的心电图照片中自动检测心脏状况。
背景:研究人员已开发出基于机器学习的心电图诊断算法,其性能可媲美甚至超越心脏病专家的水平。然而,由于老一代心电图机不允许安装新算法,这些算法大多无法在现实世界中使用:目标:开发一款智能手机应用程序,自动从照片中提取心电图波形,并将其转换为电压-时间序列,供研究人员使用各种诊断算法进行下游分析:方法:设计了一种使用客观检测和图像分割模型从临床医生拍摄的照片中自动提取心电图波形的新方法。开发的模块化机器学习模型可依次执行波形识别、网格线去除和比例校准。然后使用基于机器学习的心律分类器对提取的数据进行分析:结果:自动提取了 40 516 张扫描心电图和 444 张拍照心电图的波形。13 258 个扫描波形中有 12 828 个(96.8%)和 5743 个拍照波形中有 5399 个(94.0%)被正确裁剪和标记。在自动去除网格线和背景噪声后,扫描的 12 735 个波形中的 11 604 个(91.1%)和拍摄的 5752 个波形中的 5062 个(88.0%)成功实现了电压-时间信号提取。在概念验证演示中,心房颤动诊断算法使用心电图照片作为输入,实现了 91.3% 的灵敏度、94.2% 的特异性、95.6% 的阳性预测值、88.6% 的阴性预测值和 93.4% 的 F1 分数:物体检测和图像分割模型可从照片中自动提取心电图信号,用于下游诊断。这种新型管道避免了昂贵的心电图硬件升级,从而为大规模实施基于机器学习的诊断算法铺平了道路。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Heart
Heart 医学-心血管系统
CiteScore
10.30
自引率
5.30%
发文量
320
审稿时长
3-6 weeks
期刊介绍: Heart is an international peer reviewed journal that keeps cardiologists up to date with important research advances in cardiovascular disease. New scientific developments are highlighted in editorials and put in context with concise review articles. There is one free Editor’s Choice article in each issue, with open access options available to authors for all articles. Education in Heart articles provide a comprehensive, continuously updated, cardiology curriculum.
期刊最新文献
Clinical and echocardiographic parameters associated with outcomes in patients with moderate secondary mitral regurgitation. Managing cardiogenic shock and left ventricular outflow tract obstruction in Takotsubo syndrome: current insights and challenges. New-onset atrial fibrillation after coronary surgery and stroke risk: a nationwide cohort study. Genetic variants associated with cardiac hypertrophy-related sudden cardiac death and cardiovascular outcomes in a Finnish population. Too fast, too furious
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1