Git Product home page Git Product logo

heartrack's Introduction

Introduction

I just Finish 2015 IEEE Signal Processing Cup, and here is an Heart Rate Tracking algorithm using Wrist-Typed PPG Signal.

Notice

This is Not the exact algorithm we used in the paper: http://web.cse.ohio-state.edu/~tke/doc/MICROST.pdf, which gave better result than this one, but the idea and procedure are the same.



How to Run

  1. Download the code
  2. Add Path in Matlab
  3. change variable in init.m (where to save pictures)

Then

runall_train %% run algorithm on all training data
runall_test  %% run algorithm on all testing data

You will see the result.



About the algorithm

  • 7-order haar wavelet transform for signal preprocess
  • Four Heuristic Unit for tracking Frequency Peak
    • Memory Rule: for heart rate could not change too sharply

    • Magnitude Rule: select the larger peak

    • Wavelet Rule(only used in the first frame): When the heart rate peak submerges in motion peaks, the wavelet preprocess may make it emerges.

    • Acceleration Rule: When the subject speeds up, the heart rate tends to grow

And each rule corresponds to a M-file.

More

  • A Post in My Blog: Link (in Chinese)
  • More Intro: TODO


Data

The Data used here comes from HERE with copyrights. So if you want to use them, follow the instructions there.



LICENSE

The MIT License

Copyright (c) 2014-2015

Xinyu Zhang [email protected]

Ke Tan [email protected]

Shilin Zhu [email protected]

Zhiqiang Liu [email protected]

Bin Liu [email protected]

heartrack's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.