SNU Dataset for Online Music Symbol Recognition
For research on the recognition of online handwritten music symbols the SNU dataset provides handwritten music symbol samples which were drawn by 18 musicians. Similar to the HOMUS dataset, the SNU dataset consists of total 1716 symbol samples and the symbol set in SNU dataset is a subset of HOMUS dataset. Each symbol sample in the SNU dataset, like the HOMUS dataset, consists of at least one stroke and a stroke is defined as a sequence of two dimensional points, which are the successive locations of a stylus pen on a device in time sequence while the pen touches the device. The symbols in the SNU dateset are a subset of the HOMUS dataset. There are 16 musical symbols in SNU dataset which is summarized in Table 1 and Table 2. Each directory contains text files which were contain handwritten music symbol data drawn by each musician.
The text files consist of
- Symbol Name - Sets of 2D points representing each stroke seperated by a semicolon.
An example of a text file:
1. Natural 2. 482.22,409.96;481.84,411.24;481.19,414.07;480.81,419.50;480.38,425.88;480.17,436.76;481.06,438.69;484.66,439.67;488.73,439.41;493.95,438.00;496.18,436.89;496.01,435.99;496.01,435.99; 3. 482.56,418.09;482.56,418.09;483.29,418.73;485.30,420.19;488.56,421.77;492.03,423.53;495.19,427.13;493.61,435.52;491.60,439.97;490.87,454.14;490.78,460.31;492.07,470.37;492.07,470.37;
|Note||whole, half, quarter, eighth, sixteenth|
|Rest||whole/half, quarter, eighth, sixteenth|
|Accidentals||flat, sharp, natural|
|Symbol||Num. of symboles||Symbol||Num. of symboles|
In the choice, we tried to define as small number of the basic strokes as possible keeping the similarity between any pair of the strokes to be as small as possble, and each basic stroke was enforced to contain somewhat large variations. With those basis strokes, we labeled all the strokes as one of the twenty four classes, which is summarized in Table 1. Note that most samples corresponding to 24 symbols in Fig. 1 can be represented in the combinations of the basic strokes in Fig. 2.
The labels of strokes in SNU dataset
In the same manner as described at Labels of Strokes in HOMUS Dataset the SNU dataset was labeled. The difference is that basic stroke set included in SNU dataset is smaller than it in HOMUS dataset. Same as symbol set in SNU dataset the stroke set is a subset of the HOMUS dataset. Table 3. shows more detail. Also there are no time signature in the SNU dataset the labels doesn't include 100.
The label files consist of
- Symbol Name - Label number of each stroke
An example of a label file:
1. Natural 2. 10 3. 21
|Stroke label||Stroke||Num. of strokes||Stroke label||Stroke||Num. of strokes|
The SNU dataset and its label were used in our paper.
- J. Calvo-Zaragoza and J. Oncina, Recognition of Pen-Based Music Notation: the HOMUS dataset, ICPR 2014.
- H. Miyao and M. Maruyama, An online handwritten music symbol recognition system, International Journal of Document Analysis and Recognition, vol. 9, pp. 49-58, 2007.
- J. Oh, S. J. Son, S. Lee, J.-W. Kwon, and N. Kwak, Online Recognition of Handwritten Music Symbols, International Journal of Document Analysis and Recognition, vol. 20, pp. 79-89, June 2017.
Sung Joon Son, Ph.D. candidate, E-mail: sjson718_at_snu_dot_ac_dot_kr