lihao57 commited on
Commit
be02b6d
·
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/00031546.png +3 -0
  4. test/images/00031591.png +3 -0
  5. test/images/00031608.png +3 -0
  6. test/images/00031697.png +3 -0
  7. test/images/00031723.png +3 -0
  8. test/images/00031797.png +3 -0
  9. test/images/00031810.png +3 -0
  10. test/images/00031811.png +3 -0
  11. test/images/00031841.png +3 -0
  12. test/images/00031975.png +3 -0
  13. test/images/00032053.png +3 -0
  14. test/images/00033036.png +3 -0
  15. test/images/00033307.png +3 -0
  16. test/images/00033365.png +3 -0
  17. test/images/00033445.png +3 -0
  18. test/images/00033539.png +3 -0
  19. test/images/00033873.png +3 -0
  20. test/images/00034439.png +3 -0
  21. test/images/00035148.png +3 -0
  22. test/images/00035223.png +3 -0
  23. test/images/00035228.png +3 -0
  24. test/images/00035326.png +3 -0
  25. test/images/00035343.png +3 -0
  26. test/images/00035585.png +3 -0
  27. test/images/00035608.png +3 -0
  28. test/images/00035610.png +3 -0
  29. test/images/00035796.png +3 -0
  30. test/images/00036227.png +3 -0
  31. test/images/00036228.png +3 -0
  32. test/images/00036242.png +3 -0
  33. test/images/00036277.png +3 -0
  34. test/images/00036384.png +3 -0
  35. test/images/00036517.png +3 -0
  36. test/images/00036609.png +3 -0
  37. test/images/00036796.png +3 -0
  38. test/images/00036808.png +3 -0
  39. test/images/00036868.png +3 -0
  40. test/images/00036977.png +3 -0
  41. test/images/00037040.png +3 -0
  42. test/images/00037045.png +3 -0
  43. test/images/00037060.png +3 -0
  44. test/images/00037075.png +3 -0
  45. test/images/00037184.png +3 -0
  46. test/images/00037187.png +3 -0
  47. test/images/00037205.png +3 -0
  48. test/images/00037212.png +3 -0
  49. test/images/00037254.png +3 -0
  50. test/images/00037266.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/F-Wireframe
