1. Products
  2.   OMR
  3.   .NET
  4.   OMRMarkEngine
 
  

Perform OMR Operations on Photos & Documents via Free .NET API

Open Source C# .NET Library for Integrating OMR Capabilities into C# Applications. It can be Used to Recognize & Extract Data from Scanned Images or Documents with ease.

What is OMRMarkEngine?

In modern software development, developers constantly seek tools that simplify complex tasks. OMRMarkEngine, an open-source .NET OMR Library, is a standout solution for projects requiring .NET Optical Mark Recognition. Ideal for handling surveys, tests, and evaluation forms, this powerful C# OMR API processes and analyzes scanned images with marked areas. Whether you're aiming to recognize text from images or perform mark detection in photos and documents, OMRMarkEngine offers the precision and flexibility needed to develop OMR apps efficiently.

Created by the team at MohawkMEDIC and available on GitHub, OMRMarkEngine is built specifically for C# developers. It features a well-documented API, making it easy to integrate into .NET projects and reducing the learning curve for working with OMR SDK for .NET. Its key strengths include accurate mark detection, support for various document types, and a strong community backing. This free OMR library is an excellent choice for anyone looking to streamline .NET OMR software development, enabling smarter, faster data extraction from scanned forms and enhancing the automation of form-based workflows.

Previous Next

Getting Started with OMRMarkEngine

The recommend way to install OMRMarkEngine is using NuGet. Please use the following command for a smooth installation.

Install OMRMarkEngine via NuGet

 Install-Package Aspose.OMR
 

Install OMRMarkEngine via GitHub

 git clone https://github.com/MohawkMEDIC/omrmarkengine.git 

Accurate Mark Detection & Recognition via C# API

A key strength of the open source library OMRMarkEngine lies in its ability to accurately detect and interpret marked regions on scanned images. This is crucial in scenarios where precision is paramount, such as grading exams or analyzing survey responses. The library helps software developers to detect and recognize marked regions with just a couple of lines of C# code. It fully supports multi-page documents, making it suitable for projects involving large volumes of data. Its efficient handling of multiple pages ensures that developers can scale their applications without sacrificing performance. The following example shows how software developers can load and recognize Mark inside C# applications.

How to Perform Mark Detection and Recognition via C# .NET API?

using OMRMarkEngine;
using OMRMarkEngine.Core;

class Program
{
    static void Main()
    {
        // Initialize the OMRMarkEngine
        var omrEngine = new OMRMarkEngine();
        
        // Your code goes here
    }
}
// Load the image
var imagePath = "path/to/your/image.jpg";
omrEngine.LoadImage(imagePath);

// Configure the engine
omrEngine.Config.MarkThickness = 2;
omrEngine.Config.SpacingTolerance = 5;
// Add more configurations as needed

// Define mark regions
omrEngine.AddMarkRegion(new MarkRegion(50, 100, 200, 150)); // Example coordinates

// Process the marked form
omrEngine.Process();

// Extract results
var results = omrEngine.GetResults();

// Display results
foreach (var result in results)
{
    Console.WriteLine($"Mark at coordinates ({result.X}, {result.Y}) detected. Value: {result.Value}");
}

Customization & Easy Integration

One of the OMRMarkEngine library's strengths lies in its flexibility and integration to other .NET applications. Software developers can customize the configuration to adapt the engine to specific requirements. This includes adjusting parameters such as mark thickness, spacing, and alignment to achieve optimal results. The library is designed with ease of integration in mind. The library seamlessly integrates into C# projects, allowing developers to incorporate OMR functionality without the steep learning curve often associated with such specialized tools.