semvec/pypi-packages huggingface dataset:
nexface 0.0.9
A face recognition and embedding extraction library
Requires Python: >=3.6


# NexFace

**NexFace** is a modular face recognition library built on top of modern deep learning models. It supports face detection, embedding extraction, clustering, and identification using ONNX, FaceNet, and Scikit-learn-compatible algorithms.

---

## 🚀 Features

- ✅ **Face Detection** (YuNet with OpenCV & ONNX)
- ✅ **Face Embedding Extraction** (FaceNet `.h5`)
- ✅ **Clustering** (DBSCAN & HDBSCAN)
- ✅ **Recognition via Prototypes**
- ✅ Clean and extensible object-oriented design

---

## 🧠 How It Works

1. **Face Detection**:  
   Uses YuNet ONNX model via `cv2.FaceDetectorYN`.

2. **Embedding Extraction**:  
   FaceNet model (Keras `.h5`) extracts 128-D facial embeddings.

3. **Clustering & Prototypes**:  
   Cluster face embeddings via DBSCAN or HDBSCAN.  
   Compute cluster centers (prototypes) for recognition.

4. **Recognition**:  
   New face embeddings are compared against cluster prototypes using cosine or Euclidean similarity.

---
> You can also install using `pip install -r requirements.txt`.

---

## 📌 To Do

- [ ] Add ArcFace / InsightFace support
- [ ] Improve alignment and augmentation
- [ ] Evaluation metrics (precision, recall, etc.)

---

## 🧑‍💻 Author

**Fatih Dağdeviren**  
[fatihdagdeviren21@gmail.com](mailto:fatihdagdeviren21@gmail.com)

GitHub: [github.com/fatihdagdeviren](https://github.com/fatihdagdeviren)
vibesort 0.1.1
Sorting library that uses GPT to sort arrays
Requires Python: >=3.10

# Vibesort

AI-powered array sorting using GPT.

## Usage

Install the package:
```bash
pip install vibesort
```

Set your OpenAI API key as an environment variable.
```bash
export OPENAI_API_KEY=your_key_here
```

```python
from vibesort import vibesort

result = vibesort([5, 2, 8, 1, 9])
print(result)  # [1, 2, 5, 8, 9]
```

## Test

```bash
pytest tests/
```

## Dependencies

- openai
- pydantic  
- typing-extensions

⚠️ Requires OpenAI API key. Experimental project - not for production use.