Metadata-Version: 2.4
Name: ultradarkfusion
Version: 5.4.1
Summary: DarkFusion desktop image annotation, dataset preparation, and model training tools
Author: DarkFusion contributors
License-Expression: AGPL-3.0-only
Project-URL: Homepage, https://github.com/lordofkillz/DarkFusion
Project-URL: Repository, https://github.com/lordofkillz/DarkFusion
Project-URL: Issues, https://github.com/lordofkillz/DarkFusion/issues
Project-URL: Documentation, https://github.com/lordofkillz/DarkFusion/blob/main/USER_GUIDE.md
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: <3.13,>=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: torch==2.14.1
Requires-Dist: torchvision==0.29.1
Requires-Dist: numpy==1.26.4
Requires-Dist: scipy==1.17.1
Requires-Dist: Pillow==13.0.0
Requires-Dist: pi-heif==1.4.0
Requires-Dist: PyYAML==6.0.3
Requires-Dist: psutil==7.2.2
Requires-Dist: GPUtil==1.4.0
Requires-Dist: nvidia-ml-py==13.615.71
Requires-Dist: tqdm==4.70.1
Requires-Dist: opencv-python==4.11.0.86
Requires-Dist: opencv-contrib-python==4.11.0.86
Requires-Dist: opencv-python-headless==4.11.0.86
Requires-Dist: ultralytics==8.4.197
Requires-Dist: dill==0.4.1
Requires-Dist: ray[tune]==2.59.0
Requires-Dist: optuna==5.0.0
Requires-Dist: alembic==1.20.1
Requires-Dist: sqlalchemy==2.1.6
Requires-Dist: colorlog==6.12.0
Requires-Dist: pydantic==2.14.1
Requires-Dist: lap==0.5.13
Requires-Dist: sahi==0.11.36
Requires-Dist: clip-anytorch==2.6.0
Requires-Dist: groundingdino-py==0.4.0
Requires-Dist: transformers==5.20.2
Requires-Dist: tokenizers==0.23.3
Requires-Dist: safetensors==0.8.0
Requires-Dist: huggingface-hub==1.33.0
Requires-Dist: supervision==0.6.0
Requires-Dist: timm==1.0.30
Requires-Dist: pycocotools==2.0.11
Requires-Dist: addict==2.4.0
Requires-Dist: yapf==0.43.0
Requires-Dist: diffusers==0.41.0
Requires-Dist: accelerate==1.15.0
Requires-Dist: onnx==1.23.2
Requires-Dist: onnxruntime-windowsml==1.25.2.202605110140; platform_system == "Windows"
Requires-Dist: wasdk-Microsoft.Windows.AI.MachineLearning[all]==2.3.0; platform_system == "Windows"
Requires-Dist: wasdk-Microsoft.Windows.ApplicationModel.DynamicDependency.Bootstrap==2.3.0; platform_system == "Windows"
Requires-Dist: winrt-runtime==3.2.1; platform_system == "Windows"
Requires-Dist: onnxruntime==1.31.0; platform_system != "Windows"
Requires-Dist: PyQt5==5.15.11
Requires-Dist: qt-material==2.14
Requires-Dist: pyqtgraph==0.14.0
Requires-Dist: easyocr==1.7.2
Requires-Dist: pandas==2.3.3
Requires-Dist: matplotlib==3.11.2
Requires-Dist: plotly==7.1.0
Requires-Dist: scikit-learn==1.9.1
Requires-Dist: mss==10.2.0
Requires-Dist: PyAutoGUI==0.9.54
Requires-Dist: SpeechRecognition==3.17.0
Requires-Dist: PyAudio==0.2.14
Requires-Dist: python-dotenv==1.2.4
Requires-Dist: requests==2.34.2
Requires-Dist: yt-dlp[default]==2026.10.21
Requires-Dist: yt-dlp-ejs==0.8.0
Requires-Dist: beautifulsoup4==4.15.0
Requires-Dist: shapely==2.2.0
Requires-Dist: perlin-noise==1.14
Requires-Dist: protobuf==7.36.2
Requires-Dist: Brotli==1.2.1
Requires-Dist: anyio==4.15.1
Requires-Dist: filelock==4.2.4
Requires-Dist: fonttools==4.67.0
Requires-Dist: fsspec==2026.9.0
Requires-Dist: idna==3.20
Requires-Dist: pygments==2.21.0
Requires-Dist: soupsieve==4.0
Requires-Dist: urllib3==2.8.0
Requires-Dist: msgpack==1.2.3
Requires-Dist: sentencepiece==0.2.2
Requires-Dist: onnxslim==0.1.98
Requires-Dist: py-cpuinfo==9.0.0
Requires-Dist: einops==0.8.2
Requires-Dist: seaborn==0.13.2
Requires-Dist: ultralytics-thop==2.2.3
Requires-Dist: ultralytics-platform==0.1.92
Requires-Dist: ultradarkfusion-themes==5.4.1
Provides-Extra: tensorrt
Requires-Dist: tensorrt-cu13==11.4.0.106; extra == "tensorrt"
Requires-Dist: nvidia-modelopt==0.47.0; extra == "tensorrt"
Requires-Dist: onnx-graphsurgeon==0.6.1; extra == "tensorrt"
Requires-Dist: onnxconverter-common==1.16.0; extra == "tensorrt"
Requires-Dist: polygraphy==0.53.6; extra == "tensorrt"
Requires-Dist: onnxscript==0.7.2; extra == "tensorrt"
Requires-Dist: cppimport==26.4.17; extra == "tensorrt"
Requires-Dist: lief==1.0.0; extra == "tensorrt"
Dynamic: license-file

# UltraDarkFusion

DarkFusion is a Windows desktop application for image annotation, dataset
preparation, model training, auto-labeling and image/video inference.

## Install and launch

Use **64-bit Python 3.12 on Windows**, preferably in a virtual environment:

```powershell
py -3.12 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install ultradarkfusion
darkfusion
```

`python -m ultradarkfusion` is an equivalent launch command. The theme asset
package installs automatically; it is part of the same application.

The first launch prepares the unchanged desktop application in a writable,
per-user location under `%LOCALAPPDATA%\DarkFusion\pip`. It does not use or
overwrite an existing source checkout, conda environment, dataset or weights.
Application code and artwork are bundled in the distributions. The launcher
does not download or execute replacement application source.

Run `darkfusion --prepare` to prepare that folder without opening the GUI,
`darkfusion --check` to check the installed application files, and
`darkfusion --version` to show the product version.

## Required models

The first full launch **automatically installs and verifies SAM3, GroundingDINO,
DINOv3 Base and DINOv3 Large** before opening the application. These are required
parts of setup. The model files are downloaded separately because their combined
size exceeds PyPI's per-file limit. No manual ZIP extraction is needed.

Allow about **5.4 GB of model downloads** and **5.7 GB for installed checkpoints**,
plus temporary download space. The terminal shows setup progress. Keep it open
until setup finishes. Interrupted SAM3/GroundingDINO bundle downloads can resume
when the server supports byte ranges; the next launch retries other failed
downloads. Existing files that fail verification are preserved and reported.

Models live in `%LOCALAPPDATA%\DarkFusion\pip\models` and are reused across
application updates. Unchanged verified files do not need another download or
full checksum scan. Setup can also run without opening the GUI:

```powershell
darkfusion --setup-models
```

To reuse an existing installation's required checkpoints, setup can copy and
verify them from its `Sam` folder, downloading only missing files:

```powershell
darkfusion --setup-models --models-from "C:\DarkFusion\UltraDarkFusion\Sam"
```

Your own detection/training weights remain external files selected in the UI.
Feature-specific Hugging Face/OCR/diffusion downloads retain their existing
on-demand behavior. GroundingDINO's Python dependency installs with the package;
it does not require compiling OpenCV CUDA.

## GPU and media tools

PyTorch's default Windows PyPI distribution can use the CPU. For the reviewed
NVIDIA CUDA 13.0 stack, install its wheels into your environment first:

```powershell
python -m pip install torch==2.14.1 torchvision==0.29.1 --index-url https://download.pytorch.org/whl/cu130
python -m pip install ultradarkfusion
```

An appropriate NVIDIA driver is required. Windows ML/DirectML ONNX inference is
separate from PyTorch CUDA. Anaconda is not required.

Native TensorRT/export support is optional:

```powershell
python -m pip install "ultradarkfusion[tensorrt]"
```

Install the hash-pinned private media tools for video URLs and extraction:

```powershell
darkfusion --setup-media
```

This reuses the application's existing FFmpeg/FFprobe/Deno installer and does
not change the machine PATH. Windows ML runtime repair/setup instructions are
included in the prepared application's `ONNX_RUNTIME_BACKEND.md`.

See the [user guide](https://github.com/lordofkillz/DarkFusion/blob/main/USER_GUIDE.md)
and [model setup guide](https://github.com/lordofkillz/DarkFusion/blob/main/MODEL_SETUP.md)
for feature-specific weights and prerequisites.

## License

GNU Affero General Public License v3. See the included license and the
[repository](https://github.com/lordofkillz/DarkFusion).
