Skip to content

lordofkillz/DarkFusion

Repository files navigation

UltraDarkFusion GUI

🔍 Annotation Support

Bounding Boxes Segmentation Pose Keypoints Oriented Bounding Boxes
Bounding Boxes Segmentation Pose Keypoints Oriented Bounding Boxes

UltraDarkFusion is an advanced GUI for object detection, segmentation, keypoints and computer vision, designed to streamline dataset management, annotation, model training, and real-time inference.

🚀 What's New in UltraDarkFusion?

  • Full Segmentation Support – annotate, train, and run inference on masks with YOLO or SAM.
  • Pose Estimation – automatic keypoint detection, annotation, and training-ready exports.
  • Oriented Bounding Boxes (OBB) – draw, label, and auto-generate rotated boxes via YOLO OBB or SAM.
  • Dataset Manager – organize, deduplicate, and augment your datasets with built-in tools.
  • TensorRT Acceleration – run inference using .engine models for max speed.
  • 🧠 Multi-Backend Tracking – BoT-SORT and ByteTrack support with .pt, .onnx, and .engine formats.
  • 🗣️ Voice-Activated Class Switching – change classes during labeling by saying the name.
  • 🌍 Multilingual UI Translation – dynamically switch languages across the entire interface.

🎯 Key Features

  • 🎨 Label Anything – supports boxes, segmentation, keypoints, and OBB — all in one project.
  • 🎞️ Video & YouTube Processing – auto-label or extract frames directly from video files or YouTube links.
  • 🤖 Automatic Annotation – batch-label folders.
  • 🧩 Flexible Inference – switch between PyTorch, ONNX, and TensorRT seamlessly.
  • 🧼 Cleaner UI – toggle dark/light mode, filter by class, generate heatmaps, and apply custom QSS themes.

🚀 Installation Guide

Required Build Tools

Open Command Prompt and run:

winget install git.git (must restart shell after wards)
winget install Kitware.CMake
winget install --id Microsoft.VisualStudio.2019.BuildTools --source winget --override "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --quiet --wait"

Clone UltraDarkFusion Repository and OpenCV

cd C:\
git clone https://github.com/lordofkillz/DarkFusion.git
cd DarkFusion
git clone --branch 4.9.0 https://github.com/opencv/opencv.git opencv-4.9.0
git clone --branch 4.9.0 https://github.com/opencv/opencv_contrib.git opencv_contrib-4.9.0
mkdir build install

Mandatory Downloads

Anaconda Setup

  • Download and install Anaconda.
  • Accept default installation settings.
  • for experienced devs, just create and environment and pip install -r requirements.txt

Setup Environment

  • Run fusion_install.bat as administrator to create and configure the environment:
cd C:\DarkFusion\
fusion_install.bat

Compile OpenCV with CUDA (Optional) **do not procced past this line if you do not know how to build opencv dnn or trouble shoot problem this is depreciated and will be removed in later version. **

To compile OpenCV with CUDA acceleration (recommended for improved performance when using .weights):

Install CUDA and cuDNN

  • Install CUDA 12.8
  • Download cuDNN compatible with CUDA 12.8 from NVIDIA Developer
  • Extract and copy cuDNN files to:
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8
    

download opencv and opencv-contrib versions with the same as your python versions place both both folders in c:\ create a build and install folder

cd C:\DarkFusion\
fusion_cuda.bat

Install CUDA and cuDNN

  • Install CUDA 12.8
  • Download cuDNN compatible with CUDA 12.8 from NVIDIA Developer
  • Extract and copy cuDNN files to:
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8
    

Install Darknet


Community and Support

Acknowledgments

Special thanks to these open-source projects:

Inspired by DarkMark, developed by Stephane from Hank-AI.

Goals for UltraDarkFusion

  • Remove OpenCV DNN and create a Python wrapper for Darknet
  • Remove the document-based help and train a chatbot for assistance
  • Improve code efficiency (Ongoing...)
  • Upload UltraDarkFusion to PyPI for easier installation and distribution

About

machine learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •