How engwael03/camera-based-heart-rate-tracking works
The repository’s documented product is a camera-based heart-rate tracker: the user supplies a skin video, the script samples a region of interest, extracts and filters a green-channel signal, then estimates and displays heart rate. The main workflow is implemented inline in Final Project.py, so its distinct stages share that source path. The tree also contains separate coursework exercises, but they are not part of the documented tracker workflow. Relationships below follow the sampled script and README; no separate unsampled subsystems are inferred.
Main entry points: Final Project.py Band-pass filter
Components 11
Video sampling
- Tracker script
Final Project.py - Frame reader
Final Project.py - Skin region
Final Project.py
Signal analysis
- Green signal
Final Project.py - Band-pass filter
Final Project.py - Peak detection
Final Project.py
Heart-rate results
- BPM estimates
Final Project.py - Interval output
Final Project.py - Signal plot
Final Project.py
Other components
- User
- Skin video
Connections 11
- User → Tracker script: runs
README.md - Skin video → Frame reader: opens and reads
Final Project.py - Tracker script → Frame reader: reads frames
Final Project.py - Frame reader → Skin region: selects region
Final Project.py - Skin region → Green signal: extracts intensity
Final Project.py - Green signal → Band-pass filter: filters signal
Final Project.py - Band-pass filter → Peak detection: finds peaks
Final Project.py - Peak detection → BPM estimates: calculates BPM
Final Project.py - BPM estimates → Interval output: prints intervals
Final Project.py - Band-pass filter → Signal plot: plots signal
Final Project.py - Peak detection → Signal plot: marks peaks
Final Project.py