Group Abstract Group Abstract

Message Boards Message Boards

[WSS19] OCR for Sheet Music

Posted 6 years ago
POSTED BY: Daniel Csillag
10 Replies
Posted 5 years ago

Wow, I thought the notebook had been uploaded here. In any case, it's available at https://github.com/dccsillag/wss-omr.

Classification dataset link: works, just download and ignore Google Drive being unable to show *.zip files. Segmentation dataset link: available at https://repository.cloudlab.zhaw.ch/artifactory/deepscores/archives/2017/ (download the first archive) (DeepScores itself is now rooted at https://tuggeluk.github.io/downloads/). The SegNet implementation should work fine.

As for inputting a PDF, you need to convert it to a raster image. Maybe use xpdf/mupdf?

This still isn't a robust system. I do plan on working on it at a later date though.

POSTED BY: Daniel Csillag

I have not been able to do anything with these functions. For instance removeStaffLines has undefined functions imageMin and imageMax. But there is a reference to SegNet and its GitHub source file at http://mi.eng.cam.ac.uk/projects/segnet/tutorial.html. The problem is that it is written for Python not Mathematica. This Post needs to be updated and explained in more detail.

POSTED BY: Michael Kelly
Posted 5 years ago

Has anyone been able to create anything that would be helpful?

POSTED BY: Larry Lange

Daniel

Thanks for writing up this material. Is it possible that you could also supply the notebook that you used for this post. It would help immeasurably in replicating your results. I am having difficulty finding and applying the DeepScores NN

Thank you,

Michael kelly

POSTED BY: Michael Kelly

As Larry identified above, neither of us can access the segnet page on Google at https://drive.google.com/drive/folders/1KFxqi0rO-bJrd03rLk87fF1iOmnjpaoG)

POSTED BY: Michael Kelly
Posted 5 years ago

I have sheet music in a PDF format. I don't how to get into your program, Can someone provide an example?

POSTED BY: Larry Lange
Posted 5 years ago

Could you place the method you used to put the image to begin the process and the music sheet you used?

POSTED BY: Larry Lange
Posted 5 years ago

Classifying the Musical Components For the component classification, we use a ClassifierFunction trained on the DeepScores [^deepscores] [Classification Dataset](https://drive.google.com/file/d/1bdBrX0dAX734I3MA_6-wH_-N2eqq_tf_/view), cropping the images in relation to a lookup table - this is so that the images contain only the actual symbol, and the classifier doesn't learn the context instead of the symbol.

Unfortunately, the classifier trained during the Wolfram Summer Program misclassifies some images; however, it does still provide something that can be worked with.

I am having a hard time getting to the

Classification Dataset](https://drive.google.com/file/d/1bdBrX0dAX734I3MA_6-wH_-N2eqq_tf_/view)

POSTED BY: Larry Lange
Posted 5 years ago

Thank you very much. It i a big help to me. It shows me the great potential of the language. Since I am a complete novice in using the language and music theory. I was struggling with creating user functions.

POSTED BY: Larry Lange
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard