/Read-That-Note

OMR System which converts images of musical sheets and notes into readable text that both humans and computers can understand

Primary LanguagePythonMIT LicenseMIT

🎼 Read That Note


GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license

### Read That Note is an optical musical recognition system, where the input is a musical sheet score, and the output is a text representing each note and symbol

methodology

  1. Deskewing the Image
  2. Convert Image To Binary
  3. Remove Staff Lines
  4. Remove Musical Notes
  5. Extract Each 5 Staves Together
  6. Musical Note Segmentation
  7. Remove Unwanted labels
  8. Classify Musical Note
  9. Convert Line Array To Usable Data
  10. Output To File

for more details on the used algorithm please follow this link: Methodology

Experiment

input

staff line removel

staff lines without musical notes

sine segmentation

character segmentation



output

{
[ \meter<"4/4"> d1/4 e1/32 e1/8 e1/32 e1/32{e1/4,g1/4} e1/4 e1/16 c1/16 g1/32 c1/4 e1/32],
[ \meter<"4/4">{b1/4,e1/4,g1/4} a1/8 d1/8 c1/16 g1/16 d1/16 e1/16 c2/16 g2/16 d2/16 e2/16{b1/4,f1/4,g1/4} c1/4 a1/4 a1/8 a1/32],
[ \meter<"4/4"> e1/16 e1/16 e1/16 e1/16 e1/4 e#1/4 g1/4 g&&1/4 g1/4 e#2/4]
}