#144144th of 168 in ML frameworks and libraries

weighted-boxes-fusion

Python library for ensembling bounding boxes from multiple object detection models

Stars
1.8k
License
MIT
Last commit
Oct 2026
Last release
Mar 2022
Language
Python
Stars, last 29 weeks+22
21 Apr 2026: 1,811 stars28 Apr 2026: 1,814 stars5 May 2026: 1,816 stars12 May 2026: 1,816 stars19 May 2026: 1,818 stars26 May 2026: 1,819 stars2 Jun 2026: 1,820 stars9 Jun 2026: 1,821 stars16 Jun 2026: 1,822 stars23 Jun 2026: 1,823 stars30 Jun 2026: 1,823 stars7 Jul 2026: 1,824 stars14 Jul 2026: 1,824 stars21 Jul 2026: 1,824 stars28 Jul 2026: 1,825 stars4 Aug 2026: 1,825 stars11 Aug 2026: 1,826 stars18 Aug 2026: 1,827 stars25 Aug 2026: 1,827 stars1 Sept 2026: 1,827 stars8 Sept 2026: 1,828 stars15 Sept 2026: 1,829 stars22 Sept 2026: 1,829 stars29 Sept 2026: 1,830 stars6 Oct 2026: 1,830 stars13 Oct 2026: 1,831 stars20 Oct 2026: 1,831 stars27 Oct 2026: 1,832 stars3 Nov 2026: 1,832 stars10 Nov 2026: 1,833 stars

1,811 on 21 Apr 20261,833 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

ensemble-boxes is a Python package that merges predictions from several object detection models using NMS, Soft-NMS, Non-maximum weighted and Weighted Boxes Fusion (WBF). WBF also has 3D, 1D line-segment, rotated-box and quadrangle variants. Inputs are normalized box coordinates, scores and labels per model, with optional per-model weights.

Who it is for: ML engineers ensembling object detection model outputs

Strengths

  • Four ensembling methods behind one call signature: nms, soft_nms, non_maximum_weighted, weighted_boxes_fusion
  • WBF variants for 3D, 1D segments, rotated and quadrangle boxes
  • Installs with pip; requires only Numpy and Numba
  • Benchmarks provided for Open Images, COCO and an NLP dataset

Weaknesses

  • Boxes must be pre-normalized to [0, 1] in x1, y1, x2, y2 order
  • Rotated boxes need the same scale on both axes, or a square image
  • Last tagged release is from 2022-03-24
  • Library only; no model inference or training included

What it needs

  • no GPU
  • Needs Numpy, Numba
  • Models: object detection box outputs (boxes, scores, labels)

Quick answers

Is weighted-boxes-fusion open source?

Yes. Its code is on GitHub under the MIT license.

Does weighted-boxes-fusion need a GPU?

No, it runs without one.

Also in ML frameworks and libraries

See all 168
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.8k stars+1,522 (+0.9%) in 30 daysApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd105.4k stars+1,043 (+1.0%) in 30 dayscustom license93 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,015 (+1.6%) in 30 daysAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+101 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+514 (+1.0%) in 30 daysMIT92 out of 100