GithubHelp home page GithubHelp logo

jeevantk / omr Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 15.54 MB

An implementation of Optical Music Recognition

License: Other

Makefile 0.05% C++ 99.50% CMake 0.24% C 0.20% MATLAB 0.01% Python 0.01%

omr's Introduction

omr

Its under devolopment only.Now I have used tesseract for detection and removal of text in the sheet music and have detected the bar-lines inside a stave

alt tag

An implementation of Optical Music Recognition

#Installation instructions

dependencies for opencv

sudo apt-get install build-essential

sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev

sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

cd ~

git clone https://github.com/Itseez/opencv

cd opencv

mkdir build

cd build

there are many other flags which can be given for cmake.Check opencv build instructions for those

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -DINSTALL_CREATE_DISTRIB=ON -DWITH_QT=ON ..

Use -j(%number of processosors for optimisation)

make -j4

sudo make install

installing Tesseract

sudo apt-get install tesseract-ocr

sudo apt-get install tesseract-ocr-eng

An implementattion of tesseract is there in OpenCV contrib Modules.SI have used that module.So Opencv contrib is required

cd ~

git clone https://github.com/Itseez/opencv_contrib.git

now copy this folder to opencv/build

change directory into opencv build folder

the exact name may vary depending on your folder name

cmake -DOPENCV_EXTRA_MODULES_PATH= opencv_contrib/modules -DBUILD_opencv_legacy=OFF ..

make -j4

sudo make install

If you get no errors then you are good to go

compile the program by using the make file

omr's People

Contributors

jeevantk avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.