LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Split Scans on Blank Page or Patch Codes for Wia
#1
Posted
:
Monday, January 22, 2018 10:32:12 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 199
Was thanked: 28 time(s) in 28 post(s)
Attached is a sample C# project that uses the Leadtools.Wia NuGet from LEADTOOLS. This project uses the WiaSession to acquire pages from a WIA version 1.0 compliant device (you can configure the project to use version 2.0) using the Acquire method and AcquireEvent callback (which intercepts each separate page scanned and handles the image). In order to use the callback to intercept the pages, the project first configures the properties of the scanner to transfer a RawRgb image over Memory rather than a file (which is default). Once it acquires a page, it uses the BlankPageDetectorCommand to determine if the page is blank, then uses the BarcodeReader’s ReadBarcodes method (searching only for the PatchCode BarcodeSymbology). If the page isn’t a separator, it uses the RasterCodecs to append the pages to a TIFF using the Append CodecsSavePageMode.
Edited by moderator Thursday, December 6, 2018 12:48:41 PM(UTC)
| Reason: Not specified
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Split Scans on Blank Page or Patch Codes for Wia
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.