3
+ pretty_name: F-Wireframe Dataset
4
+ license: mit
5
+ tags:
6
+ - computer-vision
7
+ - line-segment-detection
8
+ - wireframe-parsing
9
+ - fisheye image
10
+ size_categories: n<1K
11
+
12
+ ---
13
+
14
+ # F-Wireframe 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 F-Wireframe dataset, designed for fisheye image line segment detection.
21
+
22
+ ## Summary
23
+
24
+ The F-Wireframe dataset is derived from the [Wireframe](https://huggingface.co/datasets/lh9171338/Wireframe) dataset by distorting images with the fisheye distortion model, where the fisheye distortion coefficient of each image is randomly generated.
25
+
26
+ Number of samples:
27
+ - Train: 5,000
28
+ - Test: 462
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/F-Wireframe --local-dir ./
37
+ ```
38
+
39
+ - Download with Git
40
+
41
+ ```shell
42
+ git lfs install
43
+ git clone https://huggingface.co/datasets/lh9171338/F-Wireframe
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/F-Wireframe")
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/F-Wireframe", 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: 5000
73
+ # })
74
+ # test: Dataset({
75
+ # features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
76
+ # num_rows: 462
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: 5000
94
+ # })
95
+ # test: Dataset({
96
+ # features: ['image', 'image_file', 'image_size', 'camera_type', 'camera_coeff', 'lines'],
97
+ # num_rows: 462
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/00031546.png ADDED

Git LFS Details

  • SHA256: 562f796a6746015f9b85cb26616e7161d1203828dfdaacdeef2344c815a572c2
  • Pointer size: 131 Bytes
  • Size of remote file: 420 kB
test/images/00031591.png ADDED

Git LFS Details

  • SHA256: b1c511f8516e2903e4899387d47bb932a1b05ed9adb2e51df52280bbcf1c8ee3
  • Pointer size: 131 Bytes
  • Size of remote file: 444 kB
test/images/00031608.png ADDED

Git LFS Details

  • SHA256: 2ef486f6d140248d7ee6d5f55f1edc7117df5e6ccb641ab0c12205bc813bef6a
  • Pointer size: 131 Bytes
  • Size of remote file: 462 kB
test/images/00031697.png ADDED

Git LFS Details

  • SHA256: 44f40f0ef16737d139c9b617b8f2c6c55fc07be366d2cce71f3a1b677c727306
  • Pointer size: 131 Bytes
  • Size of remote file: 387 kB
test/images/00031723.png ADDED

Git LFS Details

  • SHA256: fa103c5d3fb49697780cd821174d6a8bac5cf1948efa4010c1001af4b0e18f17
  • Pointer size: 131 Bytes
  • Size of remote file: 382 kB
test/images/00031797.png ADDED

Git LFS Details

  • SHA256: aa8409cb33dd31a1dfb2c393afb5d0177eba227815b6613c543992a49bb02d96
  • Pointer size: 131 Bytes
  • Size of remote file: 453 kB
test/images/00031810.png ADDED

Git LFS Details

  • SHA256: 0a9fdae4ca5e68382c52074b3c85a7e4cb695e6b3655ddff1b20e3cb0d95a85d
  • Pointer size: 131 Bytes
  • Size of remote file: 457 kB
test/images/00031811.png ADDED

Git LFS Details

  • SHA256: d59727ba9e2419877b009af694844d935f186cae456bcf6619bfb8102e1652ee
  • Pointer size: 131 Bytes
  • Size of remote file: 326 kB
test/images/00031841.png ADDED

Git LFS Details

  • SHA256: d33524495e6839ae7592c1f57423c82168b36831f1d9e81a7a1bde16a059589f
  • Pointer size: 131 Bytes
  • Size of remote file: 481 kB
test/images/00031975.png ADDED

Git LFS Details

  • SHA256: f0337c993e90e9048215f9fd359489e9c2e2da60895de8d4452b2ba75690554a
  • Pointer size: 131 Bytes
  • Size of remote file: 311 kB
test/images/00032053.png ADDED

Git LFS Details

  • SHA256: 0289636bb25ea4b1d6d2f23b7bd847cd131da8b9a81ab6fa11495d18607fdae8
  • Pointer size: 131 Bytes
  • Size of remote file: 345 kB
test/images/00033036.png ADDED

Git LFS Details

  • SHA256: 25d0d80e88d87459641f196ef48126ff1ab7019eeae90ffd806e859d6c404976
  • Pointer size: 131 Bytes
  • Size of remote file: 364 kB
test/images/00033307.png ADDED

Git LFS Details

  • SHA256: 6299fab1571f5e58630905bbf1b9992831dfa65d437233d770d8c0f18a916959
  • Pointer size: 131 Bytes
  • Size of remote file: 369 kB
test/images/00033365.png ADDED

Git LFS Details

  • SHA256: a717f7d542b718123a91b8fa6e5d0ec69e65e41a57944f4dcb3803d64049058c
  • Pointer size: 131 Bytes
  • Size of remote file: 429 kB
test/images/00033445.png ADDED

Git LFS Details

  • SHA256: 0dfe05cd48587fc3f5b0f13cbba619aaca6a61835f888090427d24d8edbfe607
  • Pointer size: 131 Bytes
  • Size of remote file: 404 kB
test/images/00033539.png ADDED

Git LFS Details

  • SHA256: 1034b6a71a2eb6a522daf5a9f894660cce53189b7e8cf265b10e00d8cf898efa
  • Pointer size: 131 Bytes
  • Size of remote file: 418 kB
test/images/00033873.png ADDED

Git LFS Details

  • SHA256: 7b3537b798ca08cdb3386da5be5bda3172ae92cf0989a5311814be18ca92e949
  • Pointer size: 131 Bytes
  • Size of remote file: 369 kB
test/images/00034439.png ADDED

Git LFS Details

  • SHA256: 9fed39a9d5865774c746069694df5f315f89ca6ce5b9381d2a3d9c56ddb3c2a6
  • Pointer size: 131 Bytes
  • Size of remote file: 310 kB
test/images/00035148.png ADDED

Git LFS Details

  • SHA256: bb33511c35e7bdcbc020f7158ea26d5c07a16090b518ddafe5cca3f4970bea6a
  • Pointer size: 131 Bytes
  • Size of remote file: 443 kB
test/images/00035223.png ADDED

Git LFS Details

  • SHA256: aa057d8ed72becca0234c108c99e91622c44d5c53615eaddc9ebd5cb2b9d1972
  • Pointer size: 131 Bytes
  • Size of remote file: 502 kB
test/images/00035228.png ADDED

Git LFS Details

  • SHA256: 708b3e9fd7e3b47a657069112d8608b04fa66ab144c326f0c49d1d3562a29bee
  • Pointer size: 131 Bytes
  • Size of remote file: 489 kB
test/images/00035326.png ADDED

Git LFS Details

  • SHA256: 6379b207623647fb4ea438f173ad62cd267954ed4f545d98c7ada7e95e493f2f
  • Pointer size: 131 Bytes
  • Size of remote file: 363 kB
test/images/00035343.png ADDED

Git LFS Details

  • SHA256: 2e22c036a8ff778543f607c86328286a459af14ef356f7c041799f893ef5c292
  • Pointer size: 131 Bytes
  • Size of remote file: 358 kB
test/images/00035585.png ADDED

Git LFS Details

  • SHA256: af297a20e6b98685a77884d7aedbab4c574ce412a4c77e9d3531138c53de6244
  • Pointer size: 131 Bytes
  • Size of remote file: 377 kB
test/images/00035608.png ADDED

Git LFS Details

  • SHA256: 7a5d792a6b19fa64e57da95f8ea9e678bcf0b49335d597c9016dbb9d72a8b6b5
  • Pointer size: 131 Bytes
  • Size of remote file: 492 kB
test/images/00035610.png ADDED

Git LFS Details

  • SHA256: 0f221074db480bc479f29a691c5915a7096209cf023e438e9ad601691be80216
  • Pointer size: 131 Bytes
  • Size of remote file: 366 kB
test/images/00035796.png ADDED

Git LFS Details

  • SHA256: dcb3b10ecd840bb1f8a5ccbea126ae3f526dfd147c187d9de6d05ce112985a5b
  • Pointer size: 131 Bytes
  • Size of remote file: 432 kB
test/images/00036227.png ADDED

Git LFS Details

  • SHA256: aec212903d2da44df629f576ec6e15626e64a48acaf5e4eb4ea0638c3353b5f9
  • Pointer size: 131 Bytes
  • Size of remote file: 409 kB
test/images/00036228.png ADDED

Git LFS Details

  • SHA256: c9cf0b492b1233bfc02664dab7ea335060d0b71b99b36932f9c5346cc08ef9d1
  • Pointer size: 131 Bytes
  • Size of remote file: 395 kB
test/images/00036242.png ADDED

Git LFS Details

  • SHA256: 77e0cfe5c74d8f6b78b1217cc92725f83f806aa93da8d92d7164cff621bcecef
  • Pointer size: 131 Bytes
  • Size of remote file: 298 kB
test/images/00036277.png ADDED

Git LFS Details

  • SHA256: 636a8a2106b58347b6cadcc844d130829aeaff8bfe80f300dccd6186922989f9
  • Pointer size: 131 Bytes
  • Size of remote file: 362 kB
test/images/00036384.png ADDED

Git LFS Details

  • SHA256: 55bb7f13b2d64f83a5783092fd63ddfc555734f94146bd2ab468170d4be0a85b
  • Pointer size: 131 Bytes
  • Size of remote file: 470 kB
test/images/00036517.png ADDED

Git LFS Details

  • SHA256: f428ec5db6afebb3c8aedf28572a99e077dc862196b9ac6bfe918595dcfe3a41
  • Pointer size: 131 Bytes
  • Size of remote file: 372 kB
test/images/00036609.png ADDED

Git LFS Details

  • SHA256: 575ab61ff45be600141fceb2b1b49bf17e96c25bd344b266e7dc6307b347c57e
  • Pointer size: 131 Bytes
  • Size of remote file: 407 kB
test/images/00036796.png ADDED

Git LFS Details

  • SHA256: 82248011b30ec4e2460b97e194da2df517faee432fccb8fe7cd72d2b2ef716a5
  • Pointer size: 131 Bytes
  • Size of remote file: 296 kB
test/images/00036808.png ADDED

Git LFS Details

  • SHA256: 78b085d7ed08e6d43a4745ee86ecd94a18dc2b91965fc5e4de3ad002d62c364d
  • Pointer size: 131 Bytes
  • Size of remote file: 330 kB
test/images/00036868.png ADDED

Git LFS Details

  • SHA256: f04d4bf5c98a12f0ae526a8361c0877139def00a055b2562776208ee625050f6
  • Pointer size: 131 Bytes
  • Size of remote file: 401 kB
test/images/00036977.png ADDED

Git LFS Details

  • SHA256: 0d59c3e3caec856e945b9bfb827600089df10ccf942b430c6de695c79b5436f6
  • Pointer size: 131 Bytes
  • Size of remote file: 385 kB
test/images/00037040.png ADDED

Git LFS Details

  • SHA256: 40c6dd1680084061f16a178b99f8968f0060f9a5d6e6ab42ef51cf72b76f578b
  • Pointer size: 131 Bytes
  • Size of remote file: 364 kB
test/images/00037045.png ADDED

Git LFS Details

  • SHA256: 538dc11e9e401b7a10a3dbdb82a0cf01c76bb155a899e935015edd114b4a9e5e
  • Pointer size: 131 Bytes
  • Size of remote file: 334 kB
test/images/00037060.png ADDED

Git LFS Details

  • SHA256: 6cf413db37eedbd203fa5dbc8198935c25be33fa334148e1111d23fa2ee45ca0
  • Pointer size: 131 Bytes
  • Size of remote file: 328 kB
test/images/00037075.png ADDED

Git LFS Details

  • SHA256: 17ca30c9b7f372b3d1b762697ff7b6157072d9ac37a03fea462fbac5fc6ad2ef
  • Pointer size: 131 Bytes
  • Size of remote file: 298 kB
test/images/00037184.png ADDED

Git LFS Details

  • SHA256: cc6dc6f0c1c993414e4c651e35e2c4acb4a5cc186deba8eb1f71c3d1a9c2e7a7
  • Pointer size: 131 Bytes
  • Size of remote file: 400 kB
test/images/00037187.png ADDED

Git LFS Details

  • SHA256: c3c20f9a663fed3ab7e483bcf3259f1ff6de7571bdfb95a423cbfc0e4c246210
  • Pointer size: 131 Bytes
  • Size of remote file: 410 kB
test/images/00037205.png ADDED

Git LFS Details

  • SHA256: af9e2a5d6dffe85832b5b2abf11f10be8f0cf2486f0fa94afcb52174acde79e4
  • Pointer size: 131 Bytes
  • Size of remote file: 282 kB
test/images/00037212.png ADDED

Git LFS Details

  • SHA256: 27e91c56bf7995ca999e09b7259ba02a2fb12496ffd2377573a7f145ce0f2185
  • Pointer size: 131 Bytes
  • Size of remote file: 394 kB
test/images/00037254.png ADDED

Git LFS Details

  • SHA256: 39aa59681af4cd9027480ab39325913dc868a39d06d34401de88ee27eafaedb0
  • Pointer size: 131 Bytes
  • Size of remote file: 443 kB
test/images/00037266.png ADDED

Git LFS Details

  • SHA256: f9ba950ddde776f82ca454f9c99edbdf2c1aafb6f1ad87efd31987e9c11f74eb
  • Pointer size: 131 Bytes
  • Size of remote file: 329 kB