jeroenmeirlaen z-hb commited on
Commit
5721fe6
·
verified ·
0 Parent(s):

Duplicate from z-hb/OpenSatMap

Browse files

Co-authored-by: Hongbo Zhao <z-hb@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
56
+ # Video files - compressed
57
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
58
+ *.webm filter=lfs diff=lfs merge=lfs -text
59
+ 19picstrainvaltest.zip.001 filter=lfs diff=lfs merge=lfs -text
60
+ 19picstrainvaltest.zip.002 filter=lfs diff=lfs merge=lfs -text
61
+ 19picstrainvaltest.zip.003 filter=lfs diff=lfs merge=lfs -text
62
+ 20picstrainvaltest.zip.001 filter=lfs diff=lfs merge=lfs -text
63
+ 20picstrainvaltest.zip.002 filter=lfs diff=lfs merge=lfs -text
64
+ 20picstrainvaltest.zip.003 filter=lfs diff=lfs merge=lfs -text
65
+ 20picstrainvaltest.zip.004 filter=lfs diff=lfs merge=lfs -text
66
+ 20picstrainvaltest.zip.005 filter=lfs diff=lfs merge=lfs -text
67
+ 20picstrainvaltest.zip.006 filter=lfs diff=lfs merge=lfs -text
68
+ annotrainval19.json filter=lfs diff=lfs merge=lfs -text
69
+ annotrainval20.json filter=lfs diff=lfs merge=lfs -text
70
+ 20picstrainvaltest.zip.007 filter=lfs diff=lfs merge=lfs -text
71
+ 20picstrainvaltest.zip.008 filter=lfs diff=lfs merge=lfs -text
72
+ 20picstrainvaltest.zip.009 filter=lfs diff=lfs merge=lfs -text
73
+ 20picstrainvaltest.zip.010 filter=lfs diff=lfs merge=lfs -text
74
+ 20picstrainvaltest.zip.011 filter=lfs diff=lfs merge=lfs -text
75
+ 20picstrainvaltest.zip.012 filter=lfs diff=lfs merge=lfs -text
76
+ GPS_info_all.json filter=lfs diff=lfs merge=lfs -text
19picstrainvaltest.zip.001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:050ca1c0d191418b0ef8748527594ee664ca994845e44968442078e09dcf5551
3
+ size 4290772992
19picstrainvaltest.zip.002 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86fbe7e8eff01181d3ddddf8c9660d6a6e218b28aafde36e9090f01ac2cd2c8a
3
+ size 4290772992
19picstrainvaltest.zip.003 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252c9ccc93ad1cd8b6c6b0a5ec51302b2eca25915f594d0bd374e70ab1c2cc62
3
+ size 3242165385
20picstrainvaltest.zip.001 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f885102f9f35bdd065bae91b36267b9cc043df288ba0d3efc6bd2fc0bb1457b
3
+ size 4290772992
20picstrainvaltest.zip.002 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ba3317145634bfae433c0a3cbab446e8fcc2b9ae1ebe866e573bdb4893c95c8
3
+ size 4290772992
20picstrainvaltest.zip.003 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f7504514a71da91ce51bf5919afd4b63e01d1d518a7fc7a4d8426575fa266eb
3
+ size 4290772992
20picstrainvaltest.zip.004 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9de2f2255f986ed18f267ebae145140d3f506b2158631bc096a0b2dd9c8b6239
3
+ size 4290772992
20picstrainvaltest.zip.005 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3495fd4a9896006ab2b7901a6f71d599ff0f65c568603da76e422eb5f7c5c903
3
+ size 4290772992
20picstrainvaltest.zip.006 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d962f266e746189788604fd2cdbabb4d54bf39209a6f76d79a90a9736fdee8
3
+ size 4290772992
20picstrainvaltest.zip.007 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90365d8e30056b7d5e65ad870d7499192758560562c0f5a2c9ab375b75d3b079
3
+ size 4290772992
20picstrainvaltest.zip.008 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a24e52c4a0cffe9f091c9b324166e213f6100b1571b2f3e0c0f0dba93ae9089
3
+ size 4290772992
20picstrainvaltest.zip.009 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7271c8e344439cf5b8520c2d196aa1a13955947591b27d50ec0cb2f3211856b9
3
+ size 4290772992
20picstrainvaltest.zip.010 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c44dc9452069138b365b2d203211c17cce555ade145523d84645a8c5059b09c
3
+ size 4290772992
20picstrainvaltest.zip.011 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4034910b21122f4d6b26aaf5ca2a6aaa8b58dd83f0d0951b117c90a762adac5
3
+ size 4290772992
20picstrainvaltest.zip.012 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d7b113c2a2bd2ffbbdaeaec6b46dfc439f63eedca14fbe9092ab52728ce571
3
+ size 2914770862
GPS_info_all.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1de60209bde373f15032b65a699e2cbc3509db135ed37fbb726486aa5f5e346
3
+ size 28378359
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - OpenSatMap
7
+ - Satellite
8
+ task_categories:
9
+ - image-segmentation
10
+ configs:
11
+ - config_name: default
12
+ data_files:
13
+ - split: zoom19
14
+ path: "annotrainval19.json"
15
+ - split: zoom20
16
+ path: "annotrainval20.json"
17
+ ---
18
+ # OpenSatMap Dataset Card
19
+
20
+ <p align="center">
21
+ <img src="image/README/1732438503023.png" alt="1732438503023">
22
+ </p>
23
+
24
+ ## Description
25
+ The dataset contains 3,787 high-resolution satellite images with fine-grained annotations, covering diverse geographic locations and popular driving datasets. It can be used for large-scale map construction and downstream tasks like autonomous driving. The images are collected from Google Maps at level 19 resolution (0.3m/pixel) and level 20 resolution (0.15m/pixel), we denote them as OpenSatMap19 and OpenSatMap20, respectively. For OpenSatMap19, the images are collected from 8 cities in China, including Beijing, Shanghai, Guangzhou, ShenZhen, Chengdu, Xi'an, Tianjin, and Shenyang. There are 1806 images in OpenSatMap19. For OpenSatMap20, the images are collected from 18 countries, more than 50 cities all over the world. There are 1981 images in OpenSatMap20. The figure below shows the sampling areas of the images in OpenSatMap.
26
+ <p align="center">
27
+ <img src="image/README/1732438352223.png" alt="1732438352223">
28
+ </p>
29
+
30
+ For each image, we provide instance-level annotations and eight attributes for road structures, including lanes lines, curb and virtual lines. The instances in OpenSatMap images are annotated by experts in remote sensing and computer vision. We will continue to update the dataset, to grow in size and scope to reflect evolving real-world conditions.
31
+
32
+
33
+ ## Image Source and Usage License
34
+ The OpenSatMap images are collected from Google Maps. The dataset will be licensed under a Creative Commons CC-BY-NC-SA 4.0 license and the usage of the images must respect the Google Maps Terms of Service.
35
+ ## Line Category and Attribute
36
+ We use vectorized polylines to represent a line instance. We first categorize all lines into three categories: curb, lane line, and virtual line. A curb is the boundary of a road. Lane lines are those visible lines forming the lanes. A virtual line means that there is no lane line or curb here, but logically there should be a boundary to form a full lane. Please refer to the figure below for examples of these three categories.
37
+
38
+ For each line instance, we provide eight attributes: **color, line type,number of lines, function, bidirection, boundary, shaded, clearness**.
39
+
40
+ Specifically, they are:
41
+ - Color: The color of the line. It can be white, yellow, others or none.
42
+ - Line type: The type of the line. It can be solid, thick solid, dashed, short dashed dotted, others or none.
43
+ - Number of lines: The number of the line. It can be single, double, others or none.
44
+ - Function: The function of the line. It can be Chevron markings, no parking, deceleration line, bus lane, tidal line, parking space, vehicle staging area, guide line, changable line, lane-borrowing line, others or none.
45
+ - Bidirection: Whether the line is bidirectional. It can be true or false.
46
+ - Boundary: Whether the line is a boundary. It can be true or false.
47
+ - Shaded: The degree of occlusion. It can be no, minor or major.
48
+ - Clearness: The clearness of the line. It can be clear or fuzzy.
49
+ Note that there is no man-made visible line on curbs and virtual lines, so we annotate their colors, line types, numbers of lines, and functions as none.
50
+
51
+ <p align="center">
52
+ <img src="image/README/1732438442673.png" alt="1732438442673">
53
+ </p>
54
+
55
+ ## Annotation Format
56
+ The annotations are stored in JSON format. Each image is annotated with "image_width", "image_height", and a list of "lines" where the elements are line instances. Each line is annotated with "category", "points", "color", "line_type", "line_num", "function", "bidirection", "boundary", "shaded", and "clearness".
57
+ ```
58
+ {"img_name": {
59
+ "image_width": int,
60
+ "image_height": int,
61
+ "lines": [
62
+ {
63
+ "category": str,
64
+ "points": [
65
+ [float, float],
66
+ [float, float],
67
+ [float, float],
68
+ ...
69
+ ],
70
+ "color": str,
71
+ "line_type": str,
72
+ "line_num": str,
73
+ "function": str,
74
+ "bidirection": bool,
75
+ "boundary": bool,
76
+ "shaded": str,
77
+ "clearness": bool
78
+ },
79
+ {
80
+ "category": str,
81
+ "points": [
82
+ [float, float],
83
+ [float, float],
84
+ [float, float],
85
+ ...
86
+ ],
87
+ "color": str,
88
+ "line_type": str,
89
+ "line_num": str,
90
+ "function": str,
91
+ "bidirection": bool,
92
+ "boundary": bool,
93
+ "shaded": str,
94
+ "clearness": bool
95
+ },
96
+ ...
97
+ ]
98
+ }
99
+ }
100
+ ```
101
+
102
+ ## Meta data
103
+ The meta data of GPS coordinates and image acquisition time are also provided. The meta data is stored in a JSON file. Image names are keys and values are the tiles we used in each images.
104
+ Please refer to [get_google_maps_image](https://github.com/bjzhb666/get_google_maps_image) for more details.
105
+ We can use the meta data to calculate the center of a picture and the code will be released in [Code (We will release all the codes as soon as possible)](https://github.com/OpenSatMap/OpenSatMap-offical).
106
+
107
+ ```
108
+ {
109
+ "img_name": [
110
+ {
111
+ "centerGPS": [float, float],
112
+ "centerWorld": [float, float],
113
+ "filename": str
114
+ },
115
+ {
116
+ "centerGPS": [float, float],
117
+ "centerWorld": [float, float],
118
+ "filename": str
119
+ },
120
+ ...
121
+ ]
122
+ ...
123
+ }
124
+ ```
125
+ ## Paper or resources for more information:
126
+ [Paper](https://arxiv.org/abs/2410.23278),
127
+ [Project](https://opensatmap.github.io/),
128
+ [Code (We will release all the codes as soon as possible)](https://github.com/OpenSatMap/OpenSatMap-offical)
129
+
130
+ ## Intended use
131
+ ### Task 1: Instance-level Line Detection
132
+ The aim of this task is to extract road structures from satellite images at the instance level. For each instance, we use polylines as the vectorized representation and pixel-level masks as the rasterized representation.
133
+ <p align="center">
134
+ <img src="image/README/1732438334686.png" alt="1732438334686">
135
+ </p>
136
+
137
+ ### Task 2: Satellite-enhanced Online Map Construction
138
+ We use satellite images to enhance online map construction for autonomous driving. Inputs are carema images of an autonomous vehicle and satellite images of the same area and outputs are vectorized map elements around the vehicle.
139
+ <p align="center">
140
+ <img src="image/README/1732438311510.png" alt="1732438311510">
141
+ </p>
142
+
143
+ **Alignment with driving benchmark (nuScenes)**
144
+
145
+ <p align="center">
146
+ <img src="image/README/1732438587349.png" alt="1732438587349">
147
+ </p>
148
+
149
+ ## Citation
150
+
151
+ ```
152
+ @article{zhao2024opensatmap,
153
+ title={OpenSatMap: A Fine-grained High-resolution Satellite Dataset for Large-scale Map Construction},
154
+ author={Zhao, Hongbo and Fan, Lue and Chen, Yuntao and Wang, Haochen and Jin, Xiaojuan and Zhang, Yixin and Meng, Gaofeng and Zhang, Zhaoxiang},
155
+ journal={arXiv preprint arXiv:2410.23278},
156
+ year={2024}
157
+ }
158
+
159
+ ```
annotrainval19.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8150d671580506c5f4d849045c06b584af0490a42d729857a9b563d1f724f7c4
3
+ size 106003523
annotrainval20.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:897ac3a4f7e12232e1cb2631dcdf9490ad5b768132d8b3cbdc93a5f65c1d9bf5
3
+ size 216464631
image/README/1732438311510.png ADDED

Git LFS Details

  • SHA256: 8f0f6aeca478bee0e40d6f92c30013b4b33377150cc9935aae2809b334ffeeaa
  • Pointer size: 131 Bytes
  • Size of remote file: 307 kB
image/README/1732438334686.png ADDED

Git LFS Details

  • SHA256: d34302f97ab9ed875c2498a8008f8b3470c8e0a3d5276645d2c0aaeedbc2e649
  • Pointer size: 131 Bytes
  • Size of remote file: 408 kB
image/README/1732438352223.png ADDED

Git LFS Details

  • SHA256: a9feab084b26305cb2bd46bd063d398412adb3d8c1b88b9134de089b6d145f2c
  • Pointer size: 130 Bytes
  • Size of remote file: 67.5 kB
image/README/1732438442673.png ADDED

Git LFS Details

  • SHA256: 04a9ee8de784dce4b9c71f9ec3034cf71e09e27433e90fb5b59364489466d382
  • Pointer size: 131 Bytes
  • Size of remote file: 238 kB
image/README/1732438503023.png ADDED

Git LFS Details

  • SHA256: cabcbe41d66157854795c81f23066c7ae643c113ca983c24bd61a076eaab1573
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
image/README/1732438587349.png ADDED

Git LFS Details

  • SHA256: 3e1c9d6f48aa34b0be7ededd5a69f2ad22cb72f7296d761aba14fef7730873d2
  • Pointer size: 131 Bytes
  • Size of remote file: 970 kB
merged_image-boston-seapot-4096.png ADDED

Git LFS Details

  • SHA256: 6ea7e409b236aca9bc819dd82e70111314dd213784e809397e9c11f290c58c72
  • Pointer size: 134 Bytes
  • Size of remote file: 488 MB
merged_image-singapore-hollandvillage-4096.png ADDED

Git LFS Details

  • SHA256: 6a3ab75d2aefb9c9f10d7ecbb5b636a0eea761d497031fa1c1a7165b83f52818
  • Pointer size: 134 Bytes
  • Size of remote file: 350 MB
merged_image-singapore-onenorth-4096.png ADDED

Git LFS Details

  • SHA256: f7841104de40da7ad3943025da1811610e37fa21cf9834960b56bdcd065793f1
  • Pointer size: 134 Bytes
  • Size of remote file: 175 MB
merged_image-singapore-queenstown-4096.png ADDED

Git LFS Details

  • SHA256: e5b50fec5263172747a5aa1fd7f0e92657fa761eb072a89a815df5fe1d76fe31
  • Pointer size: 134 Bytes
  • Size of remote file: 362 MB