Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# CHR Tree Detection in Paintings
|
| 6 |
+
|
| 7 |
+
Segmentation masks and metadata for trees detected in a corpus of paintings, produced with SAM3 as part of research at the Center for Humanities Computing Aarhus (chcaa).
|
| 8 |
+
|
| 9 |
+
## Dataset Description
|
| 10 |
+
|
| 11 |
+
This dataset supports a study of tree motifs in 19th-century Northern European landscape painting, examining how trees are used to naturalize ideas of nation and homeland. It covers 4,727 paintings drawn from museum and Wikidata sources, with tree instances detected using [SAM3](https://ai.meta.com/sam2/) via a "tree" text prompt.
|
| 12 |
+
|
| 13 |
+
For each detected tree, the dataset records a bounding box, a confidence score, and a segmentation mask, alongside painting-level metadata (artist, nationality, date, collection, image rights). This lets downstream users compute things like how often trees appear across a corpus, how much canvas area they occupy, where they tend to be positioned, and how their color/rendering varies by period or region — without having to re-run detection themselves.
|
| 14 |
+
|
| 15 |
+
## Contents
|
| 16 |
+
|
| 17 |
+
Each row corresponds to one painting and includes:
|
| 18 |
+
|
| 19 |
+
- `filename`, `image` — original image filename and raw image bytes
|
| 20 |
+
- `title`, `artist`, `Artist-nationality`, `inception`, `collection`, `location`, `inventory_number`, `qid`, `wikidata_url`, `image_url_raw`, `image_filename` — painting metadata
|
| 21 |
+
- `Image-rights` — rights/licensing information for the original image, as recorded per painting
|
| 22 |
+
- `original_height`, `original_width` — original image dimensions
|
| 23 |
+
- `boxes`, `scores`, `count` — detected tree bounding boxes, confidence scores, and count
|
| 24 |
+
- `embedding` — image embedding vector
|
| 25 |
+
- `mask` — raw bytes of an `.npz` file; load with `np.load(io.BytesIO(row["mask"]))["masks"]` to get a boolean array of shape `(count, 1, H, W)`
|
| 26 |
+
|
| 27 |
+
## License
|
| 28 |
+
|
| 29 |
+
This dataset (masks, metadata, embeddings, and annotations produced by the chcaa team) is released under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). Please credit chcaa when reusing this data.
|