Sheet Music OMR
v0.3.0Converts photos or scans of printed sheet music to MusicXML with optical music recognition
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
recognize_sheet Recognize sheet music
Recognize music notation from an image and return MusicXML. Small scores come back inline as 'musicxml'; large ones (return='auto', the default) are written to a file and come back as 'musicxml_path' plus a short 'score_summary' (title, parts with IDs and ranges, measures, key, time, tempo). Pass that path to other tools as musicxml_path. Use return='inline' to always get the text, return='path' to always get a file.
| Parameter | Type | Description |
|---|---|---|
image * | string | File path or base64-encoded image data |
engine | string | OMR backend to use. 'oemer' (default) is fast and works well for single/two-staff scores. 'audiveris' correctly separates multi-staff choir scores (SATB) into simultaneous parts, where oemer either fl… |
format | string | Input format hint: 'path' or 'base64' (auto-detected if omitted) |
return | string | How to return the score: 'inline' as MusicXML text, 'path' as a file path plus a short score_summary, 'auto' (default) inline for small scores and a path for large ones. Pass returned paths to other t… |
recognize_sheet_to_file Recognize sheet music to file
Process sheet music image and save MusicXML result to filesystem. Returns the output_path (pass it to other tools as musicxml_path) and a short score_summary of the written score.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Path to input image |
engine | string | OMR backend to use — see recognize_sheet's 'engine' parameter. |
output_path | string | Path for output MusicXML file (auto-generated if omitted) |
recognize_sheets Recognize multi-page sheet music
Process multiple pages of sheet music in order and return a single merged MusicXML. Like recognize_sheet, a large merged score (return='auto', the default) comes back as 'musicxml_path' plus a 'score_summary' instead of inline 'musicxml'; pass that path to other tools as musicxml_path. return='inline' or 'path' forces either form.
| Parameter | Type | Description |
|---|---|---|
images * | array | Ordered list of image file paths or base64-encoded images (one per page) |
engine | string | OMR backend to use — see recognize_sheet's 'engine' parameter. |
return | string | How to return the score: 'inline' as MusicXML text, 'path' as a file path plus a short score_summary, 'auto' (default) inline for small scores and a path for large ones. Pass returned paths to other t… |
list_capabilities OMR capabilities
List supported formats and available tools for this OMR server
list_supported_formats OMR formats (deprecated)
(Deprecated — use list_capabilities) List supported input and output formats
health_check OMR health check
Check that all runtime dependencies are available and return a human-readable status summary. Use this to verify the server is set up correctly, especially on first run.