- Make sure to install all packages listed in requirements.txt.
- 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.
- Press "s" on the keyoard once a named window ("frame") appears on the screen.
- Select a ROI by dragging the cursor diagonally from the top-left to the bottom-right to track and estimate respiratory rate.
- Press spacebar.
- 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 Introduction
rrtracker_web's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.