Face analysis scoring using Face++ API
Project description
Shakal Scorer
Face analysis scoring using Face++ API.
Install
pip install shakal-scorer
Usage
from shakal_scorer import ShakalScorer
scorer = ShakalScorer(
api_key="your_facepp_key",
api_secret="your_facepp_secret"
)
with open("photo.jpg", "rb") as f:
result = scorer.analyze(f.read())
print(result.overall_score) # 7.2
print(result.category) # "Theek Thaak"
print(result.breakdown) # {beauty: 7.1, symmetry: 6.8, ...}
print(result.metadata) # {age: 24, gender: "Male", ...}
Score Categories
| Score | Category |
|---|---|
| 8.5+ | Mashallah Boss! |
| 7.0+ | Solid Hai Yaar |
| 5.5+ | Theek Thaak |
| 4.0+ | Kuch Karna Parega |
| <4.0 | Bhai... Serious Talk |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shakal_scorer-0.1.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shakal_scorer-0.1.0.tar.gz.
File metadata
- Download URL: shakal_scorer-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
780c37d217d5c7b3e6e0708af5db1499f67ebb8cb8455e1274370e1f25a91e26
|
|
| MD5 |
d99197c160543d5cefb23674769b22be
|
|
| BLAKE2b-256 |
205c17fcf08e5376bbcc1ceb5b433e4bd0fb13f9105c9efe1bd809885038eed0
|
File details
Details for the file shakal_scorer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shakal_scorer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95d3c421d3538ffad910679efc98ffd73868fc1f3233316401ca871823596c2f
|
|
| MD5 |
4cbe2b8582ccfb019d70d51fe9e27da3
|
|
| BLAKE2b-256 |
beb4bb5ebf2f63df8349dd05ecc85c1e716fa01999eefa9a786460202b253212
|