CoolFace
Datasetpublic

BowenC/time-signature

Time Signature Detection Dataset A YOLO-format object detection dataset for recognizing musical time signatures in sheet music images. The dataset is compiled from two sources: a subset of DeepScores V2 and public domain scores from IMSLP (Chopin, Beethoven, Mozart, Brahms, Debussy, and others). Dataset Summary Split Images Instances Train 381 2,481 Val 269 644 Total 650 3,125 Classes 19 time signature classes with instance… See the full description on the dataset page: https://huggingface.co/datasets/BowenC/time-signature.

sourceHugging Facecc-by-4.0updated 4mo agoView on Hugging Face
0likes233downloads
Dataset Card

Time Signature Detection Dataset

A YOLO-format object detection dataset for recognizing musical time signatures in sheet music images. The dataset is compiled from two sources: a subset of DeepScores V2 and public domain scores from IMSLP (Chopin, Beethoven, Mozart, Brahms, Debussy, and others).

Dataset Summary

SplitImagesInstances
Train3812,481
Val269644
Total6503,125

Classes

19 time signature classes with instance counts:

IDLabelMeaningTrainValTotal
0444/416072232
1343/4390118508
2646/45252104
3242/424252294
4cCommon time24460304
5686/829483377
6848/440040
7949/4571168
813813/828028
910410/416016
10383/81238131
11787/8552782
12989/824156297
13626/2808
14424/2808
15chCut time (alla breve)18241223
1612812/831564379
17545/4404
18323/222022
—Total—2,4816443,125

Dataset Structure

dataset/
├── data.yaml
├── classes.txt
├── images/
│   ├── train/   # 381 PNG images
│   └── val/     # 269 PNG images
└── labels/
    ├── train/   # YOLO .txt annotations
    └── val/     # YOLO .txt annotations

Labels follow the YOLO format: <class_id> <x_center> <y_center> <width> <height> (normalized 0–1).

Usage

With Ultralytics YOLO

python
from ultralytics import YOLO

model = YOLO("yolov8n.pt")
model.train(data="data.yaml", epochs=100)

Download with huggingface_hub

python
from huggingface_hub import snapshot_download

path = snapshot_download(repo_id="BowenC/time-signature", repo_type="dataset")

Data Sources

This dataset is compiled from two sources:

  • —DeepScores V2 — Digitally rendered sheet music images with dense music symbol annotations. A subset of images was filtered and re-annotated for time signature detection.
  • —IMSLP (International Music Score Library Project) — Scanned public domain sheet music scores by composers including Chopin, Beethoven, Mozart, Brahms, and Debussy.

License

CC BY 4.0

DeepScores V2 is released under CC BY 4.0. IMSLP source scores are in the public domain. Annotations are original work by the dataset author.

Citation

If you use this dataset, please also cite the original sources:

DeepScores V2:

bibtex
@dataset{deepscorev2_2020,
  author    = {Tuggener, Lukas and Elezi, Ismail and Schmidhuber, Jürgen and Pelillo, Marcello and Stadelmann, Thilo},
  title     = {{DeepScoresV2 Dataset and Benchmark for Music Object Detection}},
  year      = {2020},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.4012193},
  url       = {https://zenodo.org/records/4012193}
}

IMSLP:

IMSLP: Petrucci Music Library. https://imslp.org/