LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Split Scans on Blank Page or Patch Codes for Twain
#1
Posted
:
Monday, January 22, 2018 10:31:41 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.Twain NuGet from LEADTOOLS. This project uses the TwainSession to acquire pages from a TWAIN compliant device using the Acquire method and AcquirePage callback (which intercepts each separate page scanned and handles the image). 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:47:33 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 Twain
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.