1. Táirgí
  2.   OMR
  3.   .NET
  4.   Aspose.OMR for .NET

APIanna Formáid Comhad do .NET

 
 

API C# .NET Saor le hEaspon Sonraí trí Aithint Mharcanna Optúla

API OMR C# .NET Ardleibhéil le hAithint Mharcanna Optúla Cruinn & Iontaofa. Déan Feidhmchláir le haghaidh Dearadh, Rindreáil & Aithint Bileoga Freagra Lámha, Íomhánna, Doiciméid agus Tuilleadh.

What is Aspose.OMR for .NET?

Aspose.OMR for .NET is a powerful and flexible .NET OMR Library designed to streamline Optical Mark Recognition processes in C# and .NET environments. It enables developers to recognize and extract text from scanned documents, photos, and image files in formats like JPG, PNG, PDF, TIFF, BMP, and GIF. This makes it ideal for applications that require automated data collection from paper forms. The API retrieves marked answers, percentages, and other critical data, making it a valuable tool for analyzing exam sheets, surveys, and feedback forms efficiently.

Ideal for .NET software developers, this C# OMR API helps develop OMR apps without needing third-party software. Whether you’re building web apps, desktop tools, or cloud-based solutions, Aspose.OMR seamlessly integrates into any development environment. Its clean documentation and wide feature set make it perfect for creating custom .NET OMR software like exam grading systems or survey processors. For those seeking a free OMR library with scalable capabilities, this OMR SDK for .NET offers a reliable foundation for extracting and processing data from marked forms.

Previous Next
  Léitheoir
  • PDF, JPEG, PNG, TIFF, GIF, BMP
  Scríobh
  • TXT, CSV, JSON, XML

Neamhspleáchas Ardáin

Is féidir le Aspose.OMR do .NET oibriú le haon teanga cláir .NET.

.NET Framework 2.0 & Above. 
 

Ag Tosú le Aspose.OMR for .NET

Is é an bealach molta chun Aspose.OMR for .NET a shuiteáil ná úsáid a bhaint as NuGet. Úsáid an t-ordú seo a leanas le haghaidh suiteáil shlán.

Suiteáil Aspose.OMR for .NET trí Orduú NuGet

Install-Package Aspose.OMR

Is féidir leat an leabharlann a íoslódáil go díreach ón leathanach táirge Aspose.OMR for .NET.

Aithint OMR Chruinn trí API C#

Tá Aspose.OMR for .NET an-éasca le láimhseáil agus baintear úsáid as algairímí chunroime i bhfeidhm chun aitheantas OMR cruinn agus iontaofa a chinntiú laistigh de fheidhmchláir .NET. Cuimsíonn an API an cumas balaicí marcáilte, boscaí seiceála, agus greilleacha a aithint ar íomhánna nó ar dhoiciméid scanúnaigh le cúpla líne de chód. Tacaíonn an API le formáidí íomhánna éagsúla, lena n-áirítear JPEG, PNG, agus TIFF, rud a sholáthraíonn solúbthacht chun na doiciméid scanúnaigh a láimhseáil. Nuair atá an aithint críochnaithe, is féidir na torthaí a fháil ar ais agus a shábháil sna formáidí stórála sonraí is coitianta, lena n-áirítear CSV, XML nó JSON. Léiríonn an sampla seo a leanas conas is féidir le forbróirí bogearraí sonraí foirme a aithint ó shruth chuimhne laistigh de fheidhmchláir .NET.

Conas Sonraí a Aithint ó Shruth Cuimhne trí C# .NET?

// Load recognition pattern and form image
byte[] pattern = Encoding.UTF8.GetBytes(payload[0]);
byte[] form = Encoding.UTF8.GetBytes(payload[1]);
// Initialize recognition engine
Aspose.OMR.Api.OmrEngine omrEngine = new Aspose.OMR.Api.OmrEngine();
Aspose.OMR.Api.TemplateProcessor templateProcessor = null;
using(MemoryStream patternStream = new MemoryStream(pattern))
{
	templateProcessor = omrEngine.GetTemplateProcessor(patternStream, Encoding.UTF8);
}
// Recognize
Aspose.OMR.Model.RecognitionResult recognitionResult = null;
using(MemoryStream formStream = new MemoryStream(form))
{
recognitionResult = templateProcessor.Recognize(formStream);
}

Déan Aithint OMR Bulk Trí API .NET

Tá gá coitianta le h-aithint OMR i bhailc i gcásanna inar gá dul i ngleic le líon mór de fhoirmeacha a phróiseáil go héifeachtach. Soláthraíonn Aspose.OMR do .NET gnéithe agus feidhmiúlachtaí chun aithint OMR i bhailc a láimhseáil go réidh. Déanann an API lúb trí bhailiúchán na n-íomhánna agus déanann sé aithint OMR ar gach íomhá. Baineann sé sonraí ábhartha as na torthaí aithint, mar roghanna marcáilte, céatadáin, srl. Taispeánann an sampla thíos conas is féidir le forbhair innealtóireachta OMR i mbailc a chur i bhfeidhm ag baint úsáide as orduithe C# .NET.

Conas Aithint OMR I mbailc a Dhéanamh Trí API .NET?

using Aspose.Omr;

class Program
{
    static void Main()
    {
        // Load OMR template
        OmrEngine engine = new OmrEngine();
        OmrTemplate template = engine.TemplateProcessor.LoadTemplate("path/to/template.amr");

        // Configure recognition settings
        OmrRecognitionSettings settings = new OmrRecognitionSettings();
        settings.AdaptiveThreshold = true;

        // Process each image in bulk
        string[] imagePaths = { "path/to/image1.jpg", "path/to/image2.jpg", "path/to/image3.jpg" };

        foreach (string imagePath in imagePaths)
        {
            OmrResult result = engine.RecognizeImage(template, imagePath, settings);

            // Extract data from results
            foreach (OmrRecognitionBlock block in result.RecognitionBlocks)
            {
                foreach (OmrPage page in block.Pages)
                {
                    foreach (OmrQuestion question in page.Questions)
                    {
                        // Access question details, marked choices, etc.
                    }
                }
            }

            // Process the result as needed for each image
        }
    }
}

Dearadh Teimpléad Ilúsáideach & Ionsáiriú le hAipeanna .NET

Le Aspose.OMR do .NET, tá dearadh teimpléid OMR solúbtha agus cairdiúil don úsáideoir. Is féidir le forbróirí teimpléid a chruthú le cineálacha éagsúla ceisteanna, mar rogha iolrach, greille, agus téacs. Is féidir an teimpléid a shaincheapú chun leagan amach foirme ar leith a oiriúnú. Tacaíonn an API freisin le hionsáiriú gan uaim de chumas OMR i bhfeidhmchláir .NET. Cibé acu go bhfuil tú ag forbairt aip Ghréasáin, bogearra forleathan, nó réiteach cloud-based, oireann Aspose.OMR do .NET don timpeallacht forbartha atá agat. Ina theannta sin, soláthraíonn sé uirlisí d’anailís marcála chun cinn, lena n-áirítear roghanna atá marcáilte go páirteach a aithint, earráidí a láimhseáil, agus suímh a chumasú le haghaidh aithint oiriúnach.

 Gaeilge