90d47248da
The audit flags any .env* file in the repository. Removed .env.example from the git index, added it to .gitignore, and updated README with inline setup instruction instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
40 lines
955 B
Markdown
40 lines
955 B
Markdown
# Foto-Kurator
|
|
|
|
Automatisches Aussortieren von Fotos nach Qualitätskriterien.
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
Für KI-Analyse (optional):
|
|
```bash
|
|
echo "ANTHROPIC_API_KEY=your_key_here" > .env
|
|
```
|
|
|
|
## Starten
|
|
|
|
```bash
|
|
python server.py
|
|
```
|
|
|
|
Der Browser öffnet automatisch http://localhost:8000.
|
|
|
|
## Kriterien
|
|
|
|
- **Unscharf** — Laplacian Variance (einstellbar)
|
|
- **Überbelichtet / Unterbelichtet** — Durchschnittliche Helligkeit (einstellbar)
|
|
- **Duplikate** — Perceptual Hashing (einstellbar)
|
|
- **KI-Analyse** — Claude Vision API (optional, ca. 0,003 € / Foto)
|
|
|
|
Aussortierte Fotos landen in `_aussortiert/` im analysierten Ordner.
|
|
|
|
## Tech Stack
|
|
|
|
- **Backend:** Python 3, FastAPI, Uvicorn
|
|
- **Bildanalyse:** OpenCV (Laplacian Variance), Pillow, ImageHash (pHash/MD5)
|
|
- **KI-Analyse (optional):** Anthropic Claude Vision API
|
|
- **Frontend:** Vanilla HTML/CSS/JavaScript (kein Framework)
|
|
- **Konfiguration:** python-dotenv
|