Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -85,11 +85,7 @@ classes_color_map = {
|
|
85 |
# Load the dataset
|
86 |
dataset = load_dataset("FBK-TeV/WildBe", split="validation")
|
87 |
|
88 |
-
|
89 |
-
np_image = np.frombuffer(image_bytes, dtype=np.uint8)
|
90 |
-
np_image = np_image.reshape(dataset[50]["height"], dataset[50]["width"], 3)
|
91 |
-
|
92 |
-
image = Image.fromarray(np_image)
|
93 |
labels = json.loads(dataset[50]["labels"])
|
94 |
|
95 |
draw = ImageDraw.Draw(image)
|
@@ -111,6 +107,37 @@ for label in labels:
|
|
111 |
image.show()
|
112 |
```
|
113 |
![Teaser](resources/images_examples.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
## ArXiv link
|
115 |
https://arxiv.org/abs/2405.07550
|
116 |
|
|
|
85 |
# Load the dataset
|
86 |
dataset = load_dataset("FBK-TeV/WildBe", split="validation")
|
87 |
|
88 |
+
image = dataset[50]["image"]
|
|
|
|
|
|
|
|
|
89 |
labels = json.loads(dataset[50]["labels"])
|
90 |
|
91 |
draw = ImageDraw.Draw(image)
|
|
|
107 |
image.show()
|
108 |
```
|
109 |
![Teaser](resources/images_examples.png)
|
110 |
+
|
111 |
+
## Data Fields
|
112 |
+
```
|
113 |
+
index: An integer representing the unique identifier for each example.
|
114 |
+
image: A PIL image.
|
115 |
+
split: A string indicating the data split, e.g., 'train', 'validation', or 'test'.
|
116 |
+
labels: A list of dictionaries, each containing:
|
117 |
+
class: An integer representing the class identifier.
|
118 |
+
label: A string representing the class name.
|
119 |
+
x: A float representing the normalized x-coordinate of the center of the bounding box.
|
120 |
+
y: A float representing the normalized y-coordinate of the center of the bounding box.
|
121 |
+
width: A float representing the normalized width of the bounding box.
|
122 |
+
height: A float representing the normalized height of the bounding box.
|
123 |
+
altitude: A float representing the altitude at which the image was taken (if available).
|
124 |
+
aperture: A float representing the aperture setting of the camera (if available).
|
125 |
+
area: A float representing the code of the geo-area in which the image was taken (if available).
|
126 |
+
date: A string representing the date when the image was taken (if available).
|
127 |
+
device: A string representing the device used to capture the image (if available).
|
128 |
+
exposure: A float representing the exposure time of the camera (if available).
|
129 |
+
focal: A float representing the focal length of the camera lens (if available).
|
130 |
+
height: An integer representing the height of the image in pixels.
|
131 |
+
width: An integer representing the width of the image in pixels.
|
132 |
+
iso: A float representing the ISO setting of the camera (if available).
|
133 |
+
latitude_deg: A float representing the latitude degree where the image was taken (if available).
|
134 |
+
latitude_dir: A string representing the latitude direction (if available).
|
135 |
+
longitude_deg: A float representing the longitude degree where the image was taken (if available).
|
136 |
+
longitude_dir: A string representing the longitude direction (if available).
|
137 |
+
source_image_id: A string representing the unique identifier for the source image from which the image was cropped.
|
138 |
+
time: A string representing the time when the image was taken (if available).
|
139 |
+
```
|
140 |
+
|
141 |
## ArXiv link
|
142 |
https://arxiv.org/abs/2405.07550
|
143 |
|