HelpBot Assistant

How can I help you?

Welcome to Syncfusion Smart Form Recognizer Library

18 Mar 20261 minute to read

Smart Form Recognizer is a deterministic, on premise C# library for .NET designed to reliably detect form data from PDFs and scanned images. Unlike AI‑based approaches, this library uses visual layout heuristics including lines, boxes, and circular markers to identify form structures with high consistency and predictability.It supports to identify the common form controls such as text fields, checkboxes, radio buttons, and signature regions, producing clean, structured JSON that can be fed directly into review and workflow systems.

Core Capabilities

  • Form layout detection: Locate form regions using graphical heuristics (lines, boxes, circles) for consistent field discovery.

  • Fillable PDF export: Create a PDF with detected form fields added so documents are immediately usable in form workflows.

  • Page-level control: Process specific pages or page ranges for targeted extraction.

  • Multi-format support: Works with PDF, JPEG, PNG and other common image formats.

  • Confidence filtering: Per-field confidence scores with configurable thresholds to control output quality and drive review logic.

  • Ready for .NET integration: Deterministic, on premise library that outputs JSON and integrates into existing .NET pipelines and review UIs.

NuGet

Platform(s) NuGet Package
Windows Forms

[Syncfusion.SmartFormRecognizer.WinForms.nupkg]

WPF

[Syncfusion.SmartFormRecognizer.WPF.nupkg]

Blazor, .NET Core and .NET Platforms

[Syncfusion.SmartFormRecognizer.NET.nupkg]

[Syncfusion.SmartFormRecognizer.Net.Core.nupkg]

ASP.NET MVC5

[Syncfusion.SmartFormRecognizer.AspNet.MVC5.nupkg]

NOTE

The above mentioned NuGet packages are available in nuget.org.

The following code snippet illustrates how to detects form data from PDFs using FormRecognizer method in SmartFormRecognizer.

//Initialize the Form Recognizer
FormRecognizer smartFormRecognizer = new FormRecognizer();
//Read the input PDF file as stream
FileStream inputStream = new FileStream("Input.pdf", FileMode.Open, FileAccess.ReadWrite);
//Recognize the form and get the output as PDF stream
PdfLoadedDocument pdfLoadedDocument = smartFormRecognizer.RecognizeFormAsPdfDocument(inputStream);
//Save the loadeddocument
pdfLoadedDocument.Save(Output.pdf);