Page 1 of 1

Blank Page Detection

Posted: Mon Dec 14, 2015 8:24 pm
by bkbro

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())
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,

Re: Blank Page Detection

Posted: Mon Feb 08, 2016 11:11 am
by Cedric

If TwainIsAutomaticDiscardBlankPagesAvailable returns false it means that the device driver's either does not this feature or it is not implemented.
Because it works with the manufacturer's software it could indicate that it is not a real TWAIN capability but a proprietary implementation of it that is outside the TWAIN standard.

Unfortunately there is not much more we can say about this as we do not have this particular device for us to test and experiment with.

I hope this helps.