# FaceSwap Batch Tool - Abhaengigkeiten
#
# WICHTIG - Pinning (Stand der Messung, siehe tests/):
# Die alte Fassung pinnte numpy<2.0 und schrieb Python 3.12 vor. Beides ist
# ueberholt und blockiert die Installation auf aktuellen Pythons:
#   * numpy 1.26.4 hat KEINE Wheels fuer Python 3.13 -> pip baut aus dem
#     Quellcode (minutenlang, oft fehlschlagend). numpy 2.x hat Wheels.
#   * insightface ist inzwischen 2.0; die alte Pin-Zeile zog 0.7.x.
# Gemessen: die komplette Bild- und Videopipeline laeuft auf
# Python 3.13 + numpy 2.5 + OpenCV 5 + insightface 2.0 + onnxruntime 1.30
# fehlerfrei durch. Siehe tests/test_robustness.py.
#
# Nur noetig, wenn wirklich GPU genutzt wird (NVIDIA):
#   pip install torch --index-url https://download.pytorch.org/whl/cu121
#   pip install onnxruntime-gpu
# Andernfalls reicht die CPU-Variante.

opencv-python-headless>=4.10
numpy>=2.0,<3
Pillow>=10.0
insightface>=0.7.3
onnxruntime>=1.16.0

# Optional: GFPGAN-Gesichtswiederherstellung (gross, ~330 MB Gewichte).
# Die Pipeline laeuft auch ohne - core/models.py faellt dann automatisch
# auf "nicht bereit" zurueck, statt abzubrechen.
# gfpgan>=1.3.8
# torch>=2.1.0
# torchaudio>=2.1.0

# Optional: Sprachklon (XTTS v2 / FreeVC). Wird erst zur Laufzeit geladen.
# coqui-tts>=0.28.0
