Tag: dotnet
-
The Dynamsoft Capture Vision Bundle is a single NuGet package that bundles three powerful vision capabilities: Dynamsoft Barcode Reader (DBR), Dynamsoft Document Normalizer (DDN), and Dynamsoft Label Recognizer (DLR) with MRZ parsing support. All capabilities are exposed through a single unified CaptureVisionRouter API. In this tutorial, we will build a...
-
Building desktop applications that interact with hardware devices like scanners and cameras has traditionally been challenging, often requiring platform-specific driver installations, complex configuration, and dealing with vendor-specific SDKs. Modern .NET development, however, provides us with powerful frameworks and libraries that simplify these interactions significantly. In this comprehensive tutorial, we’ll walk...
-
The Dynamic Web TWAIN service is the local bridge between browser applications and scanners. The first time a user visits a web scanning app built with Dynamic Web TWAIN, they’re prompted to install this service so scanning can work. In some scenarios, you may want tighter control: ship the service...
-
In today’s digital workplace, document scanning and text recognition are vital capabilities for many business applications. In this tutorial, you’ll learn how to build a Windows document scanner application with Optical Character Recognition (OCR) using: .NET 8 C# Dynamic Web TWAIN REST API Windows.Media.Ocr API (Windows built-in OCR engine) By...
-
Barcode generators are essential tools in various scenarios. A typical use case is testing barcode reader and scanner SDKs. In this tutorial, we’ll build a Windows Forms application that can both generate and read barcodes using two popular .NET Barcode SDKs: ZXing.NET and Dynamsoft Barcode Reader. ZXing.NET offers both barcode...
-
A Vehicle Identification Number (VIN) scanner application is a useful tool for car owners and car manufacturers, enabling quick retrieval of a vehicle’s unique identifier. In this tutorial, we’ll walk through creating a cross-platform VIN scanner using .NET MAUI and Dynamsoft Capture Vision, covering setup, UI implementation, and VIN recognition...
-
Starting from .NET 9, there is a new HybridWebView control in MAUI which makes it easy to host arbitrary HTML/JS/CSS content in a web view, and enables communication between the code in the web view (JavaScript) and the code that hosts the web view (C#/.NET). In this article, we are...
-
Document digitization is a common task across various industries. Many documents—such as exam papers, legal contracts, patient records, account statements and more—contain barcodes that store crucial information. In this article, we will demonstrate how to build a .NET MAUI Windows app to digitize documents using traditional scanners (HP, Canon, Epson,...
-
Machine Readable Zones (MRZ) are vital components of passports, visas, and other identification documents. Typically located at the bottom of a document’s front page, MRZs contain essential information such as the document type, holder’s name, issuing country, and expiration date. In today’s digital landscape, MRZ recognition is an invaluable tool...
-
In .NET MAUI development, both BlazorWebView and WebView are used to display web content, but they serve different purposes and are designed for different scenarios. The BlazorWebView is specifically designed to host Blazor components in a .NET MAUI application, allowing you to reuse Blazor components and share code between web...
-
Last week, we developed a desktop document scanner application using .NET MAUI and the Dynamic Web TWAIN REST API. We encountered an issue where the app’s UI, constructed with MAUI controls, behaved inconsistently on Windows and macOS. For instance, the Picker control functioned well on Windows but not on macOS....
-
Dynamsoft used to offer both the .NET TWAIN SDK and the Dynamic Web TWAIN SDK. However, the .NET TWAIN SDK is no longer maintained, and the focus has shifted to the web-based Dynamic Web TWAIN SDK. Despite this shift, you can still build a desktop document scanner application in .NET...
-
In today’s fast-paced digital world, the ability to quickly and accurately capture data is paramount. Barcode scanning has emerged as a reliable and efficient solution for automating data entry across various applications. This tutorial explores webcam barcode reading on Windows, demonstrating how to build a powerful barcode detection application using...
-
ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-enabled, Internet-connected apps. It is convenient to use it to build web APIs and web apps. In this article, we are going build an ASP.NET app to crop document images. It mainly provides the following API: /api/document/detect: upload an...
-
ASP.NET Core enables C# server-side applications to run on Windows, Linux, and macOS. In this tutorial, we will go through the steps of building a web document scanning application with ASP.NET Core and Dynamic Web TWAIN SDK. What you’ll build: A cross-platform web document scanning application using ASP.NET Core MVC...
-
The Capture.Vision.Maui NuGet package aims to equip developers with a .NET MAUI library, featuring a camera view and various image processing functions. This library streamlines the development of .NET MAUI applications across multiple platforms, including Windows, Android, and iOS. Previously, we introduced barcode scanning capabilities within the .NET MAUI library....
-
In our previous article, we mentioned how to create a Web Barcode Scanner using RazorBarcodeLibrary. The library is built on top of the Dynamsoft JavaScript Barcode SDK, which encapsulates the camera access and barcode reading logic in JavaScript. In fact, Dynamsoft also provides an independent JavaScript camera library, named Dynamsoft...
-
Using the Dynamic Web TWAIN Service RESTful API significantly simplifies the creation of document scanning applications. However, distributing these as desktop applications can be somewhat challenging. Users are required to install both the developer’s application and the Dynamic Web TWAIN Service. Bundling them together in a single installation package would...
-
Last week, we developed a RESTful service using .NET C# and Twain.Wia.Sane.Scanner library to scan documents from TWAIN, WIA, SANE, and eSCL scanners. This week, we will repurpose the C# code to construct a Blazor WebAssembly application that digitizes documents directly from a web browser, all without the need for...
-
RESTful service can be accessed from anywhere with an internet connection, irrespective of platform or device. Deploying a commercial SDK as a RESTful service can simplify integration, improve accessibility, and provide better control over the deployment environment and usage. In this article, we’ll delve into how you can effortlessly integrate...
-
Having previously developed libraries for Node.js, Flutter, Java, and Python to integrate with Dynamic Web TWAIN Service’s REST API, we’re now turning our attention to .NET. In this article, we introduce a .NET library to interface with the REST API, facilitating document scanning from TWAIN, WIA, SANE, and eSCL compatible...
-
Web and mobile app development has drawn most of the attention in recent years, but desktop apps still play a critical role in our productivity. The Windows UI Library (WinUI) is a native user experience (UX) framework for both Windows desktop and UWP applications. It is Microsoft’s latest technology to...
-
This article aims to help C# developers to build desktop .NET MRZ (Machine Readable Zone) scanner applications with Dynamsoft C++ Label Recognizer SDK. We firstly build a .NET class library for detecting MRZ zone and extracting MRZ text from passport, ID card, and travel documents. Then we demonstrate how to...
-
Suppose you are a C# developer who wants to use Dynamsoft Document Normalizer to implement a desktop document scanner application. Since Dynamsoft Document Normalizer is a C/C++ library, you may encounter some interoperability issues when using it in your C# project. In this article, we will help you build a...
-
HTML5 is universally supported across all modern browsers — Chrome, Edge, Safari, Firefox, and Opera — on both desktop and mobile, as well as WebView components used in native Android and iOS apps. This cross-platform reach means a single ASP.NET web application can serve all users without maintaining separate native...
-
Since .NET 6 Preview 3, it is possible to host Blazor web applications in a WinForms/WPF app using the BlazorWebView control. Behind BlazorWebView is WebView2, which uses Microsoft Edge as the rendering engine to display the web content in native apps. Developers can now adopt a hybrid app approach, utilizing...
-
If you have a USB camera, how can you build a simple C# camera application on Windows 10? There are three options: WIA (Windows Imaging Acquisition), DirectShow and MediaCapture. After trying some sample code that downloaded from CodeProject and GitHub, I got the conclusion: 1. WIA is not good because...