The dataset is currently empty. Upload or create new data files. Then, you will be able to explore them in the Dataset Viewer.

tsinghua-roads

Dataset Description

This dataset contains road network and street view images within Tsinghua University. The nodes and links are organized in the touchdown format, and the images are stored using LMDB.

The road network is from OpenStreetMap and the images are crawlered from BaiduMap.

Usage

To use this dataset, you can follow these steps:

  1. Clone the repository:

    git clone https://huggingface.co/datasets/FHYQ-Dong/tsinghua-roads
    cd tsinghua-roads
    
  2. Unzip the image database:

    cat images.tar.gz0* | tar -zxvf 
    
  3. Access the dataset:

    import lmdb
    env = lmdb.open('/path/to/tsinghua-roads/images.db')
    with env.begin() as txn:
        assert heading % 15 == 0 # we only have 1 pic / 15 degree
        image_bytes = txn.get(f"{node_id}_{heading}".encode('ascii'))
    
    # other code to parse `nodes.txt` and `lines.txt`
    ...
    

License

This project is licensed under the AFL-3.0 License - see the LICENSE file for details.

Downloads last month
91