Skip to main content

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, default 1): Minimum signal duration in seconds before estimation starts.
  • min_frames (int, default 10): Minimum number of frames before estimation starts.
  • max_frames (int, default 300): 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, default 300): 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, default 30): Expected camera/video FPS.
  • interval (float, default 1): 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

seetapsych_hertz-0.0.2.tar.gz (207.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seetapsych_hertz-0.0.2-py3-none-any.whl (82.7 kB view details)

Uploaded Python 3

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

Hashes for seetapsych_hertz-0.0.2.tar.gz
Algorithm Hash digest
SHA256 445f95db249caa66babcb9439c30a2095a9ed78378afcb1d299a77d7dee21682
MD5 67d77a2e90edbdcac0d0a99fd1412ccd
BLAKE2b-256 e9cf3b0127831f3961444ba2aa731a05c320133d4b8a93e28d7004f00940da07

See more details on using hashes here.

Provenance

The following attestation bundles were made for seetapsych_hertz-0.0.2.tar.gz:

Publisher: publish.yml on seetapsych/seetapsych-hertz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file seetapsych_hertz-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for seetapsych_hertz-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 892c46f4a8fc96b4bf259cee162c74e5cde88cc8d19e19cadefb519b4d76c6b4
MD5 5b117c238728d0b40abf0ed560b38125
BLAKE2b-256 41fcba9bb788d41a5465feeeac6194489f76e272de1c91253ff1823129f801b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for seetapsych_hertz-0.0.2-py3-none-any.whl:

Publisher: publish.yml on seetapsych/seetapsych-hertz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.3.post1

2 files

0.0.3

2 files

This release

0.0.2 This release

2 files

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page