Blank Page Detection
Posted: Mon Dec 14, 2015 8:24 pm
Hello,
We are receiving many false positives with the IsBlank() function (no matter what confidence level we use) so we are now trying to use the scanner's built-in support for blank page detection. Unfortunately, we can not get that to work either. Here is our code:
TwainGetState() is returning TWAIN_SOURCE_OPEN. TwainIsAutomaticDiscardBlankPagesAvailable() is returning false even though the scanner, a Panasonic KV-S5076H, does support blank page detection. We have proven this by selecting/testing the option in Panasonic's Image Capture Plus software.
Any ideas/help would be appreciated!
Thank you,
Brian
We are receiving many false positives with the IsBlank() function (no matter what confidence level we use) so we are now trying to use the scanner's built-in support for blank page detection. Unfortunately, we can not get that to work either. Here is our code:
Code: Select all
if (_pictureImaging.TwainGetState() == TwainStatus.TWAIN_SOURCE_OPEN && _pictureImaging.TwainIsAutomaticDiscardBlankPagesAvailable() && !_pictureImaging.TwainIsAutomaticDiscardBlankPagesEnabled())
_pictureImaging.TwainSetAutomaticDiscardBlankPages(true);
Any ideas/help would be appreciated!
Thank you,
Brian