[MEI-L] Tools/libraries to find staves in scanned sheet music

Johannes Kepper kepper at edirom.de
Thu Apr 30 09:57:37 CEST 2020


Hi Urs,

you could use the Measure Detector (https://measure-detector.edirom.de/), which automatically generates an MEI file with measure positions. You may preview those boxes by clicking on a file name after the file has been recognized. However, it doesn't tell you how many staves will need to go in there, so this approach needs some more steps in a toolchain before you get your results, but they will depend on your preferred tools and so on. I'm sure other approaches are equally possible… 

All best,
jo

> Am 30.04.2020 um 09:41 schrieb Urs Liska <ul at openlilylib.org>:
> 
> Dear MEI,
> 
> I am investigating ways to produce empty staves/barlines to overlay
> over scanned sheet music. The use case is creating teaching/testing
> sheets for music theory and aural training classes (so the target
> repertoire would be mostly common western notation).
> 
> My first approach was to create a Scribus script that draws staff- and
> barlines from rectangles that have been drawn over the systems. While
> this works surprisingly well it is still a tedious work for longer and
> full scores.
> 
> AFAIK the detection of staff- and barlines is basically a solved
> challenge in OMR. Could somebody point me towards the potentially
> easiest approach I should explore? Algorithms, libraries, ready-to-use
> tools?
> 
> What I need is something that analyses (multipage) sheet music from
> image or PDF files and produces a structured text file with all the
> relevant coordinates, or anything from which I can instruct some tool
> (whether Inkscape, Scribus, LilyPond or whatever) to generate the empty
> sheet music to overlay over the scanned score.
> 
> Thank you for any pointers
> Urs
> 
> PS: Do you agree with me that trying to somehow *remove* the musical
> content from a scanned image is a much less promising approach?
> 
> 
> _______________________________________________
> mei-l mailing list
> mei-l at lists.uni-paderborn.de
> https://lists.uni-paderborn.de/mailman/listinfo/mei-l




More information about the mei-l mailing list