pzwjyxx / OMR-Datasets

Collection of datasets used for Optical Music Recognition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains a collection of many datasets used for various Optical Music Recognition tasks, including staff-line detection and removal, training of Convolutional Neuronal Networks (CNNs) or validating existing systems by comparing your system with a known ground-truth.

Note that most datasets have been developed by researchers and using their dataset requires accepting a certain license and/or citing their respective publications, as indicated for each dataset. Most datasets link to the official website, where you can download the dataset.

Overview

The following datasets are referenced from this repository:

Name Engraving Size Format Typical usages
Handwritten Online Musical Symbols (HOMUS) Handwritten 15200 symbols Text-File Symbol Classification (online + offline)
Universal Music Symbol Collection Printed + Handwritten ~ 90000 symbols Images Symbol Classification (offline)
CVC-MUSCIMA Handwritten 1000 score images Images Staff line removal, writer identification
MUSCIMA++ Handwritten > 90000 annotatations Images, MuNG Symbol Classification, Object Detection, End-To-End Recognition
DeepScores Printed 300000 images Images, XML Symbol Classification, Object Detection, Semantic Segmentation
PrIMuS Printed 87678 incipits Images, MEI, Simplified encoding, agnostic encoding End-to-End Recognition
Multimodal Sheet Music Dataset Printed 497 songs Images, MIDI, Lilypond, MuNG (noteheads) End-to-End Recognition, Multimodal Retrieval, Score Following
MuseScore Printed > 340000 files MuseScore, PDF, MusicXML Various
MuseScore Monophonic MusicXML Dataset Printed 17000 IDs IDs for MuseScore files Various
Capitan collection Handwritten 10230 symbols Images, Text-File Symbol Classification
SEILS Dataset Printed 30 madrigals, 150 original images, 270 symbolic files Images (PDF), .ly, .mid, .xml, .musx, .krn, .mei Various
Rebelo Dataset Printed 15000 symbols Images Symbol Classification
Fornes Dataset Handwritten 4100 symbols Images Symbol Classification
Audiveris OMR Printed 800 annotations Images, XML Symbol Classification, Object Detection
Printed Music Symbols Dataset Printed 200 symbols Images Symbol Classification
Music Score Classification Dataset Printed 1000 score images Images Sheet Classification
OpenOMR Dataset Printed 706 symbols Images Symbol Classification
Gamera MusicStaves Toolkit Printed 32 score images Images Staff line removal
Early Typographic Prints Printed 240 score images
Silva Online Handwritten Symbols Handwritten 12600 symbols
IMSLP Printed >420000 score images PDF Various
Byrd Dataset Printed 34 score images Images Various

If you find mistakes or know of any relevant datasets, that are missing in this list, please open an issue or directly file a pull request.

Tools for working with the datasets

Build Status codecov PyPI version Documentation Status Code Health GitHub license

Handwritten Online Musical Symbols (HOMUS)

Official website: http://grfia.dlsi.ua.es/homus/

License

Summary: The Handwritten Online Musical Symbols (HOMUS) dataset is a reference corpus with around 15000 samples for research on the recognition of online handwritten music notation. For each sample, the individual strokes that the musicians wrote on a Samsung Tablet using a stylus were recorded and can be used in online and offline scenarios.

Scientific Publication: J. Calvo-Zaragoza and J. Oncina, "Recognition of Pen-Based Music Notation: The HOMUS Dataset," 2014 22nd International Conference on Pattern Recognition, Stockholm, 2014, pp. 3038-3043. DOI: 10.1109/ICPR.2014.524

Example:

Example of HOMUS dataset

Remarks: The original dataset contains around 20 artifacts and misclassifications that were reported to the authors and corrected by Alexander Pacha.

Universal Music Symbol Collection

Official website: https://github.com/apacha/MusicSymbolClassifier, Slides

License: MIT

Summary: A collection of various other datasets, that combines 7 datasets into a large unified dataset of 90000 tiny music symbol images from 79 classes that can be used to train a universal music symbol classifier. 74000 symbols are handwritten and 16000 are printed symbols.

Scientific Publication: Alexander Pacha, Horst Eidenberger. Towards a Universal Music Symbol Classifier. Proceedings of the 12th IAPR International Workshop on Graphics Recognition, Kyoto, Japan, November 2017. DOI: 10.1109/ICDAR.2017.265

Example:

Example of MusicSymbolClassifier dataset

CVC-MUSCIMA

Official website: http://www.cvc.uab.es/cvcmuscima/index_database.html

License: CC BY-NC-SA 4.0

