This is the code repo for paper "Synthetic Map Generation to Provide Unlimited Training Data for Historical Map Text Detection" We use cycle-GAN to convert open street map (OSM) images into historical map style. The historical map dataset used for training is downloaded from National Library of Scotland (NLS) website.
- For training, run cycleGAN-keras.py
- For generating synthetic historical maps with trained model, run sytle_convert.py
A live demo is available at https://zekun-li.github.io/side-by-side/
This demo provides two radio buttons to toggle between two views. The first view compares the synthesized historical map with the input OSM map, and the second view compares the synthesize map with authentic historical maps.
Weight files can be downloaded here
Synthetic historical map tiles of size 256x256 can be downloaded from Google Drive at here(1.2G), and map tiles of size 728x728 can be downloaded from here (3.5G)
@inproceedings{li2021synthetic,
title={Synthetic Map Generation to Provide Unlimited Training Data for Historical Map Text Detection},
author={Li, Zekun and Guan, Runyu and Yu, Qianmu and Chiang, Yao-Yi and Knoblock, Craig A},
booktitle={Proceedings of the 4th ACM SIGSPATIAL International Workshop on AI for Geographic Knowledge Discovery},
pages={17--26},
year={2021}
}
Ackowlegment: The code is adapted from this github repo.