- Fix absolute API paths in index.html (/analyze, /move, /preview → relative) - Allow all CORS origins in server.py for reverse-proxy compatibility - Add tech stack section to README.md - Create .vch-description for VCH Showcase Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
41 lines
968 B
Markdown
41 lines
968 B
Markdown
# Foto-Kurator
|
|
|
|
Automatisches Aussortieren von Fotos nach Qualitätskriterien.
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
Für KI-Analyse (optional):
|
|
```bash
|
|
cp .env.example .env
|
|
# ANTHROPIC_API_KEY in .env eintragen
|
|
```
|
|
|
|
## 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
|