Summary: The CVC-MUSCIMA database contains handwritten music score images, which has been specially designed for writer identification and staff removal tasks. The database contains 1,000 music sheets written by 50 different musicians. All of them are adult musicians, in order to ensure that they have their own characteristic handwriting style. Each writer has transcribed the same 20 music pages, using the same pen and the same kind of music paper (with printed staff lines). The set of the 20 selected music sheets contains music scores for solo instruments and music scores for choir and orchestra.

Scientific Publication: Alicia Fornés, Anjan Dutta, Albert Gordo, Josep Lladós. CVC-MUSCIMA: A Ground-truth of Handwritten Music Score Images for Writer Identification and Staff Removal. International Journal on Document Analysis and Recognition, Volume 15, Issue 3, pp 243-251, 2012. DOI: 10.1007/s10032-011-0168-2

Example:

Example of CVC MUSCIMA dataset

MUSCIMA++

Official website: https://ufal.mff.cuni.cz/muscima

License: CC BY-NC-SA 4.0

Summary: MUSCIMA++ is a dataset of handwritten music notation for musical symbol detection that is based on the MUSCIMA dataset. It contains 91255 symbols, consisting of both notation primitives and higher-level notation objects, such as key signatures or time signatures. There are 23352 notes in the dataset, of which 21356 have a full notehead, 1648 have an empty notehead, and 348 are grace notes. Composite objects, such as notes, are captured through explicitly annotated relationships of the notation primitives (noteheads, stems, beams...). This way, the annotation provides an explicit bridge between the low-level and high-level symbols described in Optical Music Recognition literature.

Scientific Publication: Jan Hajič jr., Pavel Pecina. The MUSCIMA++ Dataset for Handwritten Optical Music Recognition. 14th International Conference on Document Analysis and Recognition, ICDAR 2017. Kyoto, Japan, November 13-15, pp. 39-46, 2017. DOI: 10.1109/ICDAR.2017.16

Example:

Example of MUSCIMA++ dataset

Remarks: Since this dataset is derived from the CVC-MUSCIMA dataset, using it requires to reference both works.

DeepScores

Official website: https://tuggeluk.github.io/deepscores/

License

Summary: Synthetic dataset of 300000 annotated images of written music for object classification, semantic segmentation and object detection. Based on a large set of MusicXML documents that were obtained from MuseScore, a sophisticated pipeline is used to convert the source into LilyPond files, for which LilyPond is used to engrave and annotate the images. Images are rendered in five different fonts to create a variation of the visual appearance.

Scientific Publication: Lukas Tuggener, Isamil Elezi, Jürgen Schmidhuber, Marcello Pelillo, Thilo Stadelmann. DeepScores - A Dataset for Segmentation, Detection and Classification of Tiny Objects. ICPR 2018. 2018. https://arxiv.org/abs/1804.00525

Example:

Example of deepscores dataset

Example of deepscores dataset

PrIMuS

Official website: https://grfia.dlsi.ua.es/primus/

License

Summary: The Printed Images of Music Staves (PrIMuS) contains the 87678 real-music incipits (an incipit is a sequence of notes, typically the first ones, used for identifying a melody or musical work) in five different formats: As rendered PNG image, as MIDI-file, als MEI-file and as two custom encodings (semantic encoding and agnostic encoding). The incipits are originally taken from the RISM dataset.

PrIMuS has been extended into the Camera-PrIMuS dataset that contains the same scores, but the images have been distorted to simulate imperfections introduced by taking pictures of sheet music in a real scenario.

Scientific Publications:

  • Jorge Calvo-Zaragoza and David Rizo. End-to-End Neural Optical Music Recognition of Monophonic Scores. Applied Sciences, 2018, 8, 606. http://www.mdpi.com/2076-3417/8/4/606 (for PrIMuS)
  • Jorge Calvo-Zaragoza and David Rizo. Camera-PrIMuS: Neural end-to-end Optical Music Recognition on realistic monophonic scores. In Proceedings of the 19th International Society for Music Information Retrieval Conference, Paris, 2018. http://ismir2018.ircam.fr/doc/pdfs/33.pdf (for Camera-PrIMuS)

Example:

Example of primus dataset

Multimodal Sheet Music Dataset

Official website: https://github.com/CPJKU/msmd

License

Summary: MSMD is a synthetic dataset of 497 pieces of (classical) music that contains both audio and score representations of the pieces aligned at a fine-grained level (344,742 pairs of noteheads aligned to their audio/MIDI counterpart). It can be used for training and evaluating multimodal models that enable crossing from one modality to the other, such as retrieving sheet music using recordings or following a performance in the score image.

Scientific Publications:

Example:

Example of primus dataset

MuseScore

Official website: https://musescore.com/sheetmusic

