lihao57 commited on
Commit
f02e00a
·
0 Parent(s):

initial commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +60 -0
  2. README.md +125 -0
  3. test/images/1_000004.png +3 -0
  4. test/images/1_000009.png +3 -0
  5. test/images/1_000012.png +3 -0
  6. test/images/1_000013.png +3 -0
  7. test/images/1_000016.png +3 -0
  8. test/images/1_000022.png +3 -0
  9. test/images/1_000024.png +3 -0
  10. test/images/1_000029.png +3 -0
  11. test/images/1_000032.png +3 -0
  12. test/images/1_000034.png +3 -0
  13. test/images/1_000037.png +3 -0
  14. test/images/1_000038.png +3 -0
  15. test/images/1_000041.png +3 -0
  16. test/images/1_000044.png +3 -0
  17. test/images/1_000047.png +3 -0
  18. test/images/1_000052.png +3 -0
  19. test/images/1_000057.png +3 -0
  20. test/images/1_000063.png +3 -0
  21. test/images/1_000064.png +3 -0
  22. test/images/1_000077.png +3 -0
  23. test/images/1_000084.png +3 -0
  24. test/images/1_000093.png +3 -0
  25. test/images/1_000096.png +3 -0
  26. test/images/1_000100.png +3 -0
  27. test/images/1_000102.png +3 -0
  28. test/images/1_000107.png +3 -0
  29. test/images/1_000112.png +3 -0
  30. test/images/1_000114.png +3 -0
  31. test/images/1_000116.png +3 -0
  32. test/images/1_000117.png +3 -0
  33. test/images/1_000119.png +3 -0
  34. test/images/1_000122.png +3 -0
  35. test/images/1_000129.png +3 -0
  36. test/images/1_000142.png +3 -0
  37. test/images/1_000146.png +3 -0
  38. test/images/1_000149.png +3 -0
  39. test/images/1_000151.png +3 -0
  40. test/images/1_000155.png +3 -0
  41. test/images/1_000158.png +3 -0
  42. test/images/1_000159.png +3 -0
  43. test/images/1_000160.png +3 -0
  44. test/images/1_000162.png +3 -0
  45. test/images/1_000171.png +3 -0
  46. test/images/1_000176.png +3 -0
  47. test/images/1_000177.png +3 -0
  48. test/images/1_000186.png +3 -0
  49. test/images/1_000187.png +3 -0
  50. test/images/1_000188.png +3 -0
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: lh9171338/SS180
3
+ pretty_name: SS180 Dataset
4
+ license: mit
5
+ tags:
6
+ - computer-vision
7
+ - line-segment-detection
8
+ - wireframe-parsing
9
+ - fisheye image
10
+ size_categories: 1K<n<10
11
+
12
+ ---
13
+
14
+ # SS180 Dataset
15
+
16
+ <p align="center">
17
+ ✏️ <a href="https://github.com/lh9171338/ULSD-ISPRS"><b>Github</b></a>&nbsp&nbsp | &nbsp&nbsp📑 <a href="https://www.sciencedirect.com/science/article/abs/pii/S0924271621001623">Paper</a> &nbsp&nbsp | &nbsp&nbsp🖼️ <a href="https://huggingface.co/spaces/lh9171338/LineViewer">Viewer</a>
18
+ </p>
19
+
20
+ This is the SS180 dataset, designed for fisheye image line segment detection.
21
+
22
+ ## Summary
23
+
24
+ The SS180 dataset is derived from the [SS360](https://huggingface.co/datasets/lh9171338/SS360) dataset by converting spherical images into 180-degree fisheye images.
25
+
26
+ Number of samples:
27
+ - Train: 1900
28
+ - Test: 236
29
+
30
+ ## Download
31
+
32
+ - Download with huggingface-hub
33
+
34
+ ```shell
35
+ python3 -m pip install huggingface-hub
36
+ huggingface-cli download --repo-type dataset lh9171338/SS180 --local-dir ./
37
+ ```
38
+
39
+ - Download with Git
40
+
41
+ ```shell
42
+ git lfs install
43
+ git clone https://huggingface.co/datasets/lh9171338/SS180
44
+ ```
45
+
46
+ ## Usage
47
+
48
+ - Load the dataset from Hugging Face Hub
49
+
50
+ ```python
51
+ from datasets import load_dataset
52
+
53
+ ds = load_dataset("lh9171338/SS180")
54
+ # or load from `refs/convert/parquet` for acceleration
55
+ # from datasets import load_dataset, Features, Image, Sequence, Value
56
+ # features = Features({
57
+ # "image": Image(),
58
+ # "image_file": Value("string"),
59
+ # "image_size": Sequence(Value("int32")),
60
+ # "camera_type": Value("string"),
61
+ # "camera_coeff": {
62
+ # "K": Sequence(Sequence(Value("float32"))),
63
+ # "D": Sequence(Value("float32")),
64
+ # },
65
+ # "lines": Sequence(Sequence(Sequence(Value("float32")))),
66
+ # })
67
+ # ds = load_dataset("lh9171338/SS180", features=features, revision="refs/convert/parquet")
68
+ print(ds)
69
+ # DatasetDict({
70
+ # train: Dataset({
71
+ # features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
72
+ # num_rows: 1900
73
+ # })
74
+ # test: Dataset({
75
+ # features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
76
+ # num_rows: 236
77
+ # })
78
+ # })
79
+ print(ds["test"][0].keys())
80
+ # dict_keys(['file_name', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'])
81
+ ```
82
+
83
+ - Load the dataset from local
84
+
85
+ ```python
86
+ from datasets import load_dataset
87
+
88
+ ds = load_dataset("imagefolder", data_dir=".")
89
+ print(ds)
90
+ # DatasetDict({
91
+ # train: Dataset({
92
+ # features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
93
+ # num_rows: 1900
94
+ # })
95
+ # test: Dataset({
96
+ # features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
97
+ # num_rows: 236
98
+ # })
99
+ # })
100
+ print(ds["test"][0].keys())
101
+ # dict_keys(['file_name', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'])
102
+ ```
103
+
104
+ - Load the dataset with jsonl files
105
+ ```python
106
+ import jsonlines
107
+
108
+ with jsonlines.open("test/metadata.jsonl") as reader:
109
+ infos = list(reader)
110
+ print(infos[0].keys())
111
+ # dict_keys(['file_name', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'])
112
+ ```
113
+
114
+ ## Citation
115
+
116
+ ```
117
+ @article{LI2021187,
118
+ title = {ULSD: Unified line segment detection across pinhole, fisheye, and spherical cameras},
119
+ author = {Hao Li and Huai Yu and Jinwang Wang and Wen Yang and Lei Yu and Sebastian Scherer},
120
+ journal = {ISPRS Journal of Photogrammetry and Remote Sensing},
121
+ volume = {178},
122
+ pages = {187-202},
123
+ year = {2021},
124
+ }
125
+ ```
test/images/1_000004.png ADDED

Git LFS Details

  • SHA256: e66818ae5a54f124c49189eee2132985a31f67607688d152be6a5f4edc74445e
  • Pointer size: 131 Bytes
  • Size of remote file: 255 kB
test/images/1_000009.png ADDED

Git LFS Details

  • SHA256: f1c88d9e4277b78c70ea9616a9b6f8d86bafaf4c1f60643d77eaba7fcbbef1fb
  • Pointer size: 131 Bytes
  • Size of remote file: 388 kB
test/images/1_000012.png ADDED

Git LFS Details

  • SHA256: 2f9c6a6f5e172aab23f897d0d9c8fb49f642b7235af965b56a38381b5d7a727b
  • Pointer size: 131 Bytes
  • Size of remote file: 228 kB
test/images/1_000013.png ADDED

Git LFS Details

  • SHA256: cba8b4b7d656999374045f231730eb97fc4160d109078fec8b872454901afa7f
  • Pointer size: 131 Bytes
  • Size of remote file: 392 kB
test/images/1_000016.png ADDED

Git LFS Details

  • SHA256: ae2bf1cf561d3f74e9b7da260698a658634fae4f6a7a156470ca7228aba1aa6e
  • Pointer size: 131 Bytes
  • Size of remote file: 304 kB
test/images/1_000022.png ADDED

Git LFS Details

  • SHA256: e0d8069973e603759a619dc7d71653c194cca05ad6469b4d780dea2f9cf0fe7e
  • Pointer size: 131 Bytes
  • Size of remote file: 312 kB
test/images/1_000024.png ADDED

Git LFS Details

  • SHA256: 513361df611025fbc9825dc1b731b2688c8227a70e1dd6b2ce18aec34d43bb23
  • Pointer size: 131 Bytes
  • Size of remote file: 285 kB
test/images/1_000029.png ADDED

Git LFS Details

  • SHA256: adf40f81e89cd2a6f556cd8ffff2efe6479c60bcac9e9e1a09f8910ee8d81fff
  • Pointer size: 131 Bytes
  • Size of remote file: 283 kB
test/images/1_000032.png ADDED

Git LFS Details

  • SHA256: c830614d30f192d06c9f822db38a2248c06ecc01200b21318a7811709299038d
  • Pointer size: 131 Bytes
  • Size of remote file: 289 kB
test/images/1_000034.png ADDED

Git LFS Details

  • SHA256: 14a7b8bf698089e48c7126aaf0f06fa2f2a09876bedebba16903201b75d0da12
  • Pointer size: 131 Bytes
  • Size of remote file: 325 kB
test/images/1_000037.png ADDED

Git LFS Details

  • SHA256: ddce6b82e9c33b23882cc521dda9635ac757fa27b7f9824710244f8bfc49acd2
  • Pointer size: 131 Bytes
  • Size of remote file: 257 kB
test/images/1_000038.png ADDED

Git LFS Details

  • SHA256: e871da28c1eee0f4bc9c95677d75bbe2431ec2bde81fe412bf60762763f27cbb
  • Pointer size: 131 Bytes
  • Size of remote file: 336 kB
test/images/1_000041.png ADDED

Git LFS Details

  • SHA256: b61a32b5c6857ed6756f9c8e8c1ef179746a50c3681e230cc69ca6c092162163
  • Pointer size: 131 Bytes
  • Size of remote file: 297 kB
test/images/1_000044.png ADDED

Git LFS Details

  • SHA256: 6d4a8b86fcb933a906f938c4f0dd15bcaf5fdba1afb96166893613297d0f689c
  • Pointer size: 131 Bytes
  • Size of remote file: 311 kB
test/images/1_000047.png ADDED

Git LFS Details

  • SHA256: 5aafecc059944daa412ee7fb8f644848fc6b5f7af29596ef57e90f6f2e3aa4ca
  • Pointer size: 131 Bytes
  • Size of remote file: 320 kB
test/images/1_000052.png ADDED

Git LFS Details

  • SHA256: 645187e0820e1b1a21594391e0e840e7b735edb55fa9000e77ae39b2cbca45ee
  • Pointer size: 131 Bytes
  • Size of remote file: 358 kB
test/images/1_000057.png ADDED

Git LFS Details

  • SHA256: 2c9e26937dcde147175d50f4d1cd224e75e733ffaa955bd7bf5cb5994b002b94
  • Pointer size: 131 Bytes
  • Size of remote file: 277 kB
test/images/1_000063.png ADDED

Git LFS Details

  • SHA256: ffb1d0e239babd9666a6664809ecad5d8ae3b60cb6871965687ee7596e7230c4
  • Pointer size: 131 Bytes
  • Size of remote file: 340 kB
test/images/1_000064.png ADDED

Git LFS Details

  • SHA256: e02c75a6989edf9c6684b6b5174bbd377a3ad04ac11f21de71a2fdf5f203825b
  • Pointer size: 131 Bytes
  • Size of remote file: 272 kB
test/images/1_000077.png ADDED

Git LFS Details

  • SHA256: e95e32288bf461d150a7e655cc3c603e0fa6cfb908350a455c73d5847c466187
  • Pointer size: 131 Bytes
  • Size of remote file: 337 kB
test/images/1_000084.png ADDED

Git LFS Details

  • SHA256: 98fedce21d20c3d5f2e702f02286cb505642aa24bcad0984a550893b7a24e8c9
  • Pointer size: 131 Bytes
  • Size of remote file: 335 kB
test/images/1_000093.png ADDED

Git LFS Details

  • SHA256: 7b0e568a4abca3c5b3ca5c7baf44d3fb644160ae6f01f435a817420fdf2792a6
  • Pointer size: 131 Bytes
  • Size of remote file: 286 kB
test/images/1_000096.png ADDED

Git LFS Details

  • SHA256: 8bdee2d44c88b1ed864ff8a52e0c47dd810b92cd6c8f028671a477a8fa1c4afb
  • Pointer size: 131 Bytes
  • Size of remote file: 359 kB
test/images/1_000100.png ADDED

Git LFS Details

  • SHA256: c83ae616be89e6f7395ad24a99a71795a184f0457ef29fcbf9838a6d5e4bee76
  • Pointer size: 131 Bytes
  • Size of remote file: 294 kB
test/images/1_000102.png ADDED

Git LFS Details

  • SHA256: 12737e53f7e40f908be490b7d7bcbd53c1595e2e350ceb199be2413e08b389c5
  • Pointer size: 131 Bytes
  • Size of remote file: 369 kB
test/images/1_000107.png ADDED

Git LFS Details

  • SHA256: a9875fcfecdb7e4369a4034b6f611275202ae7be885a27711054fb0695b78e47
  • Pointer size: 131 Bytes
  • Size of remote file: 331 kB
test/images/1_000112.png ADDED

Git LFS Details

  • SHA256: f957ba13bb3be2367a2d1be9026e191372b6b94e41f0b03ddc2ec3afa8204812
  • Pointer size: 131 Bytes
  • Size of remote file: 323 kB
test/images/1_000114.png ADDED

Git LFS Details

  • SHA256: 122056db95eea0cebf6c024393caa0b23046c7b38b90a6c33abe9bccbcac0900
  • Pointer size: 131 Bytes
  • Size of remote file: 317 kB
test/images/1_000116.png ADDED

Git LFS Details

  • SHA256: 44d942f214251b48388feb52ed9cb67a1befc4eb79a47a3f0dd508e55e767808
  • Pointer size: 131 Bytes
  • Size of remote file: 241 kB
test/images/1_000117.png ADDED

Git LFS Details

  • SHA256: 4013c5f9201c82ab7d756aa0da064a156c48c42542237ea8575bc149986305a3
  • Pointer size: 131 Bytes
  • Size of remote file: 299 kB
test/images/1_000119.png ADDED

Git LFS Details

  • SHA256: 78b35a042ea3a2c096e9ccc5101e843697deab02741f3eecbf5028cef7dda028
  • Pointer size: 131 Bytes
  • Size of remote file: 292 kB
test/images/1_000122.png ADDED

Git LFS Details

  • SHA256: 2d280c7b61323819620d4a17390a4ce1bee5f246b1280381ff48ad1d4523b2e3
  • Pointer size: 131 Bytes
  • Size of remote file: 312 kB
test/images/1_000129.png ADDED

Git LFS Details

  • SHA256: a10d89aa9269f3d4a33097ebc2762bfb7da498918719ffd0dfbbd964cb76a2f5
  • Pointer size: 131 Bytes
  • Size of remote file: 267 kB
test/images/1_000142.png ADDED

Git LFS Details

  • SHA256: d3e0f978de1ceab102a47b21401ddf9321d91a40d34172687deea9023147d874
  • Pointer size: 131 Bytes
  • Size of remote file: 282 kB
test/images/1_000146.png ADDED

Git LFS Details

  • SHA256: 9dd5c8374be71ff2819bf6a7aed7f36761660670ba26591d582e83b53c3f60de
  • Pointer size: 131 Bytes
  • Size of remote file: 268 kB
test/images/1_000149.png ADDED

Git LFS Details

  • SHA256: 13d80798d74fbf8e698a606c4a62dd82728cb3e923a75bfe55ff4186334bdb90
  • Pointer size: 131 Bytes
  • Size of remote file: 370 kB
test/images/1_000151.png ADDED

Git LFS Details

  • SHA256: 01008ee203cb45b88e4bb2688c51d1a5319884fa50ca8452f4925702fc93d55f
  • Pointer size: 131 Bytes
  • Size of remote file: 281 kB
test/images/1_000155.png ADDED

Git LFS Details

  • SHA256: 84fc0e363abb7ac3ac846f297a0abe76b0886d7eeeb6eaa74ec7294a696ee22f
  • Pointer size: 131 Bytes
  • Size of remote file: 284 kB
test/images/1_000158.png ADDED

Git LFS Details

  • SHA256: ba3b1186d28debddd94fb5db236ce7194ac6915c01bd98be3a7b71a7aefaa7cb
  • Pointer size: 131 Bytes
  • Size of remote file: 394 kB
test/images/1_000159.png ADDED

Git LFS Details

  • SHA256: 588138b93a85f2a9953083761231b138a4e4b935625ca4750d8e6078c942b40b
  • Pointer size: 131 Bytes
  • Size of remote file: 260 kB
test/images/1_000160.png ADDED

Git LFS Details

  • SHA256: a51733b1c27d5729fcebbceab86c3a0714327b342da58a0fdc5f74336be9b189
  • Pointer size: 131 Bytes
  • Size of remote file: 272 kB
test/images/1_000162.png ADDED

Git LFS Details

  • SHA256: fdf9732aae4d2f90670928561894bfea8321a74652b6a99536ecc90b8a834e41
  • Pointer size: 131 Bytes
  • Size of remote file: 378 kB
test/images/1_000171.png ADDED

Git LFS Details

  • SHA256: 92af98af4f1e7e00de39d3e1a3f9e7c1656a0c0dc5dfd64a377cab0079726834
  • Pointer size: 131 Bytes
  • Size of remote file: 291 kB
test/images/1_000176.png ADDED

Git LFS Details

  • SHA256: d02c2f54cac22969a1a6f8a9627a6604712cc084470a121f18c0cc4d0f04cf42
  • Pointer size: 131 Bytes
  • Size of remote file: 331 kB
test/images/1_000177.png ADDED

Git LFS Details

  • SHA256: 0a5fc68fa95c85c751c8c4c2253d2bc27212f27c94d1f183a2604882bdc78d2e
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB
test/images/1_000186.png ADDED

Git LFS Details

  • SHA256: 2ff649ef55766d4b4acbc8a29205f808975044384fe89dfcc1a8a5ef5ae7d18f
  • Pointer size: 131 Bytes
  • Size of remote file: 256 kB
test/images/1_000187.png ADDED

Git LFS Details

  • SHA256: 8eb5ca5a7cb321d22724819c7c4efb0d8a3173dd5e3f9336234379016b235695
  • Pointer size: 131 Bytes
  • Size of remote file: 413 kB
test/images/1_000188.png ADDED

Git LFS Details

  • SHA256: 5d84e41f2eda7258c9332908272c5c7ae19fa32ee7265e0ba2e6b83db5e87e68
  • Pointer size: 131 Bytes
  • Size of remote file: 246 kB