Đứcliebharc/homr
homr is an Optical Music Recognition (OMR) software designed to transform camera pictures of sheet music into machine-readable MusicXML format.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#2 Repository của tuần
🎵 homr — Biến ảnh chụp bản nhạc thành MusicXML bằng AI
Một pipeline OMR hai giai đoạn: phân đoạn cấu trúc bằng UNet, rồi nhận diện ký hiệu nhạc bằng transformer — ra đời MusicXML ready-to-use.
homr là phần mềm Optical Music Recognition (OMR) do liebharc phát triển, nhận ảnh chụp bản nhạc in và xuất ra định dạng MusicXML — có thể mở tiếp trong MuseScore hoặc ghép nhiều ảnh bằng relieur. Dự án hoạt động trên CPU hoặc GPU CUDA 12.1, cài đặt qua uvx hoặc Poetry.
✨ Điểm nổi bật
- Pipeline hai giai đoạn: UNet-based segmentation trích xuất cấu trúc staff, note heads, bar lines, clefs → transformer nhận diện chuỗi ký hiệu nhạc theo dạng end-to-end.
- Staff anchor detection: Dùng clef và bar line làm điểm mốc để định vị chính xác các dòng staff, ngay khi ký hiệu che khuất một phần.
- Dewarping: Hiệu chỉnh phối cảnh trước khi đưa vào transformer, xử lý ảnh chụp góc nghiêng từ điện thoại.
- Grand staff merging: Hỗ trợ piano, organ — ghép nhiều staff có brace/bracket thành nhóm.
- Kết xuất MusicXML: Tương thích trực tiếp với MuseScore, có thể kết hợp nhiều ảnh qua relieur.
- Chạy trên Colab: Có thể test ngay trên Google Colab mà không cần cài đặt.
💡 Vì sao đáng chú ý
homr giải quyết bài toán chuyển đổi bản nhạc giấy sang dạng kỹ thuật số mà không cần viết tay lại. Pipeline phân đoạn + transformer cho phép xử lý cả cấu trúc lẫn nội dung biểu diễn trong một lượt, thay vì phải chia nhỏ từng bước thủ công. Dự án tham chiếu hai nền tảng uy tín — oemer cho segmentation và Polyphonic-TrOMR cho recognition — cho thấy chất lượng kỹ thuật đáng tin cậy.
Hạn chế hiện tại là chỉ tập trung vào pitch và rhythm trên bass/treble clef, bỏ qua dynamics, articulation, double sharps/flats. Phù hợp cho người muốn số hóa bản nhạc nhanh, sau đó chỉnh sửa chi tiết thủ công trong MuseScore.
#OMR #MusicXML #AI #SheetMusic #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Debussy OMR – Full-Page Level Dataset A dataset of 101 paired samples of full-page images from handwritten music scores written by Claude Debussy (French Composer, 1862 - 1918) and their corresponding MusicXML transcriptions. The manuscript images originate from the collections of the Bibliothèque nationale de France (BnF) and were accessed through the IIIF protocol. Dataset Description Property Value Samples 101 Documents 37 Image format JPEG… See the full description on the dataset page: https://huggingface.co/datasets/HugoSchtr/debussy-omr-fullpage-lvl.
Debussy OMR – System-Level Dataset A dataset of 491 paired samples of cropped system images from handwritten music scores written by Claude Debussy (French Composer, 1862 - 1918) and their corresponding MusicXML transcriptions. The manuscript images originate from the collections of the Bibliothèque nationale de France (BnF) and were accessed through the IIIF protocol. Dataset Description Property Value Samples 491 Documents 37 Pages 101 Image… See the full description on the dataset page: https://huggingface.co/datasets/HugoSchtr/debussy-omr-system-lvl.
Desktop GUI for HOMR optical music recognition — screenshot or drag a score and convert it to MusicXML & MIDI in one click.
Orchestra is a sheet music reader (optical music recognition (OMR) system) that converts sheet music to a machine-readable version.
A Deep Learning based detector for measures in musical scores
🎧 Open source music streaming app! Available for both desktop & mobile!
A better-looking desktop music player for local files, media servers, and plugins. For macOS, Windows and Linux.
Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).