PyClef: Reconhecimento Óptico de Partituras com MIRP
Keywords:
Optical Music Recognition, Deep Learning, Object Detection, Structural Modeling, PyClefAbstract
This work presents PyClef, a system for Optical Music Recognition (OMR) that integrates deep learning-based object detection and structured musical inference. The detection stage employs the YOLOv11S architecture to identify 208 classes of musical symbols in the DeepScoresV2 (Dense) dataset, achieving mAP @[0.5 : 0.95] = 0.4126. However, geometric detection metrics are not sufficient to correctly reconstruct the musical score. To overcome this limitation, the Staff-Referenced Musical Inference Method (MIRP) was proposed, in which the detected clef and the staff structure are used to define a reference note, allowing the pitch of the remaining notes to be inferred from their relative vertical displacement. Experimentally, the Pitch Reconstruction Rate increased from approximately 4% to 97.5% using the YOLOv11S model. The results demonstrate that the explicit incorporation of structural knowledge of musical notation constitutes a superior alternative to the isolated use of deep learning-based detectors in OMR tasks.Downloads
Published
2026-10-05
Issue
Section
Articles