Giter Club home page Giter Club logo

rrtracker_web's Introduction

Respiratory-Rate-Estimation

Compiling and Running

  1. Make sure to install all packages listed in requirements.txt.
  2. Using terminal, run "python RR_main.py -v (input video) -t (tracker)", you can omit the video argument if you intend to use another camera/webcam, the default tracker to track a regioin of interest (ROi) is the "boosting" tracker, however, you can choose from several available trackers to track the ROI.
  3. Press "s" on the keyoard once a named window ("frame") appears on the screen.
  4. Select a ROI by dragging the cursor diagonally from the top-left to the bottom-right to track and estimate respiratory rate.
  5. Press spacebar.
  6. Depending on the following paramaters (which can be modified), the time to display the first respiratory reading on the screen will vary. If you plan on estimating respiratory rate for a video, please make sure to tweak the following paramaters to ensure that you are getting an accurate estimation. a. Frames per second (F.P.S) of the video, which can be tweaked in line 108 of the "RR-main.py" script. In case you are using your camera to estimate pulse rate, please set F.P.S. according to how many frames the program is able to sample in a second as opposed to using the camera's frame sampling rate. b. Moving window: In the paper, we set window size in line 108 of the "RR-main.py" script as 30 seconds for an accurate estimation with the window stride being 1 second. c. Butter bandpass filter paramaters: Order, low-cut frequency and high-cut frequency (lines 119, 120 and 122) parameters. We find that the order parameter affects estimation accuracy and hence should be tuned according to the dataset.

rrtracker_web's People

Contributors

kunjan8794 avatar

Watchers

 avatar

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.