1、旋转目标监测的定义

受益于通用物体检测的蓬勃发展,目前大多数旋转物体检测模型都是基于经典的通用物体检测模型。随着检测任务的发展,水平箱已经不能满足某些细分领域研究人员的需求。通过重新定义对象表示,增加回归自由度,实现旋转矩形、四边形,甚至任意形状的检测,我们称之为旋转对象检测

2、什么是旋转的盒子

旋转对象检测与通用检测最显著的区别是用旋转的框标注替换了水平框标注。它们的定义如下:

Horizontal box: A rectangle with the width along the x-axis and height
along the y-axis. Usually, it can be represented by the coordinates of
2 diagonal vertices (x_i, y_i) (i = 1, 2), or it can be represented by
the coordinates of the center point and the width and height,
(x_center, y_center, width, height).

Rotated box: It is obtained by rotating the horizontal box around the
center point by an angle, and the definition method of its rotated box
is obtained by adding a radian parameter (x_center, y_center, width,
height, theta), where theta = angle * pi / 180. The unit of theta is
rad. When the rotation angle is a multiple of 90°, the rotated box
degenerates into a horizontal box.
The rotated box annotations
exported by the annotation software are usually polygons, which need
to be converted to the rotated box definition method before training

在MMRotate中,角度参数以弧度为单位。

3、Rotation direction(旋转方向)

将水平的盒子围绕中心点顺时针或逆时针旋转,就可以得到一个旋转的盒子。
将水平的盒子围绕中心点顺时针或逆时针旋转,就可以得到一个旋转的盒子。旋转方向与坐标系的选择密切相关。图像空间采用右手坐标系(y, x),其中y为上->下,x为左->右。有两个相反的旋转方向:

3.1顺时针方向(CW)

3.2 逆时针(CCW)



在MMCV中可以设置旋转方向的算子有:
box_iou_rotated (Defaults to CW)

nms_rotated (Defaults to CW)

RoIAlignRotated (Defaults to CCW)

RiRoIAlignRotated (Defaults to CCW).

MMRotate中,被旋转的盒子的旋转方向为CW。

3、三种选状框定义

由于theta的定义范围不同,在旋转物体检测中,逐渐出现了以下三种旋转盒子的定义:
详细内容参考旋转框目标检测————关于旋转框定义和解决方案

1、Doc’ OpenCV Definition

angle∈(0, 90°], theta∈(0, pi / 2], The angle between the width of the rectangle and the positive semi-axis of x is a positive acute angle. This definition comes from the cv2.minAreaRect function in OpenCV, which returns an angle in the range (0, 90°].

2、Dle 135 Long Edge Definition (135°)

: Long Edge Definition (135°),angle∈[-45°, 135°), theta∈[-pi / 4, 3 * pi / 4) and width > height.

3、Dle90

Long Edge Definition (90°),angle∈[-90°, 90°), theta∈[-pi / 2, pi / 2) and width > height

4、MMRotate组成

MMRotate consists of 4 main parts, datasets, models, core and apis.

1、 datasets

is for data loading and data augmentation. In this part, we support various datasets for rotated object detection algorithms, useful data augmentation transforms in pipelines for pre-processing image.
用于数据加载和数据增强。在这部分中,我们支持旋转对象检测算法的各种数据集,这是图像预处理管道中有用的数据增强变换。

2、models

contains models and loss functions.
包含模型和损失函数。

3、core

provides evaluation tools for model training and evaluation.
提供模型训练和评估的评估工具。

4、apis

provides high-level APIs for models training, testing, and inference.
为模型训练、测试和推断提供高级api。

detecror

neck

rpn head

roi_head

bbox_head

loss

Assigner


MaxConvexIoUAssigner:为每个框分配相应的gt框或背景。每一个提议将被分配为’ -1 ',或一个半正整数表示地面真实指数。

-1:阴性样本,未分配gt
-半正整数:正样本,分配的gt的索引(基于0开始)
Samplers(随机取样器)

post_processing(nms)

iou_calculator

注意

由于旋转框的定义不同,需要注意以下几点:

Loading annotations

Data augmentation

Assigning samples

Evaluation

旋转框目标检测mmrotate v0.3.1入门相关推荐

  1. 旋转框目标检测mmrotate v0.3.1 训练DOTA数据集(二)

    1.数据集构建 MMRoteate 支持的数据集 类别 The object categories in DOTA-v1.0: plane, ship, storage tank, baseball ...

  2. 使用opencv截取旋转框目标

    使用opencv截取旋转框目标 1.第一种方法 2.第二种方法 3.两种方法的简单对比 4.opencv 最小面积矩形返回角度的理解 4.1.version4.2之前 4.2.version4.2之后 ...

  3. mfc 静态框接收tab焦点_目标检测中焦点损失的入门指南

    介绍 对象检测是计算机视觉社区中研究最广泛的主题之一.它已经进入了各个行业,涉及从图像安全,监视,自动车辆系统到机器检查的用例. 当前,基于深度学习的对象检测可以大致分为两类: 两级检测器,例如基于区 ...

  4. 目标检测(Object Detection)入门概要

    Objection Detection Tasks Methods Algorithms Region Proposal Selective Search EdgeBoxes R-CNN SPP-Ne ...

  5. Transformer+目标检测,这一篇入门就够了

    Vision Transformer for Object Detection 本文作者: Encoder-Decoder 简介: Encoder-Decoder 的缺陷: Attention 机制: ...

  6. 基于mmdetection 旋转目标检测(OBB detection)+DOTA数据集自定义数据集+配docker

    这两周得益于组里的任务需求,肝了一个遥感类的飞机旋转框目标检测,在给定的4096*4096的大尺度分辨率图片上去识别检测飞机. 经过模型检测后输出结果图如下图所示: 可以看到最终的结果还是不错的,通过 ...

  7. 超越YOLOv5,1.3M超轻量,高效易用,目标检测领域这一个就够了!

    允中 发自 凹非寺 量子位 编辑 | 公众号 QbitAI 目标检测技术作为视觉技术届的顶梁柱,不仅单兵作战在人脸.车辆.商品.缺陷检测等场景有出色的表现,也是文本识别,图像检索.视频分析.目标跟踪等 ...

  8. 超越YOLOv5,1.3M超轻量,高效易用,目标检测领域这一个就够了

    简 介: 目标检测技术作为视觉技术届的顶梁柱,不仅单兵作战在人脸.车辆.商品.缺陷检测等场景有出色的表现,也是文本识别,图像检索.视频分析.目标跟踪等复合技术的核心模块,应用场景可谓比比皆是.各界开发 ...

  9. 目标检测发展路程(一)——Two stage

    目标检测是计算机视觉领域中非常重要的一个研究方向,它是将图像或者视频中目标与其他不感兴趣的部分进行区分,判断是否存在目标,确定目标位置,识别目标种类的任务,即定位+分类.传统的目标检测模型有VJ.De ...

最新文章

  1. 支付宝H5 与网页端支付开发
  2. Java 反射(初步)
  3. 绝对不能错过!计算机视觉Polygon Mesh Processing读书笔记——4微分几何中的曲线
  4. 身份证号码(最后一位)计算。(使用 Excel 公式,计算 身份证最后一位)
  5. php生成静态页的方法
  6. atitit.提升兼容性最佳实践 o9o
  7. Mysql主从切换流程
  8. 数据库连接参数设置,用户登录,密码修改,权限设置,金蝶KIS旗舰版安卓盘点机PDA
  9. java基于Springboot+vue的零食销售购物商城 elementui 前后端分离
  10. 弱电箱只埋了一根网线时,如何上网和IPTV兼顾?
  11. EXCEL中的定位条件(含快速删除空行,定位图片、文本框等对象)
  12. 炒股两个指标: M1增速和筹码分布
  13. 驱动器存在问题-U盘量产-主控SM3255AB
  14. MySQL事务之不可重复读问题
  15. SQL应用·:用SQL分析供应商营业额
  16. springboot整合RabbitMQ启动报错:An unexpected connection driver error occured,Socket Closed
  17. python 白噪声检验 结果-时间序列 平稳性检验 白噪声 峰度 偏度
  18. 常用的http状态码 状态码大全 常见的状态码
  19. Qt工程中如何添加.pri文件
  20. 使用Processing实现井字棋

热门文章

  1. GIS实验之加权泰森多边形的应用
  2. 【xss-labs】闯关记录16~18
  3. 智慧文档手机版隐私政策
  4. Kvaser Leaf light HS v2 | 如何使用Excel发送和接收CAN报文数据
  5. 活动及宣传内容发布审批小程序开发制作
  6. 关于留言簿的补充说明
  7. emWin 2天速成实例教程012_基于STM32单片机的全键盘中文汉字拼音输入法
  8. com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store
  9. ios客户端安全性问题分析及处理方式
  10. 什么是JavaBeans