Giter Club home page Giter Club logo

mask-omr's Introduction

This repository includes work on Instance Segmentation in OMR, namely utilising Mask R-CNNs.

We mainly use our own dataset DoReMi to train and test but also make use of MUSCIMA++ dataset and COCO and Imagenet weights.

Given the structure of DoReMi we need to do some pre-processing on the datasetructure, but also filtering based on the task.

Here is a guide on the tasks that are done to bring DoReMi to a TF record fit for Mask R-CNN.

Prettify files and clean filenames

python /data/home/acw507/mask-OMR/scripts/parsing_xml.py

or alternatively you can use the already parsed files in /data/scratch/acw507/DoReMi_v1/Parsed_by_page_omr_xml

## There is some error when data is generated and stafflines are double generated, which is why we need to clean the doubles using:

python /data/home/acw507/mask-OMR/scripts/clean_double_stafflines.py

no need to do these if using the parsed files /data/scratch/acw507/DoReMi_v1/Parsed_by_page_omr_xml

To make sure we have the right images and the matching XMLs we run:

python mask-OMR/scripts/match_xml_png.py

Create classnames CSV

python mask-OMR/scripts/generate_class_csv.py

Create json mapping

python /data/home/acw507/mask-OMR/scripts/create_mappings.py

Create annotations:

python /data/home/acw507/mask-OMR/scripts/create_annotations.py

mask-omr's People

Contributors

elonashatri avatar

Watchers

 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.