| Electronics > Beginners |
| Image Processing Question(Guidance for Beginner) |
| (1/2) > >> |
| Karamel:
Hi, I am, currently, dealing with a problem about image processing. I need to recognize musical notes from an image which have musical notes and it is written with computer. (it is at below) I am, unfortunately, freshman and have no idea about solution methods of problem. Could you give any hints to me? Best Regards, Karamel ^-^ |
| Signal32:
If you know the exact exact format that the music is in, then you can just hard-code the recognition of every symbol via pixel signatures ... basically you scan the bitmap and identify symbol signatures. The more generic and involved approach is using something like opencv: https://docs.opencv.org/3.2.0/d1/dee/tutorial_moprh_lines_detection.html There is also software that does this ... but I assume you want your own ? https://en.wikipedia.org/wiki/Optical_music_recognition |
| rhb:
The first step is to understand musical notation. There are 8 regular notes in each octave of the 12 notes in an equal tempered scale. No accidentals are present, so once you know the key you have all the possible notes. There are two tasks: Determine the key from the sharp symbols at the beginning. Determine the sequence and duration of the notes in that key. It's an interesting problem. There are many possible ways to solve it. Have Fun! |
| drussell:
It is not a trivial task to implement properly... My cousin uses Sibelius with the PhotoScore add-on for that task. She has had a full version for years but they also do offer monthly subscriptions which might fit your usage patterns if you don't want to re-invent the wheel yourself. :) http://www.avid.com/photoscore-and-notateme-lite http://www.avid.com/sibelius |
| Karamel:
Thank you for all answers. I am thinking to use OpenCV and C++ language. Okay, after deleting musical portrait, how can I classify what kind of musical notes they are without machine learning(full note, 1/2 note, 1/4 note) and how can I recognize it is C, D, A, B etc. (I am asking ideas, methods, tasks etc.) |
| Navigation |
| Message Index |
| Next page |