SkillAgentSearch skills...

Orchestra

Orchestra is a sheet music reader (optical music recognition (OMR) system) that converts sheet music to a machine-readable version.

Install / Use

/learn @AbdallahHemdan/Orchestra

README

<div align="center"> <a href="https://github.com/AbdallahHemdan/Orchestra" rel="noopener">

Component 16

</div> <h3 align="center">Orchestra</h3> <div align="center">

GitHub contributors GitHub issues GitHub forks GitHub stars GitHub license <img src="https://img.shields.io/github/languages/count/AbdallahHemdan/Orchestra" /> <img src="https://img.shields.io/github/languages/top/AbdallahHemdan/Orchestra" /> <img src="https://img.shields.io/github/languages/code-size/AbdallahHemdan/Orchestra" /> <img src="https://img.shields.io/github/issues-pr-raw/AbdallahHemdan/Orchestra" />

</div>

About

Orchestra is a sheet music reader (optical music recognition (OMR) system) that converts sheet music to a machine-readable version.

<div align="center">

image

</div>

How it works

List of steps we take to process the input sheet and get our results

1. Noise Removal

<div align="center">

1  noise_removed

</div>

2. Binarization

<div align="center">

2  binarized

</div>

3. Staff line removal

<div align="center">

3  cleaned

</div>

4. Cutted buckets

<div align="center"> <hr />

4  cutted-1

<br /><hr /> 4  cutted-2

<br /><hr />

4  cutted-3

<br /><hr />

</div>

5. Segmentation and detection

<div align="center">

colored_0_1

<br />

colored_0_2

<br />

colored_0_3

</div>

6. Recognition

  1. Cutted 1

[ \meter<"4/4"> d1/4 e1/32 e2/2 e1/8 e1/16 e1/32 {e1/4,g1/4} e1/4 e1/8 c1/8 g1/32 c1/16 e1/32 ]

  1. Cutted 2

[ \meter<"4/4"> {e1/4,g1/4,b1/4} a1/8 d1/8 c1/16 g1/16 d1/16 e1/16 c2/16 g2/16 d2/16 e2/16 {f1/4,g1/4,b1/4} c1/4 a1/4. a1/8 a1/32.. ]

  1. Cutted 3

[ \meter<"4/4"> e1/16 e1/16 e1/16 e1/16 e1/4 e#1/4 g1/4 g&&1/4 g1/4 e#2/4 ]

Installation

  1. Clone the repository
$ git clone https://github.com/AbdallahHemdan/Orchestra.git
  1. Navigate to repository directory
$ cd Orchestra
  1. Install dependencies
$ pip install -r requirements.txt

Running

  1. Put you input files inside input folder

  2. Put you output files inside output folder

  3. Running

python main.py $path_of_input_folder $path_of_output_folder

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

Check out our contributing guidelines for ways to contribute.

Contributors

<table> <tr> <td align="center"><a href="https://github.com/AbdallahHemdan"><img src="https://avatars1.githubusercontent.com/u/40190772?s=460&v=4" width="150px;" alt=""/><br /><sub><b>Abdallah Hemdan</b></sub></a><br /></td> <td align="center"><a href="https://github.com/AdelRizq"><img src="https://avatars2.githubusercontent.com/u/40351413?s=460&v=4" width="150px;" alt=""/><br /><sub><b>Adel Mohamed</b></sub></a><br /></td> <td align="center"><a href="https://github.com/kareem3m"><img src="https://avatars0.githubusercontent.com/u/45700579?s=400&v=4" width="150px;" alt=""/><br /><sub><b>Kareem Mohamed^3</b></sub></a><br /></td> <td align="center"><a href="https://github.com/Mahboub99"><img src="https://avatars3.githubusercontent.com/u/43186742?s=460&v=4" width="150px;" alt=""/><br /><sub><b>Ahmed Mahboub</b></sub></a><br /></td> </tr> </table>

Licence

MIT Licence

View on GitHub
GitHub Stars142
CategoryEducation
Updated2mo ago
Forks21

Languages

Python

Security Score

100/100

Audited on Jan 6, 2026

No findings