com.aspose.omr

Class RecognitionResult



  • public class RecognitionResult
    extends Object

    The result of the image recognition. Contains all OMR elements with detailed recognition information and methods for results export.

    • Method Detail

      • getImagePath

        public final String getImagePath()

        Gets or sets the path to the processed image

        Returns:
        path to the processed image
      • setImagePath

        public final void setImagePath(String value)

        Gets or sets the path to the processed image

        Parameters:
        value - path to the processed image
      • getTemplateName

        public final String getTemplateName()

        Gets or sets the OMR template name

        Returns:
        OMR template name
      • setTemplateName

        public final void setTemplateName(String value)

        Gets or sets the OMR template name

        Parameters:
        value - OMR template name
      • getOmrElements

        public final List<IOmrElement> getOmrElements()

        Gets or sets the list of OMR elements on page

      • setOmrElements

        public final void setOmrElements(List<IOmrElement> value)

        Gets or sets the list of OMR elements on page

      • getCsv

        public final String getCsv()

        Form CSV string with recognition results

        Returns:
        Recognition results as CSV string
      • getJson

        public final String getJson()

        Form JSON string with recognition results

        Returns:
        Recognition results as JSON string