From 5275d667f4fdfb64d2c4c841933a8b4239b18bca Mon Sep 17 00:00:00 2001 From: NYH <175484793@qq.com> Date: Wed, 27 Dec 2023 14:48:56 +0800 Subject: [PATCH] V1.0 --- LICENSE | 21 + README.md | 119 ++- __pycache__/decoder.cpython-38.pyc | Bin 0 -> 3304 bytes __pycache__/eval.cpython-38.pyc | Bin 0 -> 1927 bytes __pycache__/func_utils.cpython-38.pyc | Bin 0 -> 3603 bytes __pycache__/loss.cpython-38.pyc | Bin 0 -> 4241 bytes __pycache__/test.cpython-38.pyc | Bin 0 -> 6121 bytes __pycache__/train.cpython-38.pyc | Bin 0 -> 5435 bytes __pycache__/train.cpython-39.pyc | Bin 0 -> 5467 bytes change_jpg_2_png.py | 15 + decoder.py | 97 ++ draw_loss.py | 61 ++ eval.py | 57 ++ eval_for_resnet18_101.py | 42 + func_utils.py | 101 ++ image_filename_to_txtlist.py | 13 + loss.py | 132 +++ main.py | 83 ++ main_for_test.py | 84 ++ main_for_val.py | 83 ++ models/__pycache__/ctrbox_net.cpython-38.pyc | Bin 0 -> 2077 bytes models/__pycache__/model_parts.cpython-38.pyc | Bin 0 -> 1646 bytes models/__pycache__/resnet.cpython-38.pyc | Bin 0 -> 11093 bytes models/ctrbox_net.py | 89 ++ models/model_parts.py | 37 + models/resnet.py | 356 +++++++ my.log | 64 ++ my20230603.log | 949 ++++++++++++++++++ my520.log | 909 +++++++++++++++++ myenlarge.log | 397 ++++++++ nms.py | 119 +++ resize_image.py | 42 + split_txt.py | 26 + test.py | 225 +++++ test20230320.py | 220 ++++ train.py | 194 ++++ 必看.log | 17 + 37 files changed, 4550 insertions(+), 2 deletions(-) create mode 100644 LICENSE create mode 100644 __pycache__/decoder.cpython-38.pyc create mode 100644 __pycache__/eval.cpython-38.pyc create mode 100644 __pycache__/func_utils.cpython-38.pyc create mode 100644 __pycache__/loss.cpython-38.pyc create mode 100644 __pycache__/test.cpython-38.pyc create mode 100644 __pycache__/train.cpython-38.pyc create mode 100644 __pycache__/train.cpython-39.pyc create mode 100644 change_jpg_2_png.py create mode 100644 decoder.py create mode 100644 draw_loss.py create mode 100644 eval.py create mode 100644 eval_for_resnet18_101.py create mode 100644 func_utils.py create mode 100644 image_filename_to_txtlist.py create mode 100644 loss.py create mode 100644 main.py create mode 100644 main_for_test.py create mode 100644 main_for_val.py create mode 100644 models/__pycache__/ctrbox_net.cpython-38.pyc create mode 100644 models/__pycache__/model_parts.cpython-38.pyc create mode 100644 models/__pycache__/resnet.cpython-38.pyc create mode 100644 models/ctrbox_net.py create mode 100644 models/model_parts.py create mode 100644 models/resnet.py create mode 100644 my.log create mode 100644 my20230603.log create mode 100644 my520.log create mode 100644 myenlarge.log create mode 100644 nms.py create mode 100644 resize_image.py create mode 100644 split_txt.py create mode 100644 test.py create mode 100644 test20230320.py create mode 100644 train.py create mode 100644 必看.log diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4ef8446 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 yijingru + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index ea09dd1..c02cb21 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,118 @@ -# Ship_Tilt_Detection +Update (10-10-2021) My email has been changed to yijingru321@gmail.com. +# BBAVectors-Oriented-Object-Detection +[WACV2021] Oriented Object Detection in Aerial Images with Box Boundary-Aware Vectors ([arXiv](https://arxiv.org/pdf/2008.07043.pdf)) -船舶倾斜框检测 \ No newline at end of file +Please cite the article in your publications if it helps your research: + + @inproceedings{yi2021oriented, + title={Oriented object detection in aerial images with box boundary-aware vectors}, + author={Yi, Jingru and Wu, Pengxiang and Liu, Bo and Huang, Qiaoying and Qu, Hui and Metaxas, Dimitris}, + booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision}, + pages={2150--2159}, + year={2021} + } + + +# Introduction + +Oriented object detection in aerial images is a challenging task as the objects in aerial images are displayed in arbitrary directions and are usually densely packed. Current oriented object detection methods mainly rely on two-stage anchor-based detectors. However, the anchor-based detectors typically suffer from a severe imbalance issue between the positive and negative anchor boxes. To address this issue, in this work we extend the horizontal keypoint-based object detector to the oriented object detection task. In particular, we first detect the center keypoints of the objects, based on which we then regress the box boundary-aware vectors (BBAVectors) to capture the oriented bounding boxes. The box boundary-aware vectors are distributed in the four quadrants of a Cartesian coordinate system for all arbitrarily oriented objects. To relieve the difficulty of learning the vectors in the corner cases, we further classify the oriented bounding boxes into horizontal and rotational bounding boxes. In the experiment, we show that learning the box boundary-aware vectors is superior to directly predicting the width, height, and angle of an oriented bounding box, as adopted in the baseline method. Besides, the proposed method competes favorably with state-of-the-art methods. + +
+
+
u*g
z*u7V08d{SDy`tAPSf-_o(dy}F|8GfSvZz~0W7tHfpv9;?8?|+7xFms;>UpxPTe^KL
z(sf;-wHjCmJ?o@#|G6%!%gKtYPF8hQ+HID5P}ffi$Hc!pv-h)8d!KUktEYTFNY;|p
zusvDVC0WB-;LeGV^<(jAly2nz!7e_AhhO{?><_H_J-6g>OT3ATuS;3=(rP>8t?(pG{2
zu_917UVlDgw?5M|BamycSJ~xeIdbNJqF_MLCTEezcca_sU1(!`Omxdakhc-;4f_9k
zaPA
&ooTAL&;h5ZFHE005zz)T7sE
zNaH^P_j
i2Bd@gu_<1WB5oz$E-6ky9W~Bz_*Z
z|6g6~c$>~*(DAnxzx-g)z28~9`|