c++image-processingomr

Determining the location of staves in sheet music


I want to be able to determine the location of staves in sheet music. Example: https://i.sstatic.net/EXPSo.jpg

The sheet music could be scanned and so could be skewed, have gaps etc. I've spent some time researching various methods (the Hough transform seems to crop up a lot) and looking at how staves are recognised in the OpenOMR project, but so far I've not been able to find a definitive answer. Once I have then I can go ahead and start developing it (Obj C or C++) if a library does not exist, but I don't want to start going down the wrong route! Any advice much appreciated.


Solution

  • Well my advise is to go with a blob extraction algorithm

    See it in action here