In May I announced that Oriented-det was coming. Today it is here.
Oriented-Det v0.1.0 is officially released under the Apache 2.0 license, available on PyPI as oriented-det, and fully documented. This post covers the main ideas behind the framework and how to get started.
What is Oriented-det? Link to heading
Oriented-det is a lightweight PyTorch library for rotated object detection in aerial and satellite imagery. It targets the workflows where orientation actually matters — ships in a harbor, aircraft on an apron, vehicles in a dense parking lot — and where axis-aligned boxes simply miss the point.
The framework covers the full detection loop: geometry primitives, rotated IoU and NMS, DOTA dataset loading, the detector families, and a clean training pipeline with mixed precision, checkpointing, and TensorBoard support.
Install in one line (Python 3.10+; PyTorch is installed separately for your platform):
pip install oriented-det
Four things that drove the design Link to heading
1. Oriented boxes as the default, not an afterthought Link to heading
Standard YOLO workflows use axis-aligned bounding boxes. Oriented detection is often bolted on as a patch. In Oriented-det, the core representation is the rotated bounding box — five parameters: center x, center y, width, height, angle — and everything else is built around it. The geometry module, IoU computation, NMS, dataset loader, and model heads are all natively oriented.
2. Sovereignty by design Link to heading
Oriented-det is built to run wherever you need it: on-prem, private cloud, air-gapped environments. There is no hosted inference requirement, no platform lock-in, and no call home. You own the weights, the data path, and the deployment surface.
This matters in practice for institutional and government EO programmes where data residency and supply chain auditability are requirements, not nice-to-haves.
3. A clear license for real deployments Link to heading
The framework is released under Apache 2.0. For teams building commercial or institutional products, license clarity is part of the technical decision. There is no ambiguity about what you can ship.
4. Lean enough to stay in production Link to heading
MMRotate is the reference for oriented detection research. It is also heavy: MMCV, MMDetection, MMEngine, compatibility matrices. Oriented-det is lightweight and evolvable, yet also stable and maintainable.
Three baseline models Link to heading
Oriented-det v0.1.0 ships three detectors, all trained on DOTA:
Oriented R-CNN — oriented RPN with midpoint-offset proposals and an oriented ROI head. The current recommended baseline.
Rotated Faster R-CNN — horizontal RPN with an oriented ROI head: a cheaper two-stage detector when throughput matters.
Rotated RetinaNet — single-stage detector with oriented anchors and focal loss, useful as a fast baseline.
All three produce true oriented boxes: the angle is a predicted output, not zero-initialized and ignored. v0.2.0 added Rotated FCOS as the fourth family. v0.4.0 added Rotated RTMDet as the fifth, at 77.60% official Task 1. The current pick among them is which detector to train.
Pretrained weights are hosted on the Hugging Face Hub and can be downloaded with:
odet pretrained download oriented_rcnn_dota_le90_1x
Getting started Link to heading
Install the package, then download a pretrained checkpoint to run your first inference:
pip install oriented-det
# PyTorch must be installed separately for your platform:
# https://pytorch.org/get-started/locally/
odet pretrained download oriented_rcnn_dota_le90_1x
Training from scratch or fine-tuning on your own data follows the same pattern — edit a JSON config, point it at your DOTA-format dataset, and run:
odet tile-dota /path/to/your/dataset/train
odet train --config configs/oriented_rcnn/dota_le90_1x.json
The full workflow — tiling, training, prediction, evaluation — is covered in the Getting Started guide.
What’s next Link to heading
Next in the series: the 15-class DOTA gallery, then oriented object detection on macOS, in pure Python — bus detection on the bundled DOTA demo image using the pretrained Oriented R-CNN, from uv pip install to result.jpg on Apple Silicon (--device mps). The sliding-window inference note covers running the Oriented R-CNN 1× Hub weight on images larger than the 1024×1024 canvas.
Later in this series:
- Lessons learned on DOTA — official Task 1, the leaky eval-val trap, and what transfers to production EO
- Deploy in Docker — a Tile Geo Process service, GeoJSON out
- ONNX export without PyTorch — inference without a PyTorch stack on the infer box
- Oriented-Det v0.4.0 — Rotated RTMDet-S, official Task 1 77.60%
Links Link to heading
- GitHub: github.com/DL4EO/oriented-det — Apache 2.0
- PyPI:
pip install oriented-det - Documentation: dl4eo.github.io/oriented-det
- Previous post: Oriented-det is coming: sovereign oriented detection for EO
If you are evaluating oriented detection for an operational EO system and want to discuss requirements, feel free to reach out.