RepositoryPython
hukaixuan19970627

hukaixuan19970627/yolov5_obb

yolov5 + csl_label.(Oriented Object Detection)(Rotation Detection)(Rotated BBox)基于yolov5的旋转目标检测

2.0kstars
426forks
186issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: aerial-imagery

#1 Repository of the month

1
TINIX TRENDING·Topic: dota

#1 Repository of the month

1
TINIX TRENDING·Topic: rotated-object

#1 Repository of the month

Yolov5 for Oriented Object Detection

图片 train_batch0.jpg results.png

The code for the implementation of “Yolov5 + Circular Smooth Label”.

Results and Models

The results on DOTA_subsize1024_gap200_rate1.0 test-dev set are shown in the table below. (password: yolo)

Model
(download link)
Size
(pixels)
TTA
(multi-scale/
rotate testing)
OBB mAPtest
0.5
DOTAv1.0
OBB mAPtest
0.5
DOTAv1.5
OBB mAPtest
0.5
DOTAv2.0
Speed
CPU b1
(ms)
Speed
2080Ti b1
(ms)
Speed
2080Ti b16
(ms)
params
(M)
FLOPs
@640 (B)
yolov5m [baidu/google]1024×77.373.258.0328.216.911.321.650.5
yolov5s [baidu]1024×76.8---15.6-7.517.5
yolov5n [baidu]1024×73.3---15.2-2.05.0
Table Notes (click to expand / **点我看更多**)
  • All checkpoints are trained to 300 epochs with COCO pre-trained checkpoints, default settings and hyperparameters.
  • mAPtest dota values are for single-model single-scale on DOTA(1024,1024,200,1.0) dataset.
    Reproduce Example:
python val.py --data 'data/dotav15_poly.yaml' --img 1024 --conf 0.01 --iou 0.4 --task 'test' --batch 16 --save-json --name 'dotav15_test_split'
python tools/TestJson2VocClassTxt.py --json_path 'runs/val/dotav15_test_split/best_obb_predictions.json' --save_path 'runs/val/dotav15_test_split/obb_predictions_Txt'
python DOTA_devkit/ResultMerge_multi_process.py --scrpath 'runs/val/dotav15_test_split/obb_predictions_Txt' --dstpath 'runs/val/dotav15_test_split/obb_predictions_Txt_Merged'
zip the poly format results files and submit it to https://captain-whu.github.io/DOTA/evaluation.html
  • Speed averaged over DOTAv1.5 val_split_subsize1024_gap200 images using a 2080Ti gpu. NMS + pre-process times is included.
    Reproduce by python val.py --data 'data/dotav15_poly.yaml' --img 1024 --task speed --batch 1

Updates

  • [2022/1/7] : Faster and stronger, some bugs fixed, yolov5 base version updated.

Installation

Please refer to install.md for installation and dataset preparation.

Getting Started

This repo is based on yolov5.

And this repo has been rebuilt, Please see GetStart.md for the Oriented Detection latest basic usage.

Acknowledgements

I have used utility functions from other wonderful open-source projects. Espeicially thank the authors of:

More detailed explanation

想要了解相关实现的细节和原理可以看我的知乎文章:

有问题反馈

在使用中有任何问题,建议先按照install.md检查环境依赖项,再按照GetStart.md检查使用流程是否正确,善用搜索引擎和github中的issue搜索框,可以极大程度上节省你的时间。

若遇到的是新问题,可以用以下联系方式跟我交流,为了提高沟通效率,请尽可能地提供相关信息以便我复现该问题。

  • 知乎(@略略略)
  • 代码问题提issues,其他问题请知乎上联系

关于作者

  Name  : "胡凯旋"
  describe myself:"咸鱼一枚"

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
cmdbug/YOLOv5_NCNN

🍅 Deploy ncnn on mobile phones. Support Android and iOS. 移动端ncnn部署,支持Android与iOS。

1.6k
May 17, 2022
RepositoryJupyter Notebook
CAPTAIN-WHU/iSAID_Devkit

[CVPR'W19-Oral] Official repository for "iSAID: A Large-scale Dataset for Instance Segmentation in Aerial Images"

154
Apr 3, 2021
Repository
coderonion/awesome-object-detection-datasets

A collection of some awesome public object detection and recognition datasets.

146
Jan 7, 2025
RepositoryPython
ultralytics/yolov5

Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.

58.3k
Nov 23, 2026
RepositoryPython
sqlmapproject/sqlmap

Automatic SQL injection and database takeover tool

39.1k
Nov 30, 2026
RepositoryPython
HumanSignal/labelImg

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source data labeling tool for images, text, hypertext, audio, video and time-series data.

25.0k
Jun 7, 2024
RepositoryPython
OpenDroneMap/ODM

A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷

6.7k
Nov 30, 2026
RepositoryPython
commixproject/commix

Automated Αll-in-One OS command injection exploitation tool.

5.9k
Nov 28, 2026
RepositoryPython
iscyy/ultralyticsPro

🔥🔥🔥 专注于YOLO11,YOLOv8、TYOLOv12、YOLOv10、RT-DETR、YOLOv7、YOLOv5改进模型,Support to improve backbone, neck, head, loss, IoU, NMS and other modules🚀

3.0k
Dec 15, 2025