License: Mixed

Summary: MuseScore is a free music notation software and also allows their users to upload their sheet music to their website and share it with others. Currently (Jan. 2018) the website hosts over 340000 music sheets, that can be downloaded as MuseScore file (mscz), PDF, MusicXML, MIDI and MP3.

Publication: https://musescore.org

Example:

Example of MuseScore

MuseScore Monophonic MusicXML Dataset

Official website: https://github.com/eelcovdw/mono-musicxml-dataset

License: MIT

Summary: This dataset contains the IDs to 17000 monophonic scores, that can be downloaded from musescore.com. A sample script is given that downloads one score, given you've obtained a developer key from the MuseScore developers.

Scientific Publication: Eelco van der Wel, Karen Ullrich. Optical Music Recognition with Convolutional Sequence-to-Sequence Models. CoRR, arXiv:1707.04877, 2017. https://arxiv.org/abs/1707.04877

Examples:

Example of Monophonic MusicXML dataset

Capitan collection

Official website: http://grfia.dlsi.ua.es/

License (Freely available for research purposes)

Summary: A corpus collected by an electronic pen while tracing isolated music symbols from Early manuscripts. The dataset contains information of both the sequence followed by the pen and the patch of the source under the tracing itself. In total it contains 10230 samples unevenly spread over 30 classes. Each symbol is described as stroke (capitan stroke) and including the piece of score below it (capitan score).

Scientific Publication: Jorge Calvo-Zaragoza, David Rizo and Jose M. Iñesta. Two (note) heads are better than one: pen-based multimodal interaction with music scores. Proceedings of the 17th International Society of Music Information Retrieval conference, 2016. Download the PDF

Example:

Example of Capitan dataset

Remarks: This dataset exists in two flavours:

  • As raw dataset, which contains only the textual descriptions of the strokes and the images, called Bimodal music symbols from Early notation. This format is similar to the HOMUS dataset.
  • As rendered images inside of the Isolated handwritten music symbols dataset. Also refered to as Capitan collection.

SEILS Dataset

Official website: https://github.com/SEILSdataset/SEILSdataset

License

Summary: The SEILS dataset is a corpus of scores in lilypond, music XML, MIDI, Finale, **kern, MEI, and pdf formats, in white mensural and modern notation. The transcribed scores have been taken from the 16th century anthology of Italian madrigals Il Lauro Secco, published for the first time in 1582 by Vittorio Baldini in Ferrara (Italy). The corpus contains scores of 30 different madrigals for five unaccompanied voices composed by a variety of composers.

Scientific Publication: Emilia Parada-Cabaleiro, Anton Batliner, Alice Baird, Björn W. Schuller. The SEILS dataset: Symbolically Encoded Scores in ModernAncient Notation for Computational Musicology. Proceedings of the 18th International Society of Music Information Retrieval conference, 2017. Download the PDF

Example:

Example of SEILS dataset - original manuscript Example of SEILS dataset - modern notation

Rebelo Dataset

Official websites: http://www.inescporto.pt/~arebelo/index.php and http://www.inescporto.pt/~jsc/projects/OMR/

License: CC BY-SA 4.0

Summary: Three datasets of perfect and scanned music symbols including an extensive set of synthetically modified images for staff-line detection and removal. Contains approximately 15000 music symbols.

Scientific Publication: A. Rebelo, G. Capela, and J. S. Cardoso, "Optical recognition of music symbols: A comparative study" in International Journal on Document Analysis and Recognition, vol. 13, no. 1, pp. 19-31, 2010. DOI: 10.1007/s10032-009-0100-1

Examples:

Example of Rebelo dataset Example of Rebelo dataset

Remarks: The dataset is usually only available upon request, but with written permission of Ana Rebelo I hereby make the datasets available under a permissive CC-BY-SA license, which allows you to use it freely given you properly mention her work by citing the above mentioned publication: Download the dataset.

Fornes Dataset

Official website: http://www.cvc.uab.es/~afornes/

License

Summary: A dataset of 4100 black and white symbols of 7 different symbol classes: flat, natural, sharp, double-sharp, c-clef, g-clef, f-clef.

Scientific Publication: A.Fornés and J.Lladós and G. Sanchez, "Old Handwritten Musical Symbol Classification by a Dynamic Time Warping Based Method", in Graphics Recognition: Recent Advances and New Opportunities. Liu, W. and Lladós, J. and Ogier, J.M. editors, Lecture Notes in Computer Science, Volume 5046, Pages 51-60, Springer-Verlag Berlin, Heidelberg, 2008. DOI: 10.1007/978-3-540-88188-9_6

Example:

