Skip to main content

Training data synthesizer for OMR

Project description

Smashcima

A library and a framework for synthesizing images containing music, intended for use as training data for OMR models.

A tutorial

Note: The tool is under development and does not yet have a fixed public API. The tutorial is being developed and from it the whole tool is being built top-down.

To quickly learn how to start using Smashcima for your project, start with the tutorial.

Smashcima Tutorial

How it works

Smashcima is not really a single tool, but more like a framework. To fully learn how to leverage its abilities, start by reading its documentation:

Smashcima Documentation - Introduction

After cloning

Create a virtual environment and install dependencies:

python3 -m venv .venv
.venv/bin/pip3 install -e .

# to run jupyter notebooks:
.venv/bin/pip3 install -e .[jupyter]

Publishing new version to PyPI

Production PyPI at: https://pypi.org/

Testing PyPI at: https://test.pypi.org/

  1. Update the version in smashcima/__init__.py.
  2. Build the package make build.
  3. Upload to PyPI make push-prod or TestPyPI make push-test.
  4. When asked, use __token__ for username and paste in the access token for the password (with the pypi- prefix).
  5. Check the version has been uploaded and try its installation.
  6. Submit the version commit and create a release on GitHub.

Note: Don't forget keeping the version at X.Y.Zdev when developing version X.Y.Z. See the smashcima/__init__.py file.

Note: to install from the test pypi, use: pip3 install --index-url https://test.pypi.org/simple/ --no-deps smashcima. More info here.

Packaging and development notes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smashcima-0.1.0.tar.gz (65.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smashcima-0.1.0-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

Details for the file smashcima-0.1.0.tar.gz.

File metadata

  • Download URL: smashcima-0.1.0.tar.gz
  • Upload date:
  • Size: 65.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for smashcima-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc676b6fc8531ebbd5b7bb506d803977c713081e040b06b3090b8903b6039aec
MD5 832645b3e99626ee598fb30862e71890
BLAKE2b-256 18f0504366f3f400f7d404d72fc14310f6dc211d6356dd34f4a5f9f0b613c3eb

See more details on using hashes here.

File details

Details for the file smashcima-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: smashcima-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 102.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for smashcima-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 875fb2b5acefbe161fbff0a60cb4b114ee921c009355870b6ac7d03330ba82e9
MD5 413e8b45566257aa71b0b5c5ffbb67a6
BLAKE2b-256 be6dd3580a2cd79ac10f524c281b3e7ffcfba47eac1615bc998ddd4b141a680c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page