Update README.md
Browse files
README.md
CHANGED
|
@@ -147,6 +147,18 @@ print("First row data:", first_row)
|
|
| 147 |
print("First row keys:", first_row.keys())
|
| 148 |
```
|
| 149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
|
| 151 |
Additionally, we provide the annotations and train, valid, and test AOIs (areas of interest) as .gpkg GeoPackages for all source orthomosaics in a [separate branch](https://huggingface.co/datasets/CanopyRS/SelvaBox/tree/gpkg).
|
| 152 |
|
|
|
|
| 147 |
print("First row keys:", first_row.keys())
|
| 148 |
```
|
| 149 |
|
| 150 |
+
To display the image from the first row you can run:
|
| 151 |
+
|
| 152 |
+
```python
|
| 153 |
+
from matplotlib import pyplot as plt
|
| 154 |
+
|
| 155 |
+
img = first_row["image"]
|
| 156 |
+
plt.imshow(img)
|
| 157 |
+
plt.axis("off")
|
| 158 |
+
plt.title(first_row["tile_name"], fontsize=10)
|
| 159 |
+
plt.show()
|
| 160 |
+
```
|
| 161 |
+
|
| 162 |
|
| 163 |
Additionally, we provide the annotations and train, valid, and test AOIs (areas of interest) as .gpkg GeoPackages for all source orthomosaics in a [separate branch](https://huggingface.co/datasets/CanopyRS/SelvaBox/tree/gpkg).
|
| 164 |
|