/cpomr

Optical Music Recognition in python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

CPOMR - Optical music recognition in python

[Description]


USAGE

For extracting PNG images from PDF sheet music, do:

$ ./extract_pages_from_pdf.sh /PATH/TO/FOO.pdf

This will create a directory /PATH/TO/FOO and 
put the PNG files extracted from the PDF files
in that directory

Then you can run the OMR program on the pdfs:

$ ./cpomr.py -o /PATH/TO/OUTPUT -d -b /PATH/TO/FOO/*.png

This wil create a directory /PATH/TO/OUTPUT (if
necessary) and copy annotated images in that directory.


DEPENDENCIES

For extracting PNG images from pdf sheet music:
    * graphicsmagick
    * gnu parallel (optional)

For OMR:
    * python-scipy
    * python-numpy
    * python-imaging