Aspose.OMR.Handwriting 24.7.0

dotnet add package Aspose.OMR.Handwriting --version 24.7.0                
NuGet\Install-Package Aspose.OMR.Handwriting -Version 24.7.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.OMR.Handwriting" Version="24.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.OMR.Handwriting --version 24.7.0                
#r "nuget: Aspose.OMR.Handwriting, 24.7.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.OMR.Handwriting as a Cake Addin
#addin nuget:?package=Aspose.OMR.Handwriting&version=24.7.0

// Install Aspose.OMR.Handwriting as a Cake Tool
#tool nuget:?package=Aspose.OMR.Handwriting&version=24.7.0                

Handwritten input recognition API for Aspose.OMR for .NET

Version 24.7 Downloads

Overview | Documentation | Online apps | Blog | Free support | Temporary license

This extension to Aspose.OMR for .NET adds support for handwritten text input to machine-readable OMR forms. Free-form text text recognition allows to create more dynamic and adaptive forms that can capture a wide range of responses without the need for an exhaustive list of predefined answers.

The package requires Aspose.OMR for .NET library to function properly.

Please note: At the moment, the library only supports Latin letters (A-Z) and Western Arabic numerals (0-9).

API overview

Aspose.OMR for .NET Handwriting Reader extends any answer sheets, surveys, applications, ballots, and other machine-readable forms with free-text input elements and optical character recognition (OCR/ICR) of handwritten user input. While the handwritten text recognition might not be as accurate as standard optical mark recognition, it is more intuitive, user-friendly, and versatile in a number of applications:

  • Creating more compact and space-efficient forms, making efficient use of limited page space.
  • Rapidly creating surveys and quizzes without the need for extensive categorization of information into predefined choices.
  • Appealing to a broader audience, by allowing respondents to write their answers rather than selecting close-ended options.
  • Automatically digitizing free-form responses into machine-readable text without the need for additional OCR libraries.

Markup languages

Aspose.OMR for .NET offers several ways to design OMR forms of any layout and complexity. They all work equally well and produce the same results - just choose the approach that you are most comfortable with.

Supported file formats

Handwritten input recognition API for Aspose.OMR for .NET can generate machine-readable forms in all popular formats. The format is intellectually selected based on the provided extension:

  • PDF
  • JPEG
  • PNG
  • TIFF
  • GIF
  • BMP

The library can read just about any image that you get from a scanner or camera:

  • PDF
  • JPEG
  • PNG
  • TIFF
  • GIF
  • BMP

Recognition results are returned in the most popular document and data exchange formats:

  • JSON
  • XML
  • Comma-separated values (CSV)

Get started

To incorporate handwritten support functionality into Aspose.OMR for .NET engine, use Aspose.OMR.Api.OmrEngine.AddPlugin() method:

Aspose.OMR.Api.OmrEngine omrEngine = new Aspose.OMR.Api.OmrEngine();
engine.AddPlugin(new HandwritingPlugin());

Adding free-text input element to the page

Use the text_input markup element. You can combine it with any other existing Aspose.OMR elements to design machine-readable forms of any layout and complexity.

?text_input=Year
	length=4
	input_type=numbers
	cell_size=large

Reading completed forms

  1. Scan or take a photo of the filled form (the entire sheet with all crop marks) and save the file to your computer.
  2. Copy the previously generated recognition pattern into your project.
  3. Use the following code to recognize marks and handwritten characters:
using System;

namespace HelloOMR
{
	internal class Program
	{
		static void Main(string[] args)
		{
			Aspose.OMR.Api.OmrEngine omrEngine = new Aspose.OMR.Api.OmrEngine();
			Aspose.OMR.Api.TemplateProcessor templateProcessor = omrEngine.GetTemplateProcessor("pattern.omr");
			Aspose.OMR.Model.RecognitionResult recognitionResult = templateProcessor.Recognize("form.jpg");
			string result = recognitionResult.GetCsv();
			Console.WriteLine(result);
			Console.ReadLine();
		}
	}
}

Now run the program. You should see results of the recognition in the console output:

Element Name,Value,
Year,"2024"

Learn more

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.7.0 276 7/12/2024
24.4.0 274 4/25/2024
24.2.0 570 2/1/2024