
Optical music recognition (OMR) reads a picture of printed notation and produces notes a program can use, usually MusicXML. If you are building an app that has to understand scores, you have two broad choices: call a hosted API, or run an open-source engine yourself. This guide compares the real options as of late 2026 and shows how to use ScoreFlip's scanning endpoint.
We build ScoreFlip, so we say where the alternatives fit better. Always check each project's own documentation for current limits and terms.
| Option | Type | Notes |
|---|---|---|
| ScoreFlip scan API | Hosted, pay per page | One printed page per request, image in, MusicXML out. Also available as an MCP tool. |
| Flat OMR API | Hosted | Documented in Flat's developer docs; accepts PDFs and photos and can return MusicXML or MIDI. Fits you best if you are already building on Flat's score editor. |
| Audiveris | Open source, desktop and Java | Mature engine for printed scores to MusicXML. You host and operate it. Printed music only. |
| oemer | Open source, Python | Image to MusicXML from a command line. Its own docs describe multi-minute runs on a GPU, so plan for batch jobs. |
| homr | Open source, Python | Aimed at camera photos of sheet music. Needs a Python environment and optionally a GPU. |
Rule of thumb: self-host if you scan large volumes and have the engineering time; use a hosted API if you want a working result today without running GPUs or tuning models.
curl -X POST https://api.scoreflipml.roovemusic.com/v1/scans \
-H "Authorization: Bearer $SCOREFLIP_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/page-1.jpg", "max_credits": 20}'Then poll and download exactly as with any job:
curl https://api.scoreflipml.roovemusic.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $SCOREFLIP_API_KEY"
curl "https://api.scoreflipml.roovemusic.com/v1/jobs/JOB_ID/result?format=musicxml" \
-H "Authorization: Bearer $SCOREFLIP_API_KEY" -o page-1.musicxmlDetails that matter:
max_credits so a bug cannot overspend.Recognition quality depends mostly on the image:
We wrote a longer checklist in taking better photos of sheet music. If a result still has wrong notes, see how to fix wrong notes in a scanned score.
MusicXML opens in MuseScore, Finale, Sibelius and Dorico, and libraries such as music21 (Python) and OpenSheetMusicDisplay (browser) can read or render it. Typical pipelines: scan, then transpose, extract chords, check ranges for a student, or render in the browser.
The same capability is exposed as the scan_sheet_music tool on ScoreFlip's MCP server, so Claude, Cursor and other agents can read a score image directly.
Explore more articles on notation scanning, electric keyboards, and gamified music practice in our journal.
Explore All Articles