Reliable .NET API for Optical Mark Recognition

Streamline the process of recognizing, reading, and extracting human-marked OMR data from surveys, forms, answer sheets, scanned photos, and more with the Aspose OMR API for .NET. Create various forms and do much more within your .NET apps.

Download Free TrialView All APIs

Explore The Power of Optical Mark Recognition in .NET

Aspose.OMR for .NET is an accurate and reliable optical mark recognition API, enabling developers to build high-performance solutions to read, recognize, and extract OMR data. It allows programmatically capturing data from different forms, questionnaires, examination sheets, SATs, financial applications, and more. With this API, users can seamlessly read data from scanned photos, images, or documents in PDF, PNG, JPEG, BMP, TIFF, and GIF formats and export the processed data to CSV, XML, and JSON. It supports reading data from the images captured with your smartphone camera. The .NET API offers immaculate, high-accuracy recognition, reads and adjusts skewed or rotated images, recognizes human-made marks added with pencils or pens, supports decoding barcodes or QR codes, and processes customized forms and write-in fields.

The .NET API for optical mark recognition helps developers create various forms using markup languages by combining the supported content or layout elements. It also recognizes data from the custom-made forms within the .NET OMR solutions. Users can inject desired personalization into the forms by adding custom branding, images, barcodes, and QR codes. It supports popular page sizes and multi-page form recognition and does not require a graphic editor or any specialized equipment or hardware to function. Aspose.OMR for .NET is a comprehensive OMR API that enables users to proficiently integrate optical mark data recognition and extraction features into their desktop apps and Windows or Web services.

Getting Started

The following information will help you conveniently set up the optical mark recognition API for .NET at your end. The System Requirements page provides information about the prerequisites for ensuring your system meets the recommended settings, so please visit the page before moving forward with setting up the API.

Aspose.OMR for .NET Installation

Please visit the downloads section of Aspose.OMR for .NET to download the MSI installer or the DLLs to install it. Or, you can use the NuGet package to install the .NET OMR library from the Visual Studio package manager consoles with the following command:

PM > Install-Package Aspose.OMR

Create Survey Forms using JSON Markup and Extract OMR Data from Images in .NET

Aspose.OMR for .NET includes a specialized set of features allowing developers to generate various forms, questionnaires, surveys, and exam and answer sheets. It is possible to create survey forms with the help of JSON markup in C# and extract data from such forms. If you are looking to extract OMR data from different image file formats, the .NET OMR API can help you achieve that easily. You can capture OMR data from scanned images or photos taken with your smartphone.

Create a Survey Form with JSON Markup

Surveys are a great way to collect, analyze, and process in-depth data and information from a selective group of people. They help you understand the shortcomings in your products or services and improve them based on the feedback received. The .NET OMR API enables you to create survey forms using JSON markup in C# .NET and use them as required, as shown in the following code example.

  • Create an OmrEngine class instance.
  • With the JSON markup file path as an argument, call the GenerateJSONTemplate method.
  • Get results as a GenerationResult class object.
  • Use the Save method to save survey template images and the OMR template.
  • Add the local directory path and the name of the template as method arguments.
// This coding example shows how to generate a Survey image and OMR from JSON markup.
// Path to the JSON file with Template Markup
string markupPath = @"D:\Files\OMR_Surveys\SimpleSurvey.json";

// Initialize OMR engine
OmrEngine engine = new OmrEngine();

// Generate Template
GenerationResult res = engine.GenerateJSONTemplate(markupPath);

// Save to the local disk
res.Save(@"D:\Files\OMR_Surveys\", "SimpleSurvey");


Learn to Extract OMR Data from Images

Performing OMR on images to extract information is a common requirement for developers working with optical mark recognition solutions. The .NET OMR library supports extracting data from raster images using C#, including JPEG, PNG, GIF, BMP, and TIFF. In the following C# coding example, we can learn to recognize and extract OMR data from a JPEG image.

// OMR Template file path
string templatePath = @"E:\Files\OMR_Templates\Sheet.omr";

// Image file path
string imagePath = @"E:\Files\OMR_Images\Sheet1.jpg";

// Initialize OMR Engine
OmrEngine engine = new OmrEngine();

// Get template processor
TemplateProcessor templateProcessor = engine.GetTemplateProcessor(templatePath);

// Recognize image
RecognitionResult result = templateProcessor.RecognizeImage(imagePath);

// Get results in CSV
string csvResult = result.GetCsv();

// Save CSV file
File.WriteAllText(@"E:\Files\OMR_OutPut\Sheet1.csv", csvResult);


More sample applications are available on the GitHub page of the Aspose.OMR for .NET API. We provide cross-platform Free Online Image OMR Apps to scan, recognize, and create answer sheets on the fly. Please be sure to check out the free OMR apps.

Read, Analyze, and Recognize OMR Data Independently in .NET

Aspose.OMR for .NET is a standalone library that ensures developers can recognize and extract OMR data from different files without any dependencies on specialized hardware or equipment. This library provides numerous possibilities for .NET developers to capture and manage human-marked OMR data with impeccable accuracy by relying only on software-based solutions, excluding any dependency on dedicated, expensive hardware. Users can seamlessly recognize OMR data from skewed or rotated images to obtain accurate results. The .NET OMR library is a one-stop solution to all your problems related to reading, analyzing, and processing optical mark recognition data across multiple .NET frameworks and development environments.

FAQ

1. How can I perform OMR on files on the .NET platform?

Performing optical mark recognition on PDF and image files in .NET is quick and easy using the OMR API for .NET. It helps you seamlessly read, recognize, and process OMR data from PDF, JPEG, PNG, TIFF, GIF, and BMP files.

2. How accurate is the .NET OMR library in recognizing and extracting human-marked data from scanned images and documents?

The OMR library delivers high-accuracy recognition and extraction results and it can process skewed images and photos taken by your smartphone cameras along with the scanned images of different types.

3. Can I also create feedback forms, answer sheets, surveys, and other similar types of files using the .NET API?

Yes, in addition to the optical data recognition capabilities, the .NET OMR API offers the ability to programmatically generate many kinds of forms, answer and examination sheets, surveys, questionnaires, and more.

4. Can I recognize human-marked OMR data on different operating systems?

Yes, the OMR library for .NET works across different OS, frameworks, and operating environments. You can use it on the platform of your choice & it does not require any additional software installation to function.

Looking for help?

Checkout our support channels for help with your questions related to Aspose product API features and working.

Ready to get started?

Download Free Trial View All APIs