Skip to main content
QUICK REVIEW

[Paper Review] Detecting Noteheads in Handwritten Scores with ConvNets and Bounding Box Regression

Jan Hajič, Pavel Pecina|arXiv (Cornell University)|Aug 5, 2017
Music and Audio ProcessingComputer Science6 references11 citations
TL;DR

This paper presents a lightweight convolutional neural network (ConvNet) for detecting noteheads in handwritten musical scores using pixel-wise classification and bounding box regression, achieving a 0.97 F-score on binary images from the MUSCIMA++ dataset without requiring staff removal. The method leverages a dynamic proposal mechanism based on morphological skeleton pixels and joint learning of classification and localization, demonstrating strong robustness across diverse handwriting styles and musical complexity.

ABSTRACT

Noteheads are the interface between the written score and music. Each notehead on the page signifies one note to be played, and detecting noteheads is thus an unavoidable step for Optical Music Recognition. Noteheads are clearly distinct objects, however, the variety of music notation handwriting makes noteheads harder to identify, and while handwritten music notation symbol {\em classification} is a well-studied task, symbol {\em detection} has usually been limited to heuristics and rule-based systems instead of machine learning methods better suited to deal with the uncertainties in handwriting. We present ongoing work on a simple notehead detector using convolutional neural networks for pixel classification and bounding box regression that achieves a detection f-score of 0.97 on binary score images in the MUSCIMA++ dataset, does not require staff removal, and is applicable to a variety of handwriting styles and levels of musical complexity.

Motivation & Objective

  • To address the challenge of robust notehead detection in handwritten musical scores, where traditional rule-based methods fail due to handwriting variability.
  • To develop a machine learning-based detector that generalizes across diverse handwriting styles and levels of musical complexity.
  • To eliminate the need for staff removal, simplifying the OMR pipeline and improving end-to-end performance.
  • To demonstrate that a simple, lightweight ConvNet with joint classification and regression can outperform heuristic methods in handwritten OMR.
  • To provide a foundation for scalable, trainable symbol detection in offline handwritten optical music recognition.

Proposed method

  • The detector uses a target pixel generator that selects skeleton pixels from binary score images as input locations for the detection network.
  • For each target pixel, the network predicts a binary class (notehead or not) and a bounding box regression vector encoding relative position to the notehead's edges.
  • The detection network is a small, custom ConvNet trained end-to-end on patches centered on target pixels, with input size 51×51 for efficiency.
  • A proposal filter combines predictions from multiple nearby target pixels using a separate classifier to refine detection outputs and reduce false positives.
  • The method avoids fixed proposal grids by dynamically generating regions based on the image structure, differing from standard RCNNs.
  • The network is trained using supervised learning with ground-truth labels from the MUSCIMA++ dataset, using only positive and negative pixels from notehead regions.

Experimental results

Research questions

  • RQ1Can a lightweight ConvNet with joint classification and bounding box regression achieve high accuracy in detecting noteheads in handwritten scores without staff removal?
  • RQ2How does the performance of the detector vary across diverse handwriting styles and levels of musical complexity?
  • RQ3To what extent does using morphological skeleton pixels as target locations improve detection efficiency and accuracy?
  • RQ4How does the dynamic proposal mechanism compare to fixed-grid RCNN approaches in terms of robustness and inference speed?
  • RQ5Can the detector generalize to low-quality or degraded score images, and what are the main failure points?

Key findings

  • The detector achieves an F-score of 0.97 on the MUSCIMA++ dataset using binary score images, demonstrating high precision and recall across diverse handwritten styles.
  • The method does not require staff removal, simplifying the OMR pipeline and reducing error propagation from staff line removal.
  • Using skeleton pixels as target locations reduces the number of input candidates to ~10% of foreground pixels while preserving over 97% of correct notehead classifications.
  • The detector generalizes well to complex scores and varied handwriting, showing robustness to overlapping symbols and non-standard notation.
  • On low-quality, blurred, or poorly binarized images, performance drops to F-score 0.85 without filtering and 0.79 with filtering, indicating sensitivity to input quality.
  • The post-filtering classifier is identified as a fragile component, as it relies heavily on high-quality network outputs and is not jointly trainable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.