OmrEngine
Overview
OmrEngine is a class in Aspose.OMR FOSS for Python.
The OMR engine: a stateless factory producing generation results and
recognizers.
This class declares 3 methods for OmrEngine objects in Python programs.
Available methods include: Generate, GetTemplateProcessor, __init__.
Public members are accessible to any Python application after installing the Aspose.OMR FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__() | Create a stateless engine. |
Generate(source: typing.Any, settings: typing.Any, third: typing.Any, fourth: typing.Any) → GenerationResult | Build a template -> GenerationResult (dispatches on the source type: |
markup file path, markup ``list[str]`` lines, markup stream, or a
``TemplateConfig``). |
| GetTemplateProcessor(templateSource: typing.Any, arg2: typing.Any, arg3: typing.Any) → "TemplateProcessor" | Load a .omr template (path str or memory stream) and return a
``TemplateProcessor`` bound to it. |