Example of the Fornes Dataset Example of the Fornes Dataset

Audiveris OMR

Official website: https://github.com/Audiveris/omr-dataset-tools

License: CC BY-NC-SA 4.0

Summary: A collection of four music sheets with approximately 800 annotated music symbols. The DeepScore project in cooperation with the ZHAW targets towards automatically generating these images and the annotations from MuseScore or Lilypond documents.

Example:

Example of the Audiveris OMR Dataset

Printed Music Symbols Dataset

Official website: https://github.com/apacha/PrintedMusicSymbolsDataset

License: MIT

Summary: A small dataset of about 200 printed music symbols out of 36 different classes. Partially with their context (staff-lines, other symbols) and partially isolated.

Example:

Example of the Printed Music Symbols Dataset

Music Score Classification Dataset

Official website: https://github.com/apacha/MusicScoreClassifier

License: MIT

Summary: A dataset of 2000 images, containing 1000 images of music scores and 1000 images of other objects including text documents. The images were taken with a smartphone camera from various angles and different lighting conditions.

Scientific Publication: Alexander Pacha, Horst Eidenberger, Towards Self-Learning Optical Music Recognition. 2017 16th IEEE International Conference on Machine Learning and Applications (ICMLA), Cancún, Mexiko, Dezember 2017. DOI: 10.1109/ICMLA.2017.00-60

Example:

Example of MusicScoreClassifier dataset

OpenOMR Dataset

Official website: http://sourceforge.net/projects/openomr/

License: GPL v2

Summary: A dataset of 706 symbols (g-clef, f-clef) and symbol primitives (note-heads, stems with flags, beams) of 16 classes created by Arnaud F. Desaedeleer as part of his master thesis to train artificial neural networks.

Scientific Publication: Arnaud F. Desaedeleer, "Reading Sheet Music", Master Thesis, University of London, September 2006, Download

Example:

Example of the Printed Music Symbols Dataset

Gamera MusicStaves Toolkit

Official website: http://music-staves.sf.net/ and https://github.com/hsnr-gamera

License: GPL v2

Summary: The Synthetic Score Database by Christoph Dalitz that contains 32 scores that have been computer generated with different music typesetting programs. It contains ground truth data and is suitable for the deformations implemented in the toolkit.

Scientific Publication: C. Dalitz, M. Droettboom, B. Pranzas, I. Fujinaga: A Comparative Study of Staff Removal Algorithms. IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 30, no. 5, pp. 753-766 (2008) DOI: 10.1109/TPAMI.2007.70749

Example:

Example of the Gamera MusicStaves Dataset

Early Typographic Prints

Summary: 240 pages of early typographic music having a total of 1478 staves and 52178 characters corresponding to 175 different symbols with ground-truth obtained by manually entering via a MIDI keyboard.

Scientific Publication: Laurent Pugin. Optical Music Recognition of Early Typographic Prints using Hidden Markov Models. 7th International Conference on Music Information Retrieval (ISMIR’06), Victoria, Canada, October 2006. http://www.aruspix.net/publications/pugin06optical.pdf

Example:

Example of the Pugin dataset

Silva Online Handwritten Symbols

Summary: Dataset of 12600 trajectories of handwritten music symbols, drawn by 50 writers with an Android application. Every writer drew each of the 84 different symbols three times.

Scientific Publication: Rui Miguel Filipe da Silva. Mobile framework for recognition of musical characters. Master Thesis. Universidade do Porto, June 2013. https://repositorio-aberto.up.pt/bitstream/10216/68500/2/26777.pdf

IMSLP

Official website: http://imslp.org

License: CC BY-SA 4.0

Summary: The Petrucci Music Library is the largest collection of public domain music, with over 420000 (Jan. 2018) freely available PDF scores by almost 16000 composers accompanied by almost 50000 recordings. It also maintains an extensive list of other music score websites, where you can find many more music sheets, e.g. collected during research projects by universities.

Example:

The IMSLP music library

Byrd Dataset

Official website: http://www.diku.dk/hjemmesider/ansatte/simonsen/suppmat/jnmr/

License (Authors want to be contacted)

Summary: A small dataset of 34 high quality images with individual music score pages of increasing difficulty.

Scientific Publication: Donald Byrd & Jakob Grue Simonsen: "Towards a Standard Testbed for Optical Music Recognition: Definitions, Metrics, and Page Images". Journal of New Music Research, vol 44, nr.3, pages 169-195, 2015. DOI: 10.1080/09298215.2015.1045424

Example:

Example of the Byrd Dataset

About

Collection of datasets used for Optical Music Recognition

License:MIT License


Languages

Language:Python 99.7%Language:PowerShell 0.3%