This project implements a computer vision pipeline for detecting musical symbols from a scanned or photographed music sheet. It is part of the ROB-UY 3203 Robot Vision course project.
- Detect staff lines in a music sheet
- Segment individual notes and symbols
- Identify and classify different musical elements (e.g., quarter notes, half notes)
- Image preprocessing (grayscale conversion, binarization)
- Staff line detection using morphological operations
- Line removal and segmentation
- Symbol extraction and filtering
Music_sheet_detector.ipynb: Main Jupyter notebook containing the full image processing pipelinesample_sheet.jpg: Example input image used for testing the detector
- numpy
- opencv-python
- matplotlib
pip install numpy opencv-python matplotlib- Clone the repository:
git clone https://github.com/Do-Gon/ROB-UY-3203-Robot-Vision-Project.git
cd ROB-UY-3203-Robot-Vision-Project- Open the notebook:
jupyter notebook Music_sheet_detector.ipynb- Run the cells to see the detection pipeline in action.