Downloads · 30 days
0
hansliao2015/keystroke-liveness
keystroke-liveness is a machine learning model from hansliao2015. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-3.0.
Detects whether free-text keystroke timing is from a real human or a machine-synthesized forgery (liveness, not identity verification).
Downloads · 30 days
0
Access
Public
Updated Jun 10, 2026
Repo size
3.5 MB
Likes
0
Public
Click a slice to open those files.
.joblib3.5 MB · 100%
From the Hugging Face model README
Detects whether free-text keystroke timing is from a real human or a machine-synthesized forgery (liveness, not identity verification).
liveness_detector.joblib) = {feature_columns, scaler, models:{HGB}, min_keys, metrics}.Single-login accuracy is weaker than the aggregate AUC; intended as a supplementary risk signal, not a sole gate.
Trained on the Mendeley Free-Text Keystroke Dynamics for Liveness Detection dataset (CC BY-NC 3.0). This derived model inherits non-commercial + attribution.
import joblib, numpy as np
b = joblib.load("liveness_detector.joblib")
m, sc = b["models"]["HistGradientBoosting"], b["scaler"]
p = m.predict_proba(sc.transform(np.array(features)[None,:]))[0,1] # P(synthetic)