Skip to content

wish44165/Object-Detection-in-Aerial-Images

Repository files navigation

$\large{\textbf{Overview}}$

Nowadays, with the rapid development of deep neural networks and the computing power of graphic cards, the performance of object detection has been greatly improved. Even though this field looks very mature, there are still some intractable problems, such as a lack of labeled data and a lack of understanding of species. Here, I use YOLOv5 as my object detection model. Using this method, my final scores are $0.727275$ and $0.749105$ in public and private leaderboards, respectively. In addition, my overall ranking is $11$ th out of $236$ teams.

1. Environment Setup

Hardware information
  • CPU: i7-11700F
  • GPU: GeForce GTX 1660 SUPER™ VENTUS XS OC (6G)
Conda environment
$ conda create -n uav_yolov5 python=3.7 -y
$ conda activate uav_yolov5
Clone Repository
$ git clone https://github.com/TW-yuhsi/Object-Detection-in-Aerial-Images
$ cd Object-Detection-in-Aerial-Images/
$ pip install -r requirements.txt

2. Reproduce the Best Result (public: 0.727275, private: 0.749105)

Folder Structure
Object-Detection-in-Aerial-Images/
    ├── best.pt
    ├── datasets/
        └── private/    # img1501.png, img1502.png, img1503.png, ...
Inference
$ python detect_csv.py --weights best.pt --source datasets/private --conf-thres 0.3 --iou-thres 0.3 --save-txt --imgsz 2912

3. GitHub Acknowledgement

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •