aashrafh / Mozart

An optical music recognition (OMR) system. Converts sheet music to a machine-readable version.
Apache License 2.0
583 stars 84 forks source link

Not providing output when running with different input PNG. #18

Open chelyfern opened 1 year ago

chelyfern commented 1 year ago

Hi, I am trying to run Mozart with one of my own PNG files and am not receiving any output. Does this PNG disagree with Mozart's specifications? sample_1

lixucuhk commented 1 year ago

I met the same problem. My input figure is below. Please kindly help if anyone can give suggestions, thanks! SSJS

aashrafh commented 1 year ago

Hi @ChelyFernandezUSC @lixucuhk,

Please, try to use the section break-in each of the sheets you referenced before to split the sheet into multiple sections/images and run it again.

duwei66 commented 1 year ago

I have the same question. How do you create the sample PNG file? I scanned my music sheet as pdf file, then convert to PNG format, but I got empty result. I tried to debug Mozart, which fails to segment my file. 02_binary

Really appreciate any insights. Thanks

deinhofer commented 1 year ago

Hi @ChelyFernandezUSC @lixucuhk,

Please, try to use the section break-in each of the sheets you referenced before to split the sheet into multiple sections/images and run it again.

Hi,

we actually had the same problem. What exactly do you mean by breaking it into sections? What should be part in one section? Could you provide an example?

Thanks a lot! Martin

sknightq commented 6 months ago

The same to me. I created two folders for input and output. Put the music sheet image in the input folder, even split it into sections. Run python3 .\src\main.py .\input .\music Nothing happened in my music folder(output folder).

hitzhangjy commented 1 month ago

@sknightq you can try python .\src\main.py .\input .\music