Update README.md
Browse files
README.md
CHANGED
|
@@ -1,39 +1,55 @@
|
|
| 1 |
-
---
|
| 2 |
-
language: en
|
| 3 |
-
tags:
|
| 4 |
-
- tensorflow
|
| 5 |
-
- image-classification
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- tensorflow
|
| 5 |
+
- image-classification
|
| 6 |
+
- undertone
|
| 7 |
+
- skin-tone
|
| 8 |
+
- beauty-tech
|
| 9 |
+
license: mit
|
| 10 |
+
datasets: []
|
| 11 |
+
pipeline_tag: image-classification
|
| 12 |
+
library_name: tensorflow
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# 🩵 Wrist Undertone Classifier 🩷💛
|
| 16 |
+
> Determine your skin undertone (Cool, Warm, or Neutral) using a wrist photo!
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## 🧠 Overview
|
| 21 |
+
|
| 22 |
+
This TensorFlow model predicts whether a user's wrist undertone is **Cool**, **Warm**, or **Neutral** based on an uploaded image of their wrist.
|
| 23 |
+
It is designed for use in beauty, skincare, and fashion applications — helping users find colors that best match their natural undertone.
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## ⚙️ Model Details
|
| 28 |
+
|
| 29 |
+
| Property | Description |
|
| 30 |
+
|-----------|--------------|
|
| 31 |
+
| **Framework** | TensorFlow (SavedModel format) |
|
| 32 |
+
| **Input** | Wrist image (`.jpg`, `.jpeg`, `.png`) |
|
| 33 |
+
| **Output** | One of three classes: `cool`, `warm`, or `neutral` |
|
| 34 |
+
| **License** | MIT |
|
| 35 |
+
| **Language** | English |
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## 🧩 Example Inference (Python)
|
| 40 |
+
|
| 41 |
+
You can use the [🤗 `huggingface_hub`](https://pypi.org/project/huggingface-hub/) client to test this model programmatically.
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from huggingface_hub import InferenceClient
|
| 45 |
+
|
| 46 |
+
client = InferenceClient("https://api-inference.huggingface.co/models/Salvatore7262/ronaundertone-detector")
|
| 47 |
+
|
| 48 |
+
with open("my_wrist.jpg", "rb") as f:
|
| 49 |
+
result = client.post(
|
| 50 |
+
json=None,
|
| 51 |
+
data=f,
|
| 52 |
+
headers={"Content-Type": "image/jpeg"},
|
| 53 |
+
)
|
| 54 |
+
|
| 55 |
+
print(result.json())
|