ShipRSImageNet_devkit

July 8, 2021 · View on GitHub

pythonApache

The ShipRSImageNet Development kit is based on DOTA Development kit, and provides some useful function of ShipRSImageNet.

Functions

The code is useful for ShipRSImageNet. The code provide the following function

  • Load and image, and show the bounding box on it.
  • Covert VOC format label to COCO format label.

What is ShipRSImageNet?

ShipRSIageNet is a large-scale fine-grained dataset for ship detection in high-resolution optical remote sensing images. The dataset contains 3,435 images from various sensors, satellite platforms, locations, and seasons. Each image is around 930×930 pixels and contains ships with different scales, orientations, and aspect ratios. The images are annotated by experts in satellite image interpretation, categorized into 50 object categories. The fully annotated ShipRSImageNet contains 17,573 ship instances.

Installation

  1. install swig
    sudo apt-get install swig
  1. create the c++ extension for python
    swig -c++ -python polyiou.i
    python setup.py build_ext --inplace

Usage

  1. Reading and visualizing data, you can use ShipRSImageNet.py
  2. Converting the VOC format label to COCO format label, you can use ShipRSImageNet2COCO.py