Thanks, much appreciated.
I loved this one!
Pretty straight forward imo.
I detected the position and thickness of the lines first, and scanned from left to right for the notes by looking 1 px above and in the middle between all lines (also not visible ledger lines).
I didn’t no how to store the image data efficiently (and still not sure). I went for a bytearray with an memoryview and used one bit per pixel.