Audiveris / audiveris

Latest generation of Audiveris OMR engine
https://audiveris.github.io/audiveris
GNU Affero General Public License v3.0
1.57k stars 230 forks source link

Slur/Tie not picked up #218

Closed WilloZA closed 5 years ago

WilloZA commented 5 years ago

Having an issue where certain slurs/ties are not getting picked up, please see below for examples:

image

image

image

Please advise me if there are any settings I could tweak to allow for better slur detection. Thanks in advance.

hbitteur commented 5 years ago

We know that slurs detection is a topic that would require a strong redesign. First and foremost is the fact that image skeletonization is used to retrieve candidates slur arcs. Many problems are due to slur portions that are tangent to (if not merged with) staff lines and ledgers.

Then we have the need to find a target note head rather close to each slur end. Here again, having a portion of staff line or ledger at the end of a slur often impedes the search for target head (because there is a maximum acceptable gap between slur end and head/chord).

There are no special tweaks available, we will need to work on more efficient techniques. Meanwhile, it is rather easy for the end user to manually select the portions that should compose a slur and then assign the slur shape to it, and manually link it to proper heads if so needed.

WilloZA commented 5 years ago

Thank you for your response.