This repo creates an app service to process app-sent videos and performs BPM extraction and HRV analysis on locally hosted and tunneled servers.
Credit:
- BPM Extraction is based on thearn/webcam-pulse-detector.
- HRV Analysis is based on Exploring Heart Rate Variability using Python and hrv-analysis library.
In this video, only the BPM data was generated, but for the newest code, all three files will be generated like the above picture. If the following GIF is not displayed, please go to this folder to download, or go to YouTube to watch it.
- Flutter 3.10.0 with dart 3.0.0 for app development.
- Ngrok 3.3.1 for tunneling.
- Python 3.10.8 for server hosting, video processing, and data extraction.
./convertHRV
: Use BPM to perform HRV analysis../multimedia
: Pictures and Videos for display../processVideo
: BPM extracting script../release
: Released software../server
: Server to receive videos for processing, including./processVideo
, and./convertHRV
../result
: Extracted data../videos
: Videos for processing../wpd_on_phone
: App to record and send video.
- Learn The Dart Programming Language - Complete Free Course!
- How to setup Flutter, Visual Studio Code, and Android Emulator on Windows - 2022
- Flutter Basic Training - 12 Minute Bootcamp
- Flutter in 100 seconds
- OpenCV Cascade Classifier
- Computer Vision with ML Kit - Flutter In Focus
- Capture photos from Camera using Image Stream with Flutter