Downloads · 30 days
0
py-feat/bs_to_au
bs_to_au is a machine learning model from py-feat. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for py-feat. The card lists the license as mit.
Predicts 20 FACS Action Unit intensities from 52 MediaPipe blendshapes via Cheong-style PLS regression. Lets MPDetector output AU columns comparable to Detector's xgb output.
Downloads · 30 days
0
Access
Public
Updated May 7, 2026
Repo size
9.3 KB
Likes
0
Public
Click a slice to open those files.
.npz9.3 KB · 69%
From the Hugging Face model README
Predicts 20 FACS Action Unit intensities from 52 MediaPipe blendshapes via Cheong-style PLS regression. Lets MPDetector output AU columns comparable to Detector's xgb output.
Linear PLS regression mapping 52 MediaPipe blendshapes to 20 FACS Action Unit intensities. Used to give MPDetector an AU output stream comparable to Detector's xgb AU model output.
The saved coef + intercept absorb PLSRegression's scale=True standardization, so inference is a single matmul:
au = blendshapes @ coef + intercept # (n, 52) @ (52, 20) + (20,) = (n, 20)
au = np.clip(au, 0.0, 1.0) # optional
NPZ with:
Loader: np.load("bs_to_au_pls_v2.npz") — no extra deps needed.