Você está na página 1de 3

OPTICAL MUSIC RECOGNITION USING RGB

(OMR-RGB) USER’S MANUAL 2. Open any Sheet Music image by pressing


File  Open. Then browse for the directory where your
sheet music image is placed and press OK.
DESCRIPTION
Optical Music Recognition Using RGB (OMR-RGB) is a software
used to demonstrate the use of colors in identifying notes on the
G-Clef Staves of Musical Score Sheets’ images.

Its main interface was made using Visual Basic 6.0 while its
engine runs from executable files or applications created using
C++ and the imagelab libraries.

HARDWARE REQUIREMENTS
For best results, Operating System must be Microsoft Windows
XP/Vista with at least 2.80GHz, 1.00 GB of RAM. Using
machines with lesser hardware specifications could lead to
abnormal program termination and weird results.

INPUT IMAGES
1. Input Sheet Music images must be in .jpeg/.jpg
format, at 24-bit depth resolution.
2. Image size must be preferably less than or equal to
2000 pixels wide to avoid errors. Figure 3. Openning sheet music images.
3. It is highly advised to reduce images larger than
2000 pixels wide beforehand to avoid Reading errors. 3. When image is loaded, find staff lines by:
Operation  Find Staves.
INSTALLATION
Run installer_OMR_1.0.8a.exe or extract the contents of
OMR_1.0.8a.zip anywhere on your hard drive. After extraction,
the following files will be present in your installation directory:

*Skewed Input Images


If the input image is skewed, the Correct Skew form
will attempt to correct the skew. Load image and in
Skew Alignment, specify if the Sheet Music’s skew is
leaning towards the Left or the Right. Press start and
the image will be rotated until the Skew is corrected.
Staff Selection form will appear after Skew Correction
is finished.

Figure 1. Installation files.

USAGE GUIDE
1. Double-click OMR-RGB.exe in your installation
directory to start the main interface.

Figure 4. The Correct Skew Form.


Figure 2. The OMR-RGB interface.
Read will process the selected staves one staff at a
time. The current Staff processed for reading will
appear and its letter-converted notes’ summary will be
displayed on the Right panel window. A message will
be displayed after all Staves have been successfully
read.

Figure 5. Found staff lines.

*Straight/Unskewed Input Images


If the image is not skewed (or after the Skew
Correction has finished), pressing Operation 
Find Staves will show the Staff Selection form.
Select Staves to be read from the Sheet Music by Figure 8.Selected staff/s have finished Reading.
checking the Staff no. at the right panel
corresponding to the chosen Staff/s. Selected *Depending on the nature of your hardware
Staves will be highlighted in green. specifications or input image resolution, some staves
may not be read and an error message will appear. If
*Selected F-Clef Staves will be read as G-Clef this is the case, use a machine that follows the
Staves. minimum hardware specifications of OMR-RGB or
resize your input image.
Clicking OK will load and prepare the selected
Staff/s for Letter-conversion.
5. With the View Staff enabled, clicking on any read
Staff from the window (Click here to View Staff #) will
show the selected Staff in its actual, unscaled size.
Horizontal and vertical scrollbars will be enabled if the
staff’s size is greater than the viewing window.

Figure 6. Selected staves.

4. After a Staff or Staves have been selected, start the


notes-to-letters conversion by pressing Operation  Figure 9.Selected staff (View, selected) and output letter-
Read. conversions.

With the Play Staff enabled, the selected Staff’s scaled


preview will be displayed. Play buttons on the right will
traverse the Staff and display identified notes and their
letter-conversions. The staff’s image computations and
other relevant images will also be available for viewing
on the Preprocessing and Output
Images.

Figure 7.Starr Reading process. Figure 10. Selected staff (Play Staff, selected).
6. The output Letter-notations on the right-side panel
could be saved in a text file. Press File  Save and
browse for the folder where the conversions will be
saved. Saving the current Sheet Music’s Letter
Conversions will save all text on the right-side panel
plus the name and image-path per staff image into a
text file.

Figure 11. Saving the letter-conversions into a text file.

7. The input Sheet Music Image’s Horizontal Projection


and Binarized version could be viewed on the View
Tab.

Você também pode gostar