Skip to content

yangxu351/synthetic_xview_airplanes

Repository files navigation

synthetic_xview_airplanes

  1. Download CityEngine, and open CityEngine

  2. Create a New CityEngine Project, then create a 3d scene (.cej), which should be in the "scene" folder (in scenes/.cej), and in the top bar, use "Rectangular shape creation" to draw a rectangle in the 3d scene. image

image

  1. Prepare background images (maps/*.jpg or *.png), we can directly drag the background image into the shape you draw in the scene.

  2. Prepare 3D airplane models (assets (*.OBJ, *.glb, *.fbx)

  3. Create a rule (rules/*.cga) to design the loacation, size, color of 3D airpplane models assets/*.obj

  4. Write a python script (scripts/*.py) to capture overhead images, and to control virtual camera height, environment parameters(e.g. solar elevation angle, solar azumith angle and shadow intensity)

  5. Run python files (F9) in CityEngine, then all captured files will be saved in the folder of images

Illustration of synthetic data generation process

Illustration of synthetic data generation process

1 2 3 4 5
Background Images
RGB Images
GT annotations

the background images are projected with a certain degree in CE

Clone the repository

git clone https://github.com/yangxu351/synthetic_xview_airplanes.git

Note: there is a bug of math log function in CityEngine

Citation

If you find these models useful for your resesarch, please cite with these bibtexs.

SIMPL: Generating Synthetic Overhead Imagery to Address Zero-shot and Few-Shot Detection Problems

@article{xu2021simpl,
      title={SIMPL: Generating Synthetic Overhead Imagery to Address Zero-shot and Few-Shot Detection Problems}, 
      author={Yang Xu and Bohao Huang and Xiong Luo and Kyle Bradbury and Jordan M. Malof},
      year={2021},
      journal={{arXiv preprint arXiv:2106.15681}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages