Update README.md
Browse files6 unmodified lines7891011126 unmodified linessdk_version: 5.49.1app_file: app.pypinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference6 unmodified lines789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081826 unmodified linessdk_version: 5.49.1app_file: app.pypinned: falsepython_version: 3.10short_description: Facial recognition with InsightFace using Gradiotags: ["computer-vision", "facial-recognition", "insightface", "gradio"]fullWidth: true---# FaceRecognity 🐢FaceRecognity is a **facial recognition web app** built with **InsightFace** and **Gradio**, designed to run smoothly on Hugging Face Spaces.It allows you to:- **Extract face embeddings** from any uploaded image.- **Compare a target face** against multiple candidate images.- Get **match confidence scores** for similarity.---## Features1. **Extract Embeddings**- Upload an image and get a numerical face embedding vector.- Useful for storing face representations or running offline comparisons.2. **Match Faces**- Upload a target face image and multiple candidate images.- Quickly identify which candidates match the target face.- Returns similarity scores (0–100%).---## How to Use1. **Extract Embedding**- Go to the "Extract Embedding" tab.- Upload an image with a clear face.- Click **Extract** to get the embedding.2. **Match Faces**- Go to the "Match Faces" tab.- Upload a target image and up to 5 candidate images.- Click **Match** to see which candidates match the target.---## RequirementsThis Space uses the following Python packages:- `gradio`- `numpy`- `opencv-python-headless`- `insightface`- `torch`- `onnxruntime`- `tensorflow-cpu`> The `requirements.txt` is already included in the repository for automatic installation.---## Notes- Works best with **single-face images** for extraction and matching.- Candidate images without a detected face are ignored.- Runs entirely in-memory—no images are stored on the server.---## References- [InsightFace GitHub](https://github.com/deepinsight/insightface)- [Gradio Docs](https://gradio.app)- [Hugging Face Spaces Configuration Reference](https://huggingface.co/docs/hub/spaces-config-reference)
README.md+71-1