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.

In the dynamic landscape of software development, tools and libraries that simplify complex tasks are highly sought after. One such gem in the realm of Optical Mark Recognition (OMR) is the OMRMarkEngine C# Library. This open-source library has garnered attention for its capabilities in processing and analyzing scanned images containing marked regions, making it a valuable asset for developers working on applications involving survey forms, exams, and assessments.

The OMRMarkEngine is an open-source library hosted on GitHub, developed by the talented team at MohawkMEDIC. This library is crafted specifically for C# developers, providing a robust set of tools to handle optical mark recognition tasks efficiently. Whether you're working on a survey application, an examination system, or any project involving the interpretation of marked forms, it simplifies the process. The library stands out for its seamless integration into C# projects. The library's well-documented API makes it easy for software developers to understand and implement, reducing the learning curve associated with OMR technology.

OMRMarkEngine emerges as a powerful tool that simplifies the integration of OMR capabilities into C# applications. Its ease of use, accuracy in mark detection, and robust community support position it as a valuable asset for software developers seeking to implement OMR functionality in their projects. As the library continues to evolve, it is poised to play a significant role in the advancement of applications involving optical mark recognition. Explore the possibilities, harness the power of optical mark recognition, and elevate your projects with OMRMarkEngine.

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";

// 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

// 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.