com.aspose.omr

Class OmrProcessingResult



  • public class OmrProcessingResult
    extends Object

    Represent a result of data extraction from an OMR sheet


     
     OmrImage image = OmrImage.load("image.png"); // image path
     OmrTemplate template = OmrTemplate.load("template.amr"); // template path
     OmrEngine engine = new OmrEngine(template);
     OmrProcessingResult result = engine.extractData(new OmrImage[] { image });
     // Gets the page data collection of the processed document
     StringDictionary dictionary = result.getPageData()[0];
     

    • Constructor Detail

      • OmrProcessingResult

        public OmrProcessingResult(Hashtable[] pageData)

        Initializes a new instance of the OmrProcessingResult class.

        Parameters:
        pageData - The page data.
    • Method Detail

      • getPageData

        public Hashtable[] getPageData()

        Gets the page data collection of the processed document