deepface-basic-usage
Basic usage guide for the DeepFace library (face recognition, verification, analysis).
npx skills add majiayu000/claude-skill-registry --skill deepface-basic-usage --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Skill: DeepFace Basic Usage This skill provides a quick reference and guide for using the `deepface` library for face recognition tasks. ## Overview DeepFace is a hybrid face recognition framework for Python that wraps state-of-the-art models (VGG-Face, FaceNet, ArcFace, etc.) and detectors (RetinaFace, MtCNN, YOLO, etc.). ## Installation ```bash pip install deepface # Or with pixi pixi add deepface ``` ## Core Functions Import: ```python from deepface import DeepFace ``` ### 1. Face Verification (1:1) Determines if two images belong to the same person. ```python result = DeepFace.verify( img1_path = "img1.jpg", img2_path = "img2.jpg", model_name = "VGG-Face", # Optional: see Model Selection below detector_backend = "opencv", # Optional: see Detector Selection below distance_metric = "cosine", # Optional: cosine, euclidean, euclidean_l2 align = True, # Optional: Align faces before verification ) # result is a dict: # { # "verified": True, # "distance": 0.256, # "threshold": 0.40, # "model": "VGG-Face", # "detector_backend": "opencv", # "similarity_metric": "cosine", # "facial_areas": {"img1": {...}, "img2": {...}}, # "time": 1.23 # } ``` ### 2. Face Recognition / Search (1:N) Fin
- Overview
- Installation
- Core Functions
- 1. Face Verification (1:1)
- 2. Face Recognition / Search (1:N)
- 3. Facial Attribute Analysis
- 4. Embeddings (Representation)
- Configuration Options
- Available Models
- Available Detectors
- Distance Metrics
- Common Issues & Tips
pip install deepface Or with pixi pixi add deepface
What does the deepface-basic-usage skill do?
Basic usage guide for the DeepFace library (face recognition, verification, analysis).
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill deepface-basic-usage --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
