SeetaPsych Hertz
Heart rate estimation modules for SeetaPsych
Usage
This project is already included in the seetapsych-lib default configuration. Download and use it via seetapsych-manager download.
For usage, refer to SeetaPsych.
You can additionally add this algorithm module using the following methods.
Heart rate estimation requires processing video or real-time video streams to extract heart rate information.
WebUI
Run seetapsych-webui with the --files argument to use it.
seetapsych-webui --files seetapsych_hertz/modules/seeta.yml
Programmatic Usage
Add the following code in your program to use this algorithm module.
from seetapsych_lib.runtime.factory import Factory
from seetapsych_lib.runtime.pipeline import Pipeline
factory = Factory()
factory.load_file_modules("seetapsych_hertz/modules/seeta.yml")
pipeline = Pipeline(factory, ...)
pipeline.add_attributes("face/heart_rate")
Introduction
SeetaHeartRateDetector (Signal-based)
Traditional signal-processing-based heart rate estimation. Extracts ROI from facial dense landmarks, then applies chrominance analysis with cubic spline interpolation and FFT frequency-domain peak detection to estimate heart rate from BGR channel signals.
Module config: seeta.yml.
Provide Attributes: face/heart_rate.
Requires: face/dense_landmarks.
Parameters:
min_seconds(float, default1): Minimum signal duration in seconds before estimation starts.min_frames(int, default10): Minimum number of frames before estimation starts.max_frames(int, default300): Maximum frames kept in the sliding signal window.
AdaChrom (Adaptive Chrominance)
Adaptive chrominance-based heart rate estimation using frame-wise sliding window analysis. Extracts photoplethysmographic signals from an adaptive forehead skin ROI, processes each frame with chrominance methods to produce real-time BPM output without FFT fusion.
Module config: ada-chrom.yml.
Provide Attributes: face/heart_rate.
Requires: face/dense_landmarks.
Parameters:
window_samples(int, default300): Number of frames in the sliding estimation window.
TinyHR (ONNX-based)
RhythmFormer ONNX heart rate estimation engine. Converts face-frame sequences into BVP signals using a deep neural network, then applies long-window BVP fusion and Welch spectral analysis for stable heart-rate output.
Module config: tiny-hr.yml.
Provide Attributes: face/heart_rate.
Requires: face/detection.
Available model: seeta-hertz-tinyhr.onnx.
Parameters:
fps(float, default30): Expected camera/video FPS.interval(float, default1): Interval in seconds between heart rate estimations.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seetapsych_hertz-0.0.2.tar.gz.
File metadata
- Download URL: seetapsych_hertz-0.0.2.tar.gz
- Upload date:
- Size: 207.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
445f95db249caa66babcb9439c30a2095a9ed78378afcb1d299a77d7dee21682
|
|
| MD5 |
67d77a2e90edbdcac0d0a99fd1412ccd
|
|
| BLAKE2b-256 |
e9cf3b0127831f3961444ba2aa731a05c320133d4b8a93e28d7004f00940da07
|
Provenance
The following attestation bundles were made for seetapsych_hertz-0.0.2.tar.gz:
Publisher:
publish.yml on seetapsych/seetapsych-hertz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seetapsych_hertz-0.0.2.tar.gz -
Subject digest:
445f95db249caa66babcb9439c30a2095a9ed78378afcb1d299a77d7dee21682 - Sigstore transparency entry: 2652812382
- Sigstore integration time:
-
Permalink:
seetapsych/seetapsych-hertz@d980540cc4924c99fbbbb56b4f89ba16c606e302 -
Branch / Tag:
refs/tags/r0.0.2 - Owner: https://github.com/seetapsych
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d980540cc4924c99fbbbb56b4f89ba16c606e302 -
Trigger Event:
push
-
Statement type:
File details
Details for the file seetapsych_hertz-0.0.2-py3-none-any.whl.
File metadata
- Download URL: seetapsych_hertz-0.0.2-py3-none-any.whl
- Upload date:
- Size: 82.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892c46f4a8fc96b4bf259cee162c74e5cde88cc8d19e19cadefb519b4d76c6b4
|
|
| MD5 |
5b117c238728d0b40abf0ed560b38125
|
|
| BLAKE2b-256 |
41fcba9bb788d41a5465feeeac6194489f76e272de1c91253ff1823129f801b2
|
Provenance
The following attestation bundles were made for seetapsych_hertz-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on seetapsych/seetapsych-hertz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seetapsych_hertz-0.0.2-py3-none-any.whl -
Subject digest:
892c46f4a8fc96b4bf259cee162c74e5cde88cc8d19e19cadefb519b4d76c6b4 - Sigstore transparency entry: 2652812483
- Sigstore integration time:
-
Permalink:
seetapsych/seetapsych-hertz@d980540cc4924c99fbbbb56b4f89ba16c606e302 -
Branch / Tag:
refs/tags/r0.0.2 - Owner: https://github.com/seetapsych
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d980540cc4924c99fbbbb56b4f89ba16c606e302 -
Trigger Event:
push
-
Statement type: