Audiveris and homr are the two leading free, open-source optical music recognition (OMR) tools you can run on your own PC. Both turn an image of sheet music into MusicXML for MuseScore and other notation programs, but they're built very differently: Audiveris is a mature desktop application that blends a neural network with classic image analysis and includes an editor, while homr is a command-line tool built around segmentation networks and a transformer model, with optional GPU acceleration.
At a glance
Audiveris | homr | |
|---|---|---|
What it is | OMR engine plus OMR editor | OMR tool that turns camera pictures or PDFs into MusicXML |
How it recognises music | Ad-hoc methods for lines, morphological closing for beams, external OCR for text, template matching for heads, neural network for other fixed-size shapes | UNet segmentation (adapted from oemer), then a transformer model (based on Polyphonic-TrOMR) per staff |
Interface | Graphical app with editor; command-line batch mode | Command line; online demo at homr.site; Colab notebook |
Install | .msi, .deb, .dmg installers with bundled Java; winget, scoop, Flathub | Python 3.11 or 3.12 with uv or Poetry |
GPU | No GPU option documented | Optional: NVIDIA (CUDA 12.1) or AMD (ROCm 7.0) |
Input | PDF, TIFF, JPG, PNG, BMP | Camera pictures or PDFs |
Output | Compressed MusicXML 4.0 (.mxl) plus .omr project file | MusicXML next to the input image |
Licence | AGPL | AGPL-3.0 |
Latest release (30 Nov 2026) | 5.11.0, 11 July 2026 | 0.7.1 on PyPI, 10 November 2026 |
Recognition: hybrid engine vs deep learning
Audiveris picks a technique for each kind of symbol. Lines are found with ad-hoc methods, beams with image morphology, text with the external Tesseract OCR library and note heads with template matching, while a neural network classifies the other fixed-size shapes. Version 5.11.0 added L2 regularisation to that glyph classifier to prevent overfitting. Audiveris doesn't graphically straighten pages: it detects rotation and warping and uses the distorted staff lines as local references.
homr works in stages. UNet-based segmentation networks locate staff line fragments, note heads, stems, rests, bar lines, clefs and key signatures; the software then finds "staff anchors" such as clefs and bar lines, rebuilds each staff and merges grand staffs using braces and brackets. Each staff is dewarped (perspective-corrected) and read by a transformer that outputs rhythm, pitch with accidentals, articulations and dynamics as a sequence. That dewarping is why homr is designed with camera pictures in mind.
Neither project claims perfect results. Audiveris says a 100% recognition ratio is "simply out of reach in many cases"; homr's README notes "some errors are present" in its own example and lists unsupported or partly supported symbols, including octave lines, octave clefs, beams and glissandos.




