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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

seetapsych_hertz-0.0.1-py3-none-any.whl (83.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for seetapsych_hertz-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 308552ac8cbf5177f5692c70d1df54b4e1ed0a4c7d890d3d7c6ef0fd32731f9d
MD5 28dbc6e61dc83ee04b07d0b491497c11
BLAKE2b-256 6b46e1dccb52d087163a1d266c909f673255787dc0d2aec451fb2461a8ed4ac7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3.post1

2 files

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

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