rppg_extract package
Submodules
rppg_extract.CHROM module
rppg_extract.POS module
rppg_extract.SSR module
- rppg_extract.SSR.SSR(X, fps, windows=1.6)
Information:
From roi obtain a one time signal POS
Parameters:
- X ::[2darray<float>]
RGB spatial-averaged array
fps ::[int] windows::[float]
averaging window time
Returns:
- bvp::[array<float>]
1d signal
- rppg_extract.SSR.build_p(τ, k, l, U, Λ)
Information:
builds P
- param k
The frame index
- type k
int
- param l
The temporal stride to use
- type l
int
- param U
The eigenvectors of the c matrix (for all frames up to counter).
- type U
numpy.ndarray
- param Λ
The eigenvalues of the c matrix (for all frames up to counter).
- type Λ
numpy.ndarray
- returns
p – The p signal to add to the pulse.
- rtype
numpy.ndarray
rppg_extract.SSch module
Module contents
@author: Chun Hei Michael Chan @copyright: Copyright Logitech @credits: [Chun Hei Michael Chan] @maintainer: Chun Hei Michael Chan @email: cchan5@logitech.com