Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Dc-4nderson
/
confidence-body-image-model
like
0
Text Classification
Dc-4nderson/confidence-body-image-dataset
English
image-classification
body-language
confidence-detection
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
main
confidence-body-image-model
789 kB
Ctrl+K
Ctrl+K
1 contributor
History:
6 commits
Dc-4nderson
Upload confidence_pose_model.pkl with huggingface_hub
26f6be7
verified
about 1 year ago
.gitattributes
Safe
1.52 kB
initial commit
about 1 year ago
README.md
178 Bytes
# π§ββοΈ Confidence Pose Classifier (Body Language) This model predicts the confidence level of a person based on their **body pose** in a single image. It's trained on pose vectors extracted from Zoom-like screenshots using [MediaPipe](https://google.github.io/mediapipe/solutions/pose.html). --- ## π‘ How It Works - Input: a **pose vector** of 33 keypoints (x, y, z), flattened to a 99-length float list - Output: one of three labels: - `confident` - `not_confident` - `kinda_confident` This is ideal for use cases like: - Analyzing student confidence during virtual learning - Visual AI for coaching and feedback - Real-time body-language evaluation in Zoom or webcam settings --- ## π§ Model Details - Trained with `scikit-learn`'s `RandomForestClassifier` - Input features: 99 pose coordinates per image (from MediaPipe) - Label encoding saved via `LabelEncoder` --- ## π Usage To use this model in your app: ```python import joblib import numpy as np # Load model + encoder model = joblib.load("confidence_pose_model.pkl") encoder = joblib.load("label_encoder.pkl") # Example input: a 99-length pose vector (from MediaPipe) pose_vector = np.array([...]) # Replace with your vector # Predict label = encoder.inverse_transform(model.predict([pose_vector]))[0] print("Predicted label:", label)
about 1 year ago
confidence_pose_model.pkl
pickle
Detected Pickle imports (7)
"_codecs.encode"
,
"sklearn.ensemble._forest.RandomForestClassifier"
,
"sklearn.tree._classes.DecisionTreeClassifier"
,
"numpy.ndarray"
,
"numpy._core.multiarray._reconstruct"
,
"numpy.dtype"
,
"joblib.numpy_pickle.NumpyArrayWrapper"
How to fix it?
787 kB
xet
Upload confidence_pose_model.pkl with huggingface_hub
about 1 year ago
label_encoder.pkl
pickle
Detected Pickle imports (6)
"numpy.ndarray"
,
"sklearn.preprocessing._label.LabelEncoder"
,
"joblib.numpy_pickle.NumpyArrayWrapper"
,
"_codecs.encode"
,
"numpy._core.multiarray._reconstruct"
,
"numpy.dtype"
How to fix it?
577 Bytes
xet
Upload label_encoder.pkl with huggingface_hub
about 1 year ago