| # ============================================= |
| # requirements.txt fΓΌr Nackt-Analyzer (2025/2026) |
| # ============================================= |
|
|
| gradio>=4.44.0,<5.0.0 # stabile Version vor Breaking Changes in 5.x |
| pillow>=10.3.0 # PIL β Bild laden, crop, resize, BytesIO |
| numpy>=1.26.0,<2.0.0 # Array-Operationen, cv2/nudenet kompatibel |
| opencv-python-headless>=4.9.0.80 # cv2 ohne GUI β deutlich kleiner & servertauglich |
|
|
| nudenet>=0.0.7 # Nackterkennung (ONNX-basiert) |
| onnxruntime>=1.18.0 # CPU-Version (Standard) |
|
|
| # ββββββββββββββββββββββββββββββββββββββββββββββ |
| # Optionale GPU-Beschleunigung (deutlich schneller!) |
| # torch==2.4.1+cu121 # oder passende CUDA-Version |
| # torchvision==0.19.1+cu121 |
| # --extra-index-url https://download.pytorch.org/whl/cu121 |
| # onnxruntime-gpu>=1.18.0 # β statt onnxruntime, wenn GPU vorhanden |
|
|
| # ββββββββββββββββββββββββββββββββββββββββββββββ |
| # nur wenn du zusΓ€tzliche Features brauchst: |
| # python-multipart>=0.0.9 # manchmal bei Gradio File-Uploads nΓΆtig |
| # aiofiles>=23.2.1 # async File-Handling (optional) |