TemplateProcessor

TemplateProcessor

Overview

TemplateProcessor is a class in Aspose.OMR FOSS for Python.

Processes OMR images against the template it was created from.

This class declares 4 methods for TemplateProcessor objects in Python programs. Available methods include: Recalculate, Recognize, RecognizeFolder, __init__. Public members are accessible to any Python application after installing the Aspose.OMR FOSS for Python package. Properties: ApplyLightShadeProcessing.

Properties

NameTypeAccessDescription
ApplyLightShadeProcessingboolReadGets the apply light shade processing.

Methods

SignatureDescription
__init__(descriptor: dict, logic: FormValidationLogic)Calls init(descriptor, logic) on this TemplateProcessor instance.
Recognize(source: typing.Any, recognitionThreshold: int)Recognize one scanned form -> RecognitionResult.
RecognizeFolder(folderPath: str, recognitionThreshold: int) → listRecognize every supported image in a folder, each as an INDEPENDENT form.
Recalculate(result, recognitionThreshold: int)Re-score a prior RecognitionResult at a new threshold, in place,
    WITHOUT re-reading pixels (uses the cached per-bubble fill ratios). |

See Also