A computer vision application for automatically playing the music provided in a music sheet image.
This application requires Python 3.9
installation. In order to install required Python libraries, run:
pip install -r requirements.txt
Also, you need to download a pretrained musical object detection model. You can download this model with the following link. Then, save the .pb
file with the name model.pb in the resources directory.
In order to use TensorFlow's object detection libraries, you need to compile the .proto
files.
If you don't have the proto compiler, install it first with Homebrew:
brew install protobuf
Then run:
protoc object_detection/protos/*.proto --python_out=.
...
- Complete Run section in the README.
- Look for better performing pretrained musical object detection models.
- Fix music playing logic to obtain correct sounds.
- Implement save mechanism in music playing part.