HBB2OBB: Horizontal to Oriented Bounding Box Conversion and Evaluation Tool

HBB2OBB converts horizontal (axis-aligned) bounding boxes (HBBs) into oriented (rotated) bounding boxes (OBBs) by using existing HBB annotations as prompts for segmentation models from the SAM (Segment Anything Model) family. It targets object detection tasks where objects appear at arbitrary orientations, such as aerial imagery, satellite data, and traffic monitoring, producing oriented boxes that tightly encapsulate non-upright objects without any re-annotation. Beyond conversion, it provides horizontal box detection, evaluation, hyperparameter optimization, an interactive annotation viewer, and annotation format-conversion tools, exposed through both a command-line interface and a Python API. 📖 Documentation: rfonod.github.io/hbb2obb , with a quick start on the bundled sample data, a guide per command, pages on how the conversion works, the confidence score, the metrics and provenance, and a CLI and API reference generated from the code. Why HBB2OBB 🎯 Accurate OBBs from HBBs : prompts SAM-family segmentation models with existing horizontal boxes to fit tight oriented boxes around non-upright objects, with no re-annotation required. 🚗 No HBBs? Detect them : the hbb2obb-detect command runs an Ultralytics detector over the images and writes the horizontal boxes the conversion consumes, confidence column included. 🧩 Model ensemble : combines masks from multiple SAM variants through majority voting for more robust, accurate results. 🛡️ Spatially constrained and safe : region-specific masking and contour refinement keep segmentation inside the object, a mask split by an occluder is fitted back together, and a fallback retains the original HBB when no valid mask is found, counted and reported rather than left to be discovered afterwards.

Link
https://zenodo.org/records/23647804
Found by
Zenodo
Authors
Fonod, Robert
Categories
evaluation
Published
2026-10-25
Last seen by the radar
2026-10-25
Downloads
235
Views
1,449
Radar score
46.58 / 100 (how it is scored)
Why it scored so
Matched: evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
Related links
https://doi.org/10.5281/zenodo.23647804
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Zenodo