Datasets:

JAZZMUS / README.md
JuanCarlosMartinezSevilla's picture
adding arxiv paper id
f09bb4e verified
---
arxiv: arxiv.org/abs/2509.05329
license: cc-by-nc-4.0
tags:
- music
- documents
- end-to-end
- full-page
- system-level
annotations_creators:
- manually expert-generated
pretty_name: JAZZMUS
size_categories:
- n<1K
task_categories:
- image-to-text
- image-segmentation
- text-retrieval
subtasks:
- document-retrieval
extra_gated_fields:
Affiliation: text
dataset_info:
features:
- name: image
dtype: image
- name: id
dtype: string
- name: annotation
dtype: string
splits:
- name: train
num_bytes: 171465883.0
num_examples: 293
download_size: 137007918
dataset_size: 171465883.0
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
<div align="center">
<h1>Optical Music Recognition of Jazz Lead Sheets</h1>
[![Code](https://img.shields.io/badge/Code-View_on_GitHub-333.svg?logo=github)](https://github.com/JuanCarlosMartinezSevilla/ISMIR-Jazzmus)
[![arXiv](https://img.shields.io/badge/arXiv-1234.56789-b31b1b.svg)](https://arxiv.org/abs/2509.05329)
<div align="center">
<a href="" target="_blank" rel="noopener noreferrer"><strong>🖥️ Slides</strong></a> |
<a href="" target="_blank" rel="noopener noreferrer"><strong>🎶 Poster</strong></a> | Available soon
</div>
</div>
## Dataset
### How to use
Check the following code:
```python
import ast
from datasets import load_dataset
from PIL import ImageDraw
DATASET_NAME = "PRAIG/JAZZMUS"
ds = load_dataset(DATASET_NAME)
image = ds["train"][0]["image"]
# list of systems, with bounding boxes and encoding
systems = ast.literal_eval(ds["train"][0]["annotation"])["systems"]
# full page encodings
encoding = ast.literal_eval(ds["train"][0]["annotation"])["encodings"]
mxml_encoding = encoding["musicxml"]
kern_encoding = encoding["**kern"]
# draw the bounding boxes on the image
ImageDraw = ImageDraw.Draw(image)
for idx, s in enumerate(systems):
print(f"System {idx + 1}:")
print(f"\t{s['bounding_box']}")
print(f"\t{repr(s['**kern'])}\n")
bbox = s["bounding_box"]
ImageDraw.rectangle(
[bbox["fromX"], bbox["fromY"], bbox["toX"], bbox["toY"]],
outline="red",
width=2,
)
image.save("image_with_bboxes.pdf", "PDF")
```
### Other dataset versions
🤗 [JAZZMUS dataset collection](https://huggingface.co/collections/PRAIG/jazzmus-684ffdd8bf167f1990819461)
### Citation
We are waiting for the official ISMIR 2025 proceedings.
```bibtex
@misc{martinezsevilla2025omrjazz,
title={Optical Music Recognition of Jazz Lead Sheets},
author={Juan Carlos Martinez-Sevilla and Francesco Foscarin and Patricia Garcia-Iasci and David Rizo and Jorge Calvo-Zaragoza and Gerhard Widmer},
year={2025},
eprint={2509.05329},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2509.05329},
}
```