Jagmohan Meher, Chien-Chih Wang, Torbjörn E. M. Nordling
{"title":"Acquisition and synchronisation of cardiography signals from a clinical patient monitor with facial video recordings","authors":"Jagmohan Meher, Chien-Chih Wang, Torbjörn E. M. Nordling","doi":"10.21203/rs.3.rs-3588812/v1","DOIUrl":null,"url":null,"abstract":"Abstract A far too frequent practical challenge in clinical informatics research and method development for acquiring vital signs is the extraction and synchronisation of signals from proprietary devices for the clinical monitoring of patients. In an ongoing study evaluating methods for video-based remote photoplethysmography (rPPG), we needed to extract ground truth values of electrocardiogram (ECG) and pulse oximetry (SpO2) signals from the Philips vitals monitor while recording the facial video of the subject, simultaneously. This ground truth data will be used to train the model that will perform rPPG. Various software can extract data from the Philips vitals monitor with features like data acquisition, parsing, and visualisation, but they lack synchronisation with the facial video. Therefore, we developed the Patient Monitor Data Extractor (PMDE), which collects data from the Philips IntelliVue monitors following the Data export interface programming guide provided by Philips. We set up a DHCP server on a Windows 7 computer with a webcam and interfaced with the monitor through LAN with UDP/IP. We used C++ and Windows Sockets API to develop our software and communicate over UDP. For synchronisation with the video cameras, we turned off the light in the room and used this sudden brightness drop as a trigger. The timestamp of the monitor was recorded when the webcam detected the trigger. The PMDE software records ECG at 500 Hz and SpO2 at 125 Hz with a synchronisation error of less than two sampling periods, which is about 40 ms for a 50 fps video. We conclude that PMDE is uniquely suited for recording data for rPPG evaluation because of its synchronisation feature. We have used PMDE to collect a dataset of facial videos with ground truth ECG and SpO2 signals. We intend to make PMDE available as open source to save other researchers time.","PeriodicalId":500086,"journal":{"name":"Research Square (Research Square)","volume":"86 20","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-11-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Research Square (Research Square)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21203/rs.3.rs-3588812/v1","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Abstract A far too frequent practical challenge in clinical informatics research and method development for acquiring vital signs is the extraction and synchronisation of signals from proprietary devices for the clinical monitoring of patients. In an ongoing study evaluating methods for video-based remote photoplethysmography (rPPG), we needed to extract ground truth values of electrocardiogram (ECG) and pulse oximetry (SpO2) signals from the Philips vitals monitor while recording the facial video of the subject, simultaneously. This ground truth data will be used to train the model that will perform rPPG. Various software can extract data from the Philips vitals monitor with features like data acquisition, parsing, and visualisation, but they lack synchronisation with the facial video. Therefore, we developed the Patient Monitor Data Extractor (PMDE), which collects data from the Philips IntelliVue monitors following the Data export interface programming guide provided by Philips. We set up a DHCP server on a Windows 7 computer with a webcam and interfaced with the monitor through LAN with UDP/IP. We used C++ and Windows Sockets API to develop our software and communicate over UDP. For synchronisation with the video cameras, we turned off the light in the room and used this sudden brightness drop as a trigger. The timestamp of the monitor was recorded when the webcam detected the trigger. The PMDE software records ECG at 500 Hz and SpO2 at 125 Hz with a synchronisation error of less than two sampling periods, which is about 40 ms for a 50 fps video. We conclude that PMDE is uniquely suited for recording data for rPPG evaluation because of its synchronisation feature. We have used PMDE to collect a dataset of facial videos with ground truth ECG and SpO2 signals. We intend to make PMDE available as open source to save other researchers time.