Skip to content

arkagme/Intel-oneAPI-proj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screen.Recording.2024-10-05.111430.mp4

Intel-oneAPI Hackathon Project

Project submitted for Intel-oneAPI hackathon Oct 4-5, 2024

Problem Statement:

Over 27% of people aged above the age of 45 suffer from heart disease. Such people often require a daily or regular readings of ECG(Electro Cardio Gram) to be taken and sent to their doctors for review. The problem lies in the natural tendency of elderly people to not perform tests properly or neglecting necessary procedures. This oversight is usually the result of the technology being too complicated, tedious and time consuming for elderly people to deal with.

Tasks:

  1. The main issue with the mentioned problem statement is ease of use. Hence a way of addressing a simple way to make readings must be done.
  2. Doctors need not review every single patient in a scenario where the majority of patients show no abnormality. Hence, an automated system for making a innovative yet strong judgement is required.
  3. Elderly people tend to not report/forget to send their reports on time and promptly and properly. Hence, a solution where this can be bypassed will ensure consistency.
  4. Finally the user interface of the proposed solution must be as simple as possible.

Our Solution:

  1. Our solution is strongly inspired from smart watches capable of making heart rate predictions. We use a motion amplification technique to obtain the ECG graph and the corresponding CSV time series data of the patient with just a video clip of them infront of a camera. This technology is similar to the ones used in smart watches to make heart rate predictions.
  2. The motion amplification is a propriety video processing algorithm that detects subtle motions and amplifies it to a level visible to the naked eye. Further, these amplified motions can be used to simulate one's heart rate and as such, their ECG.
Recording.2024-10-05.110301.mp4
  1. Our webapp allows users to login and upload a minimum of 30-second video and get a ECG graph generated which is used to predict any heart abnormalities. We have a secure login system with a email and password. This account is used to store all your past ECG graph datas and predictions.
  2. All user data stays confidential with limited access to the doctor. This is achieved by the usage of Firebase - Realtime Database, Authentication and Storage.
  3. We made use of Intels OneAPI Toolkit to build a predictive model to detect if the the patient has a heart anomoly. image
  4. The model is a Random Forest Classifier which is boosted by the oneAPI tool : scikit-learn-intelex, i.e, Intel extended version of Scikit-Learn.
  5. Further, we make use of the oneDAL toll module 'daal4py' to patch the base scikit-learn module and accelerate our model training and data processing by manifolds.
  6. For data preprocessing, we used a MinMaxScaler from the scikit-learn-intelex module and feature extraction along the time and frequency domains for more efficient computations.
  7. Finally our simplified front end completes our solution with all neccessary data being passed and forwarded to their respective destinations. Here, one needs to upload a 30 sec video of their face in a well-lit environment following which, the model would claasify their heart-rate patterns based on the 3-channel ecg data our technique computes. Then based on a voting mechanism between these 3 channel-wise predictions, the final output is calculated.

image

Future Goals:

  1. To create different Patient and a Doctor profile option which allows a doctor to freely and easily access any of their patients' historical data as opposed to the current option of only a patient login.
  2. To create specialized a mobile appilcation or a physical kit for this procedure.
  3. Improve the UI for smoother experience.
  4. To differentiate between the various possible causes of abnormality in the ECG into specific subclasses.
  5. To improve the quality of our ECGs by removing backgorund of uploaded video and to focus on the patient's face alone.
  6. To collect more labelled data to improve the performance of the predictions made as well as experiment with various other predictive architectures for the same.
  7. To better optimize the process.

Credits and Acknowledgments:

  1. Sai Etihas Chanda - (Author)
  2. Arkaprava Gaine - (Author)
  3. Shreeya Kannan - (Author)
  4. Surya G - (Author)
  5. Steve Mould - (Inspiration for the video processing technique) (Link for the original code of Motion Amplification : https://github.com/ajsteele/faceHR